* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
This commit is contained in:
Eugenio Romano
2020-09-04 13:27:55 +01:00
committed by GitHub
co-authored by maurizio vitale
parent f17270621b
commit a630cfb390
132 changed files with 1109 additions and 1850 deletions
@@ -24,7 +24,7 @@ import {
UserModel,
UsersActions
} from '@alfresco/adf-testing';
import { SearchDialogPage } from '../pages/search-dialog.page';
import { SearchBarPage } from '../pages/search-bar.page';
import { SearchResultsPage } from '../pages/search-results.page';
import { NavigationBarPage } from '../../core/pages/navigation-bar.page';
import { SearchFiltersPage } from '../pages/search-filters.page';
@@ -35,7 +35,7 @@ import { SearchConfiguration } from '../search.config';
describe('Search Sorting Picker', () => {
const loginPage = new LoginPage();
const searchDialog = new SearchDialogPage();
const searchBarPage = new SearchBarPage();
const searchFilters = new SearchFiltersPage();
const searchResults = new SearchResultsPage();
const navigationBarPage = new NavigationBarPage();
@@ -83,8 +83,8 @@ describe('Search Sorting Picker', () => {
});
beforeEach(async () => {
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(search);
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(search);
});
afterEach(async () => {
@@ -111,9 +111,9 @@ describe('Search Sorting Picker', () => {
});
await LocalStorageUtil.setConfigField('search', JSON.stringify(jsonFile));
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(search);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(search);
await searchSortingPicker.checkSortingDropdownIsDisplayed();
await searchSortingPicker.clickSortingDropdown();
@@ -127,9 +127,9 @@ describe('Search Sorting Picker', () => {
const removedOption = jsonFile.sorting.options.splice(0, 1);
await LocalStorageUtil.setConfigField('search', JSON.stringify(jsonFile));
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(search);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(search);
await searchSortingPicker.checkSortingDropdownIsDisplayed();
await searchSortingPicker.clickSortingDropdown();
@@ -152,9 +152,9 @@ describe('Search Sorting Picker', () => {
await LocalStorageUtil.setConfigField('search', JSON.stringify(jsonFile));
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(search);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(search);
await searchSortingPicker.checkSortingDropdownIsDisplayed();
await searchSortingPicker.clickSortingDropdown();
@@ -203,9 +203,9 @@ describe('Search Sorting Picker', () => {
});
await LocalStorageUtil.setConfigField('search', JSON.stringify(jsonFile));
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(search);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(search);
await searchSortingPicker.checkSortingDropdownIsDisplayed();
await searchSortingPicker.sortBy('ASC', 'Modified Date');