fix redirection for multiple 401 in a row (#690)

* fix redirection for multiple 401 in a row

* update to ADF 2.6.0

* update e2e test
This commit is contained in:
Denys Vuika
2018-10-05 09:52:07 +01:00
committed by GitHub
parent b959f8795d
commit ac99f5397d
4 changed files with 22 additions and 24 deletions

View File

@@ -33,12 +33,12 @@ export class ShareDialog extends Component {
title: '.mat-dialog-title',
content: '.mat-dialog-content',
button: '.mat-button'
button: `[data-automation-id='adf-share-dialog-close']`
};
title: ElementFinder = this.component.element(by.css(ShareDialog.selectors.title));
content: ElementFinder = this.component.element(by.css(ShareDialog.selectors.content));
closeButton: ElementFinder = this.component.element(by.cssContainingText(ShareDialog.selectors.button, 'CLOSE'));
closeButton: ElementFinder = this.component.element(by.css(ShareDialog.selectors.button));
constructor(ancestor?: ElementFinder) {
super(ShareDialog.selectors.root, ancestor);