mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-25 17:31:01 +00:00
Fixup tests
This commit is contained in:
parent
67a138be41
commit
73027148c6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue