Fixup tests
This commit is contained in:
parent
67a138be41
commit
73027148c6
|
@ -87,7 +87,7 @@ describe('Application life cycle test', function () {
|
||||||
|
|
||||||
await browser.findElement(By.id('user_name')).sendKeys(username);
|
await browser.findElement(By.id('user_name')).sendKeys(username);
|
||||||
await browser.findElement(By.id('password')).sendKeys(password);
|
await browser.findElement(By.id('password')).sendKeys(password);
|
||||||
await browser.findElement(By.tagName('form')).submit();
|
await browser.findElement(By.xpath('//form[@action="/user/login"]//button')).click();
|
||||||
await browser.wait(until.elementLocated(By.linkText('Dashboard')), TIMEOUT);
|
await browser.wait(until.elementLocated(By.linkText('Dashboard')), TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue