mirror of
https://github.com/ansible/awx.git
synced 2026-08-07 05:11:43 -02:30
lint fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
exports.command = function findThenClick (selector) {
|
exports.command = function findThenClick (selector) {
|
||||||
this.waitForElementPresent(selector, function() {
|
this.waitForElementPresent(selector, () => {
|
||||||
this.moveToElement(selector, 0, 0, function() {
|
this.moveToElement(selector, 0, 0, () => {
|
||||||
this.click(selector);
|
this.click(selector);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ module.exports = {
|
|||||||
'verify that a sibling node can be any edge type': client => {
|
'verify that a sibling node can be any edge type': client => {
|
||||||
client
|
client
|
||||||
.useXpath()
|
.useXpath()
|
||||||
.moveToElement(childNode, 0, 0, function() {
|
.moveToElement(childNode, 0, 0, () => {
|
||||||
client.pause(500);
|
client.pause(500);
|
||||||
// Concatenating the xpaths lets us click the proper node
|
// Concatenating the xpaths lets us click the proper node
|
||||||
client.click(childNode + nodeAdd);
|
client.click(childNode + nodeAdd);
|
||||||
@@ -99,7 +99,7 @@ module.exports = {
|
|||||||
.findThenClick(edgeTypeDropdownBar)
|
.findThenClick(edgeTypeDropdownBar)
|
||||||
.findThenClick(successDropdown)
|
.findThenClick(successDropdown)
|
||||||
.click(selectButton)
|
.click(selectButton)
|
||||||
.moveToElement(newChildNode, 0, 0, function() {
|
.moveToElement(newChildNode, 0, 0, () => {
|
||||||
client.pause(500);
|
client.pause(500);
|
||||||
client.click(newChildNode + nodeAdd);
|
client.click(newChildNode + nodeAdd);
|
||||||
})
|
})
|
||||||
@@ -112,7 +112,7 @@ module.exports = {
|
|||||||
.waitForElementPresent(alwaysDropdown)
|
.waitForElementPresent(alwaysDropdown)
|
||||||
.findThenClick(alwaysDropdown)
|
.findThenClick(alwaysDropdown)
|
||||||
.click(selectButton)
|
.click(selectButton)
|
||||||
.moveToElement(newChildNode, 0, 0, function() {
|
.moveToElement(newChildNode, 0, 0, () => {
|
||||||
client.pause(500);
|
client.pause(500);
|
||||||
client.click(newChildNode + nodeRemove);
|
client.click(newChildNode + nodeRemove);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user