mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Automate ADF-3497 - Facet intervals on search filter (#4379)
This commit is contained in:
parent
f8d183b606
commit
cc1accff28
@ -246,4 +246,34 @@ export class SearchFiltersPage {
|
||||
this.searchCategoriesPage.checkFilterIsCollapsed(this.sizeSliderFilter);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkFacetIntervalsByCreatedIsExpanded() {
|
||||
this.searchCategoriesPage.checkFilterIsExpanded(this.facetIntervalsByCreated);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkFacetIntervalsByCreatedIsCollapsed() {
|
||||
this.searchCategoriesPage.checkFilterIsCollapsed(this.facetIntervalsByCreated);
|
||||
return this;
|
||||
}
|
||||
|
||||
clickFacetIntervalsByCreatedFilterHeader() {
|
||||
this.searchCategoriesPage.clickFilterHeader(this.facetIntervalsByCreated);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkFacetIntervalsByModifiedIsExpanded() {
|
||||
this.searchCategoriesPage.checkFilterIsExpanded(this.facetIntervalsByModified);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkFacetIntervalsByModifiedIsCollapsed() {
|
||||
this.searchCategoriesPage.checkFilterIsCollapsed(this.facetIntervalsByModified);
|
||||
return this;
|
||||
}
|
||||
|
||||
clickFacetIntervalsByModifiedFilterHeader() {
|
||||
this.searchCategoriesPage.clickFilterHeader(this.facetIntervalsByModified);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
@ -212,7 +212,17 @@ describe('Search Filters', () => {
|
||||
browser.get(TestConfig.adf.url + '/search;q=*');
|
||||
|
||||
searchFiltersPage.checkFacetIntervalsByCreatedIsDisplayed()
|
||||
.checkFacetIntervalsByModifiedIsDisplayed();
|
||||
.checkFacetIntervalsByCreatedIsExpanded()
|
||||
.clickFacetIntervalsByCreatedFilterHeader()
|
||||
.checkFacetIntervalsByCreatedIsCollapsed()
|
||||
.clickFacetIntervalsByCreatedFilterHeader()
|
||||
.checkFacetIntervalsByCreatedIsExpanded()
|
||||
.checkFacetIntervalsByModifiedIsDisplayed()
|
||||
.checkFacetIntervalsByModifiedIsExpanded()
|
||||
.clickFacetIntervalsByModifiedFilterHeader()
|
||||
.checkFacetIntervalsByModifiedIsCollapsed()
|
||||
.clickFacetIntervalsByModifiedFilterHeader()
|
||||
.checkFacetIntervalsByModifiedIsExpanded();
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user