Skip to content

Commit 8d0f1ee

Browse files
committed
change browser
1 parent 61d0456 commit 8d0f1ee

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/browser_test.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,25 @@ jobs:
5959
# sudo apt-get update
6060
# sudo apt-get install google-chrome-beta
6161

62-
- name: Cypress run
62+
- name: Cypress run chrome or firefox
63+
if: ${{ matrix.browser == 'chrome-for-testing' || startsWith(matrix.browser, 'firefox') }}
64+
uses: cypress-io/github-action@v6
65+
with:
66+
quiet: true
67+
working-directory: ./test
68+
spec: cypress/e2e/test-spec/quick-test_*
69+
browser: ${{ matrix.browser }}
70+
71+
env:
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73+
PROJECT_TOKEN: ${{ secrets.DEV_EXAMPLE_7 }}
74+
TEST_RUN_NAME: ${{ steps.set-test-run-name.outputs.TEST_RUN_NAME }}
75+
SBVT_SCM_BRANCH: ${{ github.head_ref || github.ref_name }}
76+
SBVT_SCM_COMMIT_ID: ${{ github.sha }}
77+
DEBUG: TRUE
78+
79+
- name: Cypress run edge
80+
if: ${{ startsWith(matrix.browser, 'edge') }}
6381
uses: cypress-io/github-action@v6
6482
with:
6583
quiet: true

0 commit comments

Comments
 (0)