From 733b92bd3006c7ea12ec293ff9bd548584e05cf6 Mon Sep 17 00:00:00 2001 From: Johann BICH <2253470+kalote@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:23:18 +0100 Subject: [PATCH 1/3] fix: sharding playwright tests (#1564) --- .github/workflows/playwright.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 677e36fb7..7748b14aa 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -8,8 +8,13 @@ permissions: contents: write jobs: test: + name: Test (${{ matrix.shard }} / ${{ strategy.job-total}}) + continue-on-error: true timeout-minutes: 10 runs-on: ubuntu-latest + strategy: + matrix: + shard: [ 1, 2, 3, 4 ] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -20,14 +25,15 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps chromium - name: Run Playwright tests - run: yarn playwright test - - uses: actions/upload-artifact@v4 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 + env: + PLAYWRIGHT_JSON_OUTPUT_NAME: report-${{ matrix.shard }}.json + run: | + yarn playwright test \ + --shard ${{ matrix.shard }}/${{ strategy.job-total }} \ + --reporter=json - uses: daun/playwright-report-summary@v3 if: always() with: - report-file: test-results.json + report-file: report-${{ matrix.shard }}.json + report-tag: ${{ matrix.shard }} + comment-title: 'Test results (${{ matrix.shard }}/${{ strategy.job-total }})' From 332fcb9e55c51ca08f10a3a656e6d3084caa303a Mon Sep 17 00:00:00 2001 From: Tche <45823872+tcheee@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:55:45 +0100 Subject: [PATCH 2/3] chore: reduce tmp quotes requests (#1570) --- src/components/Widgets/Widget.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Widgets/Widget.tsx b/src/components/Widgets/Widget.tsx index 4903d8a82..46834052d 100644 --- a/src/components/Widgets/Widget.tsx +++ b/src/components/Widgets/Widget.tsx @@ -149,9 +149,11 @@ export function Widget({ }, bridges: { allow: configTheme?.allowedBridges, + deny: ['allbridge', 'hop', 'celerim', 'squid'], }, exchanges: { allow: configTheme?.allowedExchanges, + deny: ['bepop', 'paraswap', '0x'], }, languages: { default: i18n.language as LanguageKey, From 44a7a99cfa59f3031700df0aba08b224853f1380 Mon Sep 17 00:00:00 2001 From: Tche <45823872+tcheee@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:17:35 +0100 Subject: [PATCH 3/3] chore: fix bebop typo (#1572) --- src/components/Widgets/Widget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/Widget.tsx b/src/components/Widgets/Widget.tsx index 46834052d..027fc2484 100644 --- a/src/components/Widgets/Widget.tsx +++ b/src/components/Widgets/Widget.tsx @@ -153,7 +153,7 @@ export function Widget({ }, exchanges: { allow: configTheme?.allowedExchanges, - deny: ['bepop', 'paraswap', '0x'], + deny: ['bebop', 'paraswap', '0x'], }, languages: { default: i18n.language as LanguageKey,