From 678de319e01c28ca722ae780a31dd4968c3f143a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20H=C3=A1jek?= Date: Fri, 31 Jan 2025 14:10:51 +0100 Subject: [PATCH] feat(ci): Run only tests tagged for web in the web PW pipeline to put less test results in currents (#16740) --- .github/workflows/test-suite-web-e2e-pw.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-suite-web-e2e-pw.yml b/.github/workflows/test-suite-web-e2e-pw.yml index 0f580b2bac1..982f9167645 100644 --- a/.github/workflows/test-suite-web-e2e-pw.yml +++ b/.github/workflows/test-suite-web-e2e-pw.yml @@ -104,8 +104,8 @@ jobs: include: - TEST_GROUP: "@group=suite" CONTAINERS: "trezor-user-env-unix" - - TEST_GROUP: "@group=device-management" - CONTAINERS: "trezor-user-env-unix" + # - TEST_GROUP: "@group=device-management" # Disabled because there are no webOnly tests in this group + # CONTAINERS: "trezor-user-env-unix" - TEST_GROUP: "@group=settings" CONTAINERS: "trezor-user-env-unix" - TEST_GROUP: "@group=metadata" @@ -114,8 +114,8 @@ jobs: # CONTAINERS: "trezor-user-env-unix" - TEST_GROUP: "@group=other" CONTAINERS: "trezor-user-env-unix" - - TEST_GROUP: "@group=wallet" - CONTAINERS: "trezor-user-env-unix bitcoin-regtest" + # - TEST_GROUP: "@group=wallet" # Disabled because there are no webOnly tests in this group + # CONTAINERS: "trezor-user-env-unix bitcoin-regtest" steps: - name: Checkout @@ -156,7 +156,7 @@ jobs: run: | docker compose up -d ${{ matrix.CONTAINERS }} echo "Starting Playwright Web test group ${{ matrix.TEST_GROUP }}" - yarn workspace @trezor/suite-desktop-core test:e2e:web --forbid-only --grep=${{ matrix.TEST_GROUP }} + yarn workspace @trezor/suite-desktop-core test:e2e:web --forbid-only --grep="(?=.*${{ matrix.TEST_GROUP }})(?=.*@webOnly)" - name: Extract Trezor-user-env and Regtest logs if: ${{ ! cancelled() }}