From a6ca2219c02c3f9eb6616fc0229909b0c41b9d0a Mon Sep 17 00:00:00 2001 From: Botho <1258870+elbotho@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:58:52 +0100 Subject: [PATCH] adapt tests --- e2e-tests/tests/000-general.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/tests/000-general.ts b/e2e-tests/tests/000-general.ts index 5c9be2b52d..1cf7b96251 100644 --- a/e2e-tests/tests/000-general.ts +++ b/e2e-tests/tests/000-general.ts @@ -27,7 +27,7 @@ Scenario('About Serlo', ({ I }) => { I.click('Community') // Make sure it's the right page, wait longer to reduce flakiness - I.waitForText("Was gibt\\'s zu tun?", 20) + I.waitForText("Was gibt's zu tun?", 20) }) Scenario('Main Menu', async ({ I }) => { @@ -171,7 +171,7 @@ Scenario('Donation', ({ I }) => { I.switchTo('iframe') I.waitForText('Bitte gib einen Spendenbetrag ein', 30) I.click('Jetzt spenden') - I.see('Wähle eine Zahlungsart') + I.waitForText('Wähle eine Zahlungsart', 10) I.switchTo() // back from iframe I.amOnPage('/')