mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-21 15:41:01 +00:00
Fix test
This commit is contained in:
parent
662cfae820
commit
f19465b3d6
1 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,8 @@ describe('Application life cycle test', function () {
|
|||
}
|
||||
|
||||
async function createRepo() {
|
||||
await browser.get(`https://${app.fqdn}/repo/create`);
|
||||
await browser.wait(until.elementLocated(By.id('repo_name')));
|
||||
await browser.findElement(By.id('repo_name')).sendKeys(reponame);
|
||||
var button = browser.findElement(By.xpath('//button[contains(text(), "Create Repository")]'));
|
||||
await browser.executeScript('arguments[0].scrollIntoView(true)', button);
|
||||
|
|
Loading…
Reference in a new issue