Fix add button display property and add tooltips

* Add tooltips to list add buttons of instance groups, instances, and applications.
This commit is contained in:
Marliana Lara
2018-05-02 15:55:23 -04:00
parent 7007e46b8a
commit 2140daf11e
10 changed files with 31 additions and 4 deletions

View File

@@ -121,9 +121,9 @@ module.exports = {
return this.navigate();
},
selectAdd (name) {
this.api.waitForElementVisible('button[id="button-add"]');
this.expect.element('button[id="button-add"]').enabled;
this.api.click('button[id="button-add"]');
this.api.waitForElementVisible('#button-add');
this.expect.element('#button-add').enabled;
this.api.click('#button-add');
this.api.useXpath();
this.api.waitForElementVisible(`.//a[normalize-space(text())="${name}"]`);