mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
diff
This commit is contained in:
parent
b1fe9c1ef3
commit
83f08a6bc3
1 changed files with 4 additions and 1 deletions
5
.github/workflows/collaboration.yml
vendored
5
.github/workflows/collaboration.yml
vendored
|
@ -34,13 +34,16 @@ jobs:
|
|||
- name: Run Etherpad & Tests
|
||||
run: |
|
||||
node src/node/server.js &
|
||||
# check for initial connectivity
|
||||
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
|
||||
cd src/tests/frontend
|
||||
# build first
|
||||
xvfb-run -a cypress run --spec cypress/integration/test.js --config-file cypress/cypress.json --config videosFolder=cypress/videos/build
|
||||
# run collaboration tests
|
||||
xvfb-run -a cypress run --spec cypress/integration/collaborate.js --config-file cypress/cypress.json --config videosFolder=cypress/videos/browser1 &
|
||||
xvfb-run -a cypress run --spec cypress/integration/collaborate.js --config-file cypress/cypress.json --config videosFolder=cypress/videos/browser2 &
|
||||
xvfb-run -a cypress run --spec cypress/integration/collaborate.js --config-file cypress/cypress.json --config videosFolder=cypress/videos/browser3 &
|
||||
xvfb-run -a cypress run --spec cypress/integration/collaborate.js --config-file cypress/cypress.json --config videosFolder=cypress/videos/browser4
|
||||
# We still to do a curl check above just to ensure Etherpad is responding before cypress starts
|
||||
|
||||
- name: Sleep for 30 seconds for videos to encode
|
||||
uses: whatnick/wait-action@master
|
||||
|
|
Loading…
Reference in a new issue