1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-15 01:19:13 +00:00

Version 1.29.0

This commit is contained in:
Girish Ramakrishnan
2023-07-17 10:06:18 +05:30
parent 7eca682cec
commit f668f4f3ab
3 changed files with 16 additions and 6 deletions

View File

@@ -167,11 +167,11 @@ describe('Application life cycle test', function () {
async function sendMail() {
await browser.get(`https://${app.fqdn}/admin/config`);
var button = await browser.findElement(By.xpath('//button[@id="test-mail-btn"]'));
var button = await browser.findElement(By.xpath('//button[contains(text(), "Send")]'));
await browser.executeScript('arguments[0].scrollIntoView(true)', button);
await browser.findElement(By.xpath('//input[@name="email"]')).sendKeys('test@cloudron.io');
await browser.findElement(By.xpath('//button[@id="test-mail-btn"]')).click();
await browser.wait(until.elementLocated(By.xpath('//p[contains(text(),"A testing email has been sent to \'test@cloudron.io\'")]')), TIMEOUT);
await browser.findElement(By.xpath('//button[contains(text(), "Send")]')).click();
await browser.wait(until.elementLocated(By.xpath('//p[contains(text(), "A testing email has been sent")]')), TIMEOUT);
}
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });