From 517f4f962ae9083428c4aab7424d1cb3cf71f5d4 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Sun, 21 Apr 2024 10:39:45 +0200 Subject: [PATCH] test(e2e): don't wait for text since its case-sensitive and different per browser... --- .github/workflows/deploy.yml | 2 ++ .github/workflows/e2e.yml | 1 - e2e/utils/util.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8a96116ad..b3d50c03f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,6 +8,8 @@ on: branches: - master - staging + paths-ignore: + - 'e2e/**' concurrency: group: ${{ github.ref }} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4fcb9beb6..be16ccb76 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -12,7 +12,6 @@ on: push: branches: - staging - - autoimport jobs: e2e: diff --git a/e2e/utils/util.ts b/e2e/utils/util.ts index fa3b4af45..f59be5751 100644 --- a/e2e/utils/util.ts +++ b/e2e/utils/util.ts @@ -29,7 +29,7 @@ module.exports = new (class { I.fillField("input", totp.otp); I.click("Use totp"); I.waitInUrl("/?done"); - I.waitForText("FIND YOUR"); + I.waitForElement("input[name='query']"); } public async getJwt() {