Skip to content

Commit

Permalink
feat(ci): Run only tests tagged for web in the web PW pipeline to put…
Browse files Browse the repository at this point in the history
… less test results in currents (#16740)
  • Loading branch information
HajekOndrej authored Jan 31, 2025
1 parent c148eeb commit 678de31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-suite-web-e2e-pw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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() }}
Expand Down

0 comments on commit 678de31

Please sign in to comment.