1
0
mirror of https://git.cloudron.io/cloudron/freshrss-app synced 2025-09-02 13:25:15 +00:00

tests fixed

This commit is contained in:
Vladimir D
2025-02-25 14:25:59 +04:00
parent ca2eecb0fb
commit 0d31e89741

View File

@@ -116,7 +116,7 @@ describe('Application life cycle test', function () {
await waitForElement(By.xpath('//input[@name="url_rss"]'));
await browser.findElement(By.xpath('//input[@name="url_rss"]')).sendKeys(url);
await browser.findElement(By.xpath('//form[@id="add_rss"]//button[text()="Add"]')).click();
await waitForElement(By.xpath('//div[@id="notification" and @class="notification good"]'));
await waitForElement(By.xpath('//div[@id="notification" and contains(@class, "good")]'));
}
async function addUser(username, password) {
@@ -125,7 +125,7 @@ describe('Application life cycle test', function () {
await browser.findElement(By.id('new_user_name')).sendKeys(username);
await browser.findElement(By.id('new_user_passwordPlain')).sendKeys(password);
await browser.findElement(By.xpath('//button[text()="Create"]')).click();
await waitForElement(By.xpath('//div[@id="notification" and @class="notification good"]'));
await waitForElement(By.xpath('//div[@id="notification" and contains(@class, "good")]'));
}
async function enableApi() {