Updating configuration/settings page

This commit is contained in:
John Hill 2018-10-15 08:10:18 -04:00 committed by John Mitchell
parent 10f21b8817
commit 6c87b88e2c
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -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"]`;