diff --git a/awx/ui/test/e2e/objects/configuration.js b/awx/ui/test/e2e/objects/configuration.js index fdf45677a9..b53f3ead77 100644 --- a/awx/ui/test/e2e/objects/configuration.js +++ b/awx/ui/test/e2e/objects/configuration.js @@ -14,6 +14,17 @@ const commands = [{ return this.navigate(); }, selectSubcategory (name) { + const spinny = 'div.spinny'; + const categoryName = `//*[text() = '${name}']`; + + this.api.useXpath(); + this.api.waitForElementVisible(categoryName); + this.api.click(categoryName); + this.api.useCss(); + + return this; + }, + selectDropDownContainer (name) { const spinny = 'div.spinny'; const select = '#configure-dropdown-nav'; const arrow = `${select} + span span[class$="arrow"]`;