File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : E2E tests
2+
3+ on :
4+ push :
5+ branches :
6+ - " master"
7+ - " release-**"
8+ pull_request :
9+ types : [opened, synchronize, reopened, ready_for_review]
10+ branches :
11+ - " master"
12+ - " release-**"
13+
14+ e2e-tests :
15+ runs-on : ubuntu-22.04
16+ timeout-minutes : 10
17+ name : e2e-tests
18+ env :
19+ PREMIUM_EMBEDDING_TOKEN : ${{ secrets.ENTERPRISE_TOKEN }}
20+
21+ steps :
22+ - uses : actions/checkout@v4
23+
24+ - name : Run Sample App in Docker
25+ run : |
26+ yarn docker:up -d &&
27+ while ! nc -z localhost 4400; do sleep 1; done
28+
29+ - name : Install Chrome v111
30+ uses : browser-actions/setup-chrome@v1
31+ with :
32+ # https://chromium.cypress.io/linux/stable/111.0.5563.146
33+ chrome-version : 1097615
34+ id : setup-chrome
35+
36+ - name : Ensure that Cypress executable is ready
37+ run : cd e2e && npm ci
38+
39+ - name : Run e2e tests
40+ id : run-e2e-tests
41+ run : yarn cypress:run
42+
43+ - name : Upload Cypress Artifacts upon failure
44+ uses : actions/upload-artifact@v4
45+ if : ${{ steps.run-e2e-tests.outcome != 'success' }}
46+ with :
47+ name : cypress-recording-latest
48+ path : |
49+ ./e2e/cypress
50+ if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments