mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
update config e2e tests to fix syntax and linting issues
This commit is contained in:
parent
6c87b88e2c
commit
6ce1b50751
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user