Fix E2E run (#5624)

* Fix E2E run
remove not used report
Fix USERNAME AND PAS upload PS cloud e2e screenshot

* save report

* multiple 4 cs

* change test fix screenshot and others

* exclude other test
This commit is contained in:
Eugenio Romano
2020-04-20 17:54:03 +01:00
committed by GitHub
parent bc2d7f16fd
commit f36cbd57ef
14 changed files with 69 additions and 247 deletions

View File

@@ -35,7 +35,7 @@ export class CardTextItemPage {
}
async getFieldValue(): Promise<string> {
const fieldElement = this.rootElement.element(this.field);
const fieldElement = this.rootElement.all(this.field).first();
return BrowserActions.getText(fieldElement);
}

View File

@@ -26,7 +26,7 @@ export class TaskHeaderCloudPage {
statusCardTextItem: CardTextItemPage = new CardTextItemPage('status');
priorityCardTextItem: CardTextItemPage = new CardTextItemPage('priority');
dueDateField: ElementFinder = element.all(by.css('span[data-automation-id*="dueDate"] span')).first();
categoryField: ElementFinder = element(by.css('span[data-automation-id*="category"] span'));
categoryField: ElementFinder = element.all(by.css('span[data-automation-id*="category"] span')).first();
createdField: ElementFinder = element(by.css('span[data-automation-id="card-dateitem-created"] span'));
parentNameField: ElementFinder = element(by.css('span[data-automation-id*="parentName"] span'));
parentTaskIdField: ElementFinder = element(by.css('span[data-automation-id*="parentTaskId"] span'));