mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
@@ -19,7 +19,7 @@ import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
@@ -34,7 +34,7 @@ import { browser } from 'protractor';
|
||||
|
||||
describe('Search Checklist Component', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchFiltersPage = new SearchFiltersPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchResults = new SearchResultsPage();
|
||||
@@ -83,7 +83,7 @@ describe('Search Checklist Component', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await navigationBarPage.clickContentServicesButton();
|
||||
await BrowserActions.getUrl(`${browser.params.testConfig.adf.url}/search;q=${randomName}`);
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=${randomName}`);
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { DataTableComponentPage, DatePickerCalendarPage, DateUtil, LocalStorageUtil, LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { DataTableComponentPage, DatePickerCalendarPage, DateUtil, LocalStorageUtil, LoginPage } from '@alfresco/adf-testing';
|
||||
import { browser, ElementFinder } from 'protractor';
|
||||
import { SearchDialogPage } from '../../pages/adf/dialog/search-dialog.page';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigation-bar.page';
|
||||
@@ -25,7 +25,7 @@ import { SearchConfiguration } from '../search.config';
|
||||
|
||||
describe('Search Date Range Filter', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchFilters = new SearchFiltersPage();
|
||||
const dateRangeFilter = searchFilters.createdDateRangeFilterPage();
|
||||
|
@@ -20,7 +20,7 @@ import {
|
||||
DataTableComponentPage,
|
||||
DateUtil,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
@@ -35,7 +35,7 @@ import { SearchConfiguration } from '../search.config';
|
||||
|
||||
describe('Search Number Range Filter', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchFilters = new SearchFiltersPage();
|
||||
const sizeRangeFilter = searchFilters.sizeRangeFilterPage();
|
||||
|
@@ -19,7 +19,7 @@ import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
StringUtil,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
@@ -34,7 +34,7 @@ import { browser } from 'protractor';
|
||||
|
||||
describe('Search Radio Component', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchFiltersPage = new SearchFiltersPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
@@ -81,7 +81,7 @@ describe('Search Radio Component', () => {
|
||||
|
||||
await loginPage.login(acsUser.email, acsUser.password);
|
||||
|
||||
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/search;q=' + randomName);
|
||||
await BrowserActions.getUrl(browser.baseUrl + '/search;q=' + randomName);
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
@@ -19,7 +19,7 @@ import {
|
||||
ApiService,
|
||||
DataTableComponentPage,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
UsersActions
|
||||
@@ -34,7 +34,7 @@ import { SearchConfiguration } from '../search.config';
|
||||
|
||||
describe('Search Slider Filter', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchFilters = new SearchFiltersPage();
|
||||
const sizeSliderFilter = searchFilters.sizeSliderFilterPage();
|
||||
|
@@ -18,7 +18,7 @@
|
||||
import {
|
||||
ApiService,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
SearchSortingPickerPage,
|
||||
UploadActions,
|
||||
UserModel,
|
||||
@@ -34,7 +34,7 @@ import { SearchConfiguration } from '../search.config';
|
||||
|
||||
describe('Search Sorting Picker', () => {
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchFilters = new SearchFiltersPage();
|
||||
const searchResults = new SearchResultsPage();
|
||||
|
@@ -23,7 +23,7 @@ import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LocalStorageUtil,
|
||||
LoginSSOPage,
|
||||
LoginPage,
|
||||
UserModel,
|
||||
UsersActions
|
||||
} from '@alfresco/adf-testing';
|
||||
@@ -39,7 +39,7 @@ describe('Search component - Text widget', () => {
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const searchFiltersPage = new SearchFiltersPage();
|
||||
|
||||
const loginPage = new LoginSSOPage();
|
||||
const loginPage = new LoginPage();
|
||||
const searchDialog = new SearchDialogPage();
|
||||
const searchResultPage = new SearchResultsPage();
|
||||
|
||||
@@ -75,7 +75,7 @@ describe('Search component - Text widget', () => {
|
||||
});
|
||||
|
||||
it('[C289329] Placeholder should be displayed in the widget when the input string is empty', async () => {
|
||||
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/search;q=*');
|
||||
await BrowserActions.getUrl(browser.baseUrl + '/search;q=*');
|
||||
await searchResultPage.tableIsLoaded();
|
||||
|
||||
await searchFiltersPage.checkNameFilterIsDisplayed();
|
||||
@@ -90,7 +90,7 @@ describe('Search component - Text widget', () => {
|
||||
});
|
||||
|
||||
it('[C289330] Should be able to change the Field setting', async () => {
|
||||
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/search;q=*');
|
||||
await BrowserActions.getUrl(browser.baseUrl + '/search;q=*');
|
||||
await searchResultPage.tableIsLoaded();
|
||||
|
||||
await searchFiltersPage.checkCheckListFilterIsDisplayed();
|
||||
|
Reference in New Issue
Block a user