[AAE-3472] e2e service task (#6460)

* [AAE-3472-adf] added e2e service task test

    fixed spell-check & re-included C311290

* added super admin as user

* spellcheck disabled for superad

* improved steps

* simplified & used API method

* disabled check spell for a line
This commit is contained in:
Alexandra Abrudan
2021-01-07 12:44:26 +02:00
committed by GitHub
parent 8d4408f2d6
commit 87f60a5b72
6 changed files with 186 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ export class NavigationBarPage {
menuButton = element(by.css('button[data-automation-id="adf-menu-icon"]'));
formButton = this.linkMenuChildrenContainer.element(by.css('.app-sidenav-link[data-automation-id="Form"]'));
peopleGroupCloudButton = this.linkMenuChildrenContainer.element(by.css('.app-sidenav-link[data-automation-id="People/Group Cloud"]'));
serviceTaskListButton = this.linkMenuChildrenContainer.element(by.css('.app-sidenav-link[data-automation-id="Service Task List"]'));
logoutSection: ElementFinder = element(by.css('div[data-automation-id="adf-logout-section"]'));
personalFiles: ElementFinder = element(by.css('div [title="Personal Files"]'));
@@ -90,6 +91,12 @@ export class NavigationBarPage {
await BrowserVisibility.waitUntilElementIsNotPresent(this.linkMenuChildrenContainer);
}
async navigateToServiceTaskListCloudPage(): Promise<void> {
await this.clickProcessCloudButton();
await BrowserActions.click(this.serviceTaskListButton);
await BrowserVisibility.waitUntilElementIsNotPresent(this.linkMenuChildrenContainer);
}
private async clickProcessServicesButton() {
await BrowserActions.closeMenuAndDialogs();
await BrowserActions.clickUntilIsNotVisible(this.getMenuItem('Process Services'), this.linkMenuChildrenContainer);