Commit 429a5013 authored by Johannes Zellner's avatar Johannes Zellner

Wait for dialog closing

parent bd5cb805
......@@ -96,6 +96,7 @@ describe('Application life cycle test', function () {
.then(() => browser.findElement(by.xpath('/html/body/div[2]/div/div[2]/div/div[1]/input')).sendKeys(name))
.then(() => browser.findElement(by.xpath('/html/body/div[2]/div/div[3]/button[2]')).click())
.then(() => console.log('Device created'))
.then(() => browser.sleep(2000));
}
function checkDeviceExists (name) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment