mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
@@ -25,7 +25,7 @@ import {
|
||||
BrowserActions,
|
||||
DocumentListPage,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
PaginationPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
@@ -37,7 +37,7 @@ import { SearchConfiguration } from './search.config';
|
||||
|
||||
describe('Search Filters', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchFiltersPage = new SearchFiltersPage();
|
||||
const paginationPage = new PaginationPage();
|
||||
@@ -134,7 +134,7 @@ describe('Search Filters', () => {
|
||||
});
|
||||
|
||||
it('[C277146] Should Show more/less buttons be hidden when inactive', async () => {
|
||||
await BrowserActions.getUrl(`${browser.params.testConfig.adf.url}/search;q=*`);
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=*`);
|
||||
|
||||
const searchCheckListPage = searchFiltersPage.creatorCheckListFiltersPage();
|
||||
|
||||
@@ -146,7 +146,7 @@ describe('Search Filters', () => {
|
||||
});
|
||||
|
||||
it('[C286556] Search categories should preserve their collapsed/expanded state after the search', async () => {
|
||||
await BrowserActions.getUrl(`${browser.params.testConfig.adf.url}/search;q=*`);
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=*`);
|
||||
|
||||
await searchFiltersPage.clickFileTypeListFilter();
|
||||
await searchFiltersPage.checkFileTypeFilterIsCollapsed();
|
||||
@@ -160,7 +160,7 @@ describe('Search Filters', () => {
|
||||
});
|
||||
|
||||
it('[C287796] Should be able to display the correct bucket number after selecting a filter', async () => {
|
||||
await BrowserActions.getUrl(`${browser.params.testConfig.adf.url}/search;q=*`);
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=*`);
|
||||
|
||||
await searchFiltersPage.fileTypeCheckListFiltersPage().clickCheckListOption('PNG Image');
|
||||
|
||||
@@ -191,7 +191,7 @@ describe('Search Filters', () => {
|
||||
});
|
||||
|
||||
it('[C291980] Should group search facets under specified labels', async () => {
|
||||
await BrowserActions.getUrl(`${browser.params.testConfig.adf.url}/search;q=*`);
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=*`);
|
||||
|
||||
await searchFiltersPage.checkDefaultFacetQueryGroupIsDisplayed();
|
||||
await searchFiltersPage.checkTypeFacetQueryGroupIsDisplayed();
|
||||
@@ -214,7 +214,7 @@ describe('Search Filters', () => {
|
||||
});
|
||||
|
||||
it('[C297509] Should display search intervals under specified labels from config', async () => {
|
||||
await BrowserActions.getUrl(`${browser.params.testConfig.adf.url}/search;q=*`);
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=*`);
|
||||
|
||||
await searchFiltersPage.checkFacetIntervalsByCreatedIsDisplayed();
|
||||
await searchFiltersPage.checkFacetIntervalsByCreatedIsExpanded();
|
||||
|
Reference in New Issue
Block a user