Fix test
This commit is contained in:
parent
662cfae820
commit
f19465b3d6
|
@ -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 New Issue