mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +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:
@@ -34,7 +34,7 @@ describe('Search Number Range Filter', () => {
|
||||
const searchFilters = new SearchFiltersPage();
|
||||
const sizeSliderFilter = searchFilters.sizeSliderFilterPage();
|
||||
const searchResults = new SearchResultsPage();
|
||||
const navigationBar = new NavigationBarPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const dataTable = new DataTableComponentPage();
|
||||
|
||||
const acsUser = new AcsUserModel();
|
||||
@@ -47,7 +47,7 @@ describe('Search Number Range Filter', () => {
|
||||
let file2Bytes;
|
||||
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);
|
||||
|
||||
@@ -77,6 +77,9 @@ describe('Search Number Range Filter', () => {
|
||||
await uploadActions.deleteFileOrFolder(file2Bytes.entry.id);
|
||||
} catch (error) {
|
||||
}
|
||||
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
@@ -159,7 +162,7 @@ describe('Search Number Range Filter', () => {
|
||||
});
|
||||
|
||||
it('[C276983] Should be able to disable thumb label in Search Size Slider', async () => {
|
||||
navigationBar.clickContentServicesButton();
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
jsonFile.categories[2].component.settings.thumbLabel = false;
|
||||
|
||||
@@ -177,7 +180,7 @@ describe('Search Number Range Filter', () => {
|
||||
});
|
||||
|
||||
it('[C276985] Should be able to set min value for Search Size Slider', async () => {
|
||||
navigationBar.clickContentServicesButton();
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
const minSize = 3;
|
||||
jsonFile.categories[2].component.settings.min = minSize;
|
||||
@@ -198,7 +201,7 @@ describe('Search Number Range Filter', () => {
|
||||
});
|
||||
|
||||
it('[C276986] Should be able to set max value for Search Size Slider', async () => {
|
||||
navigationBar.clickContentServicesButton();
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
const maxSize = 50;
|
||||
jsonFile.categories[2].component.settings.max = maxSize;
|
||||
@@ -219,7 +222,7 @@ describe('Search Number Range Filter', () => {
|
||||
});
|
||||
|
||||
it('[C276987] Should be able to set steps for Search Size Slider', async () => {
|
||||
navigationBar.clickContentServicesButton();
|
||||
navigationBarPage.clickContentServicesButton();
|
||||
|
||||
const step = 10;
|
||||
jsonFile.categories[2].component.settings.step = step;
|
||||
|
||||
Reference in New Issue
Block a user