This commit is contained in:
Girish Ramakrishnan 2024-10-09 09:28:39 +02:00
parent 662cfae820
commit f19465b3d6

View file

@ -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);