Fixup tests

This commit is contained in:
Johannes Zellner 2021-10-22 08:27:40 +02:00
parent 67a138be41
commit 73027148c6

View file

@ -87,7 +87,7 @@ describe('Application life cycle test', function () {
await browser.findElement(By.id('user_name')).sendKeys(username);
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);
}