File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 1+ name : self-hosted:playwright-end-to-end-orchestrated-tests
2+ on :
3+ workflow_dispatch :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+ jobs :
9+ basicTests :
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ shard : [1, 2, 3, 4, 5]
14+
15+ name : " Playwright Tests - pwc-p"
16+ timeout-minutes : 60
17+ runs-on : codebuild-gha-runners-${{ github.run_id }}-${{ github.run_attempt }}
18+ container : mcr.microsoft.com/playwright:v1.52.0-jammy
19+
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ ref : ${{ github.event.pull_request.head.sha }}
24+
25+ # https://github.com/actions/runner-images/issues/6775
26+ - run : |
27+ echo "$GITHUB_WORKSPACE"
28+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
29+
30+ - uses : actions/setup-node@v4
31+ with :
32+ node-version : " 22.x"
33+
34+ - name : Install dependencies
35+ run : |
36+ npm ci
37+ npx playwright install chrome
38+
39+ - name : Run Orchestrated tests
40+ continue-on-error : false
41+ env :
42+ CURRENTS_PROJECT_ID : ldcYCp
43+ CURRENTS_RECORD_KEY : ${{ secrets.CURRENTS_RECORD_KEY }}
44+ CURRENTS_CI_BUILD_ID : ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}
45+ COMMIT_INFO_MESSAGE : " pwc-p: ${{ github.event.head_commit.message }}"
46+
47+ # Run the sharded tests
48+ run : |
49+ npx pwc-p
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const config = defineConfig({
1717
1818 projects : [
1919 {
20- name : "chromim " ,
20+ name : "chromium " ,
2121 testDir : "./tests" ,
2222 use : {
2323 ...devices [ "Desktop Chrome" ] ,
You can’t perform that action at this time.
0 commit comments