try chromium instead of branded browser
This commit is contained in:
8
.github/workflows/playwright.yml
vendored
8
.github/workflows/playwright.yml
vendored
@ -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"
|
||||
|
||||
@ -48,6 +48,10 @@ export default defineConfig({
|
||||
name: 'webkit',
|
||||
use: { ...devices['Desktop Safari'] },
|
||||
},
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Safari'] },
|
||||
},
|
||||
],
|
||||
|
||||
webServer: {
|
||||
|
||||
Reference in New Issue
Block a user