mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2025-09-01 15:24:59 +00:00
Fix test
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user