* 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
parent f17270621b
commit a630cfb390
132 changed files with 1109 additions and 1850 deletions

View File

@@ -17,7 +17,7 @@
import { ApiService, LoginPage, StringUtil, UploadActions, UserModel, UsersActions } from '@alfresco/adf-testing';
import { browser } from 'protractor';
import { SearchDialogPage } from './pages/search-dialog.page';
import { SearchBarPage } from './pages/search-bar.page';
import { SearchResultsPage } from './pages/search-results.page';
import { SearchFiltersPage } from './pages/search-filters.page';
import { FileModel } from '../models/ACS/file.model';
@@ -26,7 +26,7 @@ import CONSTANTS = require('../util/constants');
describe('Search Component - Multi-Select Facet', () => {
const loginPage = new LoginPage();
const searchDialog = new SearchDialogPage();
const searchBarPage = new SearchBarPage();
const searchResultsPage = new SearchResultsPage();
const searchFiltersPage = new SearchFiltersPage();
const navigationBarPage = new NavigationBarPage();
@@ -75,9 +75,9 @@ describe('Search Component - Multi-Select Facet', () => {
await loginPage.login(acsUser.email, acsUser.password);
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(`${randomName}`);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(`${randomName}`);
userOption = `${acsUser.firstName} ${acsUser.lastName}`;
@@ -100,9 +100,9 @@ describe('Search Component - Multi-Select Facet', () => {
it('[C280054] Should be able to select multiple items from a search facet filter', async () => {
await loginPage.login(acsUser.email, acsUser.password);
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(`${randomName}`);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(`${randomName}`);
userOption = `${acsUser.firstName} ${acsUser.lastName}`;
@@ -167,9 +167,9 @@ describe('Search Component - Multi-Select Facet', () => {
await loginPage.login(userUploadingImg.email, userUploadingImg.password);
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(`*${randomName}*`);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(`*${randomName}*`);
await searchFiltersPage.checkSearchFiltersIsDisplayed();
await searchFiltersPage.creatorCheckListFiltersPage().filterBy(`${userUploadingTxt.firstName} ${userUploadingTxt.lastName}`);
@@ -214,9 +214,9 @@ describe('Search Component - Multi-Select Facet', () => {
await loginPage.login(acsUser.email, acsUser.password);
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(`*${randomName}*`);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(`*${randomName}*`);
await searchFiltersPage.checkSearchFiltersIsDisplayed();
});
@@ -229,9 +229,9 @@ describe('Search Component - Multi-Select Facet', () => {
it('[C280058] Should update filter facets items number when another filter facet item is selected', async () => {
await loginPage.login(acsUser.email, acsUser.password);
await searchDialog.checkSearchIconIsVisible();
await searchDialog.clickOnSearchIcon();
await searchDialog.enterTextAndPressEnter(`*${randomName}*`);
await searchBarPage.checkSearchIconIsVisible();
await searchBarPage.clickOnSearchIcon();
await searchBarPage.enterTextAndPressEnter(`*${randomName}*`);
await searchFiltersPage.checkSearchFiltersIsDisplayed();
await searchFiltersPage.fileTypeCheckListFiltersPage().filterBy('Plain Text');