mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
update config e2e tests to fix syntax and linting issues
This commit is contained in:
@@ -16,7 +16,7 @@ const commands = [{
|
||||
selectSubcategory (name) {
|
||||
const spinny = 'div.spinny';
|
||||
const categoryName = `//*[text() = '${name}']`;
|
||||
|
||||
|
||||
this.api.useXpath();
|
||||
this.api.waitForElementVisible(categoryName);
|
||||
this.api.click(categoryName);
|
||||
|
||||
@@ -12,7 +12,7 @@ module.exports = {
|
||||
|
||||
navigation
|
||||
.waitForElementVisible('@settings')
|
||||
.moveToElement('@settings',0,0)
|
||||
.moveToElement('@settings', 0, 0)
|
||||
.waitForElementVisible('@settingsSubPaneSystem')
|
||||
.click('@settingsSubPaneSystem');
|
||||
|
||||
@@ -20,14 +20,15 @@ module.exports = {
|
||||
|
||||
navigation
|
||||
.waitForElementVisible('@settings')
|
||||
.moveToElement('@settings',0,0)
|
||||
.moveToElement('@settings', 0, 0)
|
||||
.waitForElementVisible('@settingsSubPane')
|
||||
.waitForElementVisible('@settingsSubPaneAuth')
|
||||
.click('@settingsSubPaneAuth');
|
||||
|
||||
configuration.waitForElementVisible(authView);
|
||||
|
||||
// works as xpath const categoryName = `//*[@id="configuration_edit"]/div[1]/div/div/div[4]`;
|
||||
configuration.waitForElementVisible(authView);
|
||||
|
||||
// works as xpath const categoryName =
|
||||
// `//*[@id="configuration_edit"]/div[1]/div/div/div[4]`;
|
||||
configuration.selectSubcategory('LDAP');
|
||||
configuration.waitForElementVisible(ldapForm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user