mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 01:38:50 -03:30
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:
@@ -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}"]`);
|
||||
|
||||
Reference in New Issue
Block a user