try chromium instead of branded browser

This commit is contained in:
Ryan Rosello
2024-08-19 18:12:54 +10:00
parent 041a83e7c7
commit 5c291d2c21
2 changed files with 7 additions and 5 deletions

View File

@ -62,10 +62,8 @@ jobs:
# path: |
# ~/.cache/ms-playwright/
# key: ${{ runner.os }}-playwright-${{ hashFiles('yarn.lock') }}
# - name: Install Playwright Browsers
# shell: bash
# if: ${{ !startsWith(matrix.os, 'macos') }}
# run: yarn playwright install --with-deps
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
# - name: install chrome from the cask macos
# if: ${{ startsWith(matrix.os, 'macos') }}
# shell: bash
@ -195,7 +193,7 @@ jobs:
if: ${{ !cancelled() && (success() || failure()) }}
shell: bash
run: |
yarn playwright test --project="Google Chrome" --config=playwright.ci.config.ts --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --grep="@focus" --grep-invert="@snapshot|@electron" || true
yarn playwright test --project="chromium" --config=playwright.ci.config.ts --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --grep="@focus" --grep-invert="@snapshot|@electron" || true
# if [[ ! -f "test-results/.last-run.json" ]]; then
# # if no last run artifact, than run plawright normally
# echo "run playwright normally"

View File

@ -48,6 +48,10 @@ export default defineConfig({
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
{
name: 'chromium',
use: { ...devices['Desktop Safari'] },
},
],
webServer: {