mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix e2e test (#4981)
* fix core viewer * increase rendition retry * sso refresh before test * general fix test * try use last proxy * avoid use proxy * remove proxy * fix setting tests * fix share and sso test * fix lint exclude * fix sso * fix some process services cloud e2e * fix sso download * exclude sso test * fix cloud * add logout content service test * add logout core * add logout search * redefine global before all * separate protracotr method * try * try multiple attempt before all * add prefix group and users * add prefix group and users * add prefix group and users * rexecute sso test * fix process service visibility e2e * split SSO login test * fix SSO download * fix SSO download * fix some cloud issues * fix some cloud issues * fix some cloud issues * share file fix cs * fix cloud test
This commit is contained in:
@@ -42,6 +42,7 @@ describe('Search component - Search Bar', () => {
|
||||
|
||||
const loginPage = new LoginPage();
|
||||
const contentServicesPage = new ContentServicesPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
|
||||
const searchDialog = new SearchDialog();
|
||||
const searchResultPage = new SearchResultsPage();
|
||||
@@ -50,7 +51,7 @@ describe('Search component - Search Bar', () => {
|
||||
const acsUser = new AcsUserModel();
|
||||
this.alfrescoJsApi = new AlfrescoApi({
|
||||
provider: 'ECM',
|
||||
hostEcm: browser.params.testConfig.adf.url
|
||||
hostEcm: browser.params.testConfig.adf_acs.host
|
||||
});
|
||||
const uploadActions = new UploadActions(this.alfrescoJsApi);
|
||||
|
||||
@@ -115,6 +116,7 @@ describe('Search component - Search Bar', () => {
|
||||
await uploadActions.deleteFileOrFolder(currentNode.entry.id);
|
||||
|
||||
});
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
|
||||
done();
|
||||
});
|
||||
@@ -277,12 +279,10 @@ describe('Search component - Search Bar', () => {
|
||||
|
||||
describe('Highlight', () => {
|
||||
|
||||
const navigationBar = new NavigationBarPage();
|
||||
|
||||
const searchConfiguration = SearchConfiguration.getConfiguration();
|
||||
|
||||
beforeAll(async () => {
|
||||
navigationBar.clickContentServicesButton();
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
await LocalStorageUtil.setConfigField('search', JSON.stringify(searchConfiguration));
|
||||
|
||||
|
Reference in New Issue
Block a user