Update smoke.js

This commit is contained in:
Jake McDermott 2018-05-03 13:43:47 -04:00 committed by GitHub
parent 21a973752b
commit 6f9da515b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,11 +136,10 @@ module.exports = {
client.expect.element('#hosts_tab').css('background-color').contain('132, 137, 146');
client.useXpath();
client.useCss();
client.waitForElementVisible(addHost);
client.expect.element(addHost).enabled;
client.click(addHost);
client.useCss();
client.waitForElementVisible('#host_name');
client.sendKeys('#host_name', 'localhost');
@ -268,9 +267,10 @@ module.exports = {
client.waitForElementNotPresent(running, 60000);
client.waitForElementVisible(success, 60000);
client.useCss();
client.useXpath();
client.waitForElementVisible(output1, 60000);
client.waitForElementVisible(output2, 60000);
client.useCss();
client.end();
}