Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: CI playwright #25168

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ jobs:
run: yarn testunit

- name: Install Playwright
run: npx playwright install --with-deps
run: |
cd ./apps/meteor
npx playwright install --with-deps

- name: E2E Test API
env:
Expand All @@ -262,7 +264,7 @@ jobs:

- name: E2E Test UI
env:
TEST_MODE: 'true'
TEST_MODE: "true"
MONGO_URL: mongodb://localhost:27017/rocketchat
MONGO_OPLOG_URL: mongodb://localhost:27017/local
run: |
Expand Down Expand Up @@ -402,11 +404,13 @@ jobs:
for i in $(seq 1 2); do (docker exec mongo mongo rocketchat --eval 'db.dropDatabase()') && npm run testci -- --enterprise --test=testui && s=0 && break || s=$? && ([ ! -w tests/cypress/screenshots ] || mv tests/cypress/screenshots tests/cypress/screenshots-$i) && ([ ! -w tests/cypress/videos ] || mv tests/cypress/videos tests/cypress/videos-$i) && sleep 1; done; (exit $s)

- name: Install Playwright
run: npx playwright install --with-deps
run: |
cd ./apps/meteor/
npx playwright install --with-deps

- name: E2E Test UI
env:
TEST_MODE: 'true'
TEST_MODE: "true"
MONGO_URL: mongodb://localhost:27017/rocketchat
MONGO_OPLOG_URL: mongodb://localhost:27017/local
ENTERPRISE_LICENSE: ${{ secrets.ENTERPRISE_LICENSE }}
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.14.5",
"@playwright/test": "1.20.2",
"@playwright/test": "^1.21.0",
"@rocket.chat/eslint-config": "^0.4.0",
"@rocket.chat/livechat": "^1.12.2",
"@settlin/spacebars-loader": "^1.0.9",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2769,9 +2769,9 @@ __metadata:
languageName: node
linkType: hard

"@playwright/test@npm:1.20.2":
version: 1.20.2
resolution: "@playwright/test@npm:1.20.2"
"@playwright/test@npm:^1.21.0":
version: 1.21.0
resolution: "@playwright/test@npm:1.21.0"
dependencies:
"@babel/code-frame": 7.16.7
"@babel/core": 7.16.12
Expand Down Expand Up @@ -2802,14 +2802,14 @@ __metadata:
ms: 2.1.3
open: 8.4.0
pirates: 4.0.4
playwright-core: 1.20.2
playwright-core: 1.21.0
rimraf: 3.0.2
source-map-support: 0.4.18
stack-utils: 2.0.5
yazl: 2.5.1
bin:
playwright: cli.js
checksum: 0261ab1b4228baabc3ccd0dc894f3cf32f11b8ea8336523e179accbed84d8abb3ef0ec7bb2d5520a3d4d53994a1676b6eda8897438ac27c2c49eedac8a50961a
checksum: 76287961599fb53760960e19fc02392f61fdb137e7fa755661d2f560e4c2940c688206401ee42f2bf711eb68e71b1e03b85bb2e3181046487e3ef37f9ce33f69
languageName: node
linkType: hard

Expand Down Expand Up @@ -3318,7 +3318,7 @@ __metadata:
"@nivo/heatmap": 0.73.0
"@nivo/line": 0.62.0
"@nivo/pie": 0.73.0
"@playwright/test": 1.20.2
"@playwright/test": ^1.21.0
"@rocket.chat/apps-engine": ^1.31.0
"@rocket.chat/css-in-js": ~0.31.9
"@rocket.chat/emitter": ~0.31.9
Expand Down Expand Up @@ -19920,9 +19920,9 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.20.2":
version: 1.20.2
resolution: "playwright-core@npm:1.20.2"
"playwright-core@npm:1.21.0":
version: 1.21.0
resolution: "playwright-core@npm:1.21.0"
dependencies:
colors: 1.4.0
commander: 8.3.0
Expand All @@ -19944,7 +19944,7 @@ __metadata:
yazl: 2.5.1
bin:
playwright: cli.js
checksum: 156c2c8729f1e1a454f348a4e362bb6fff7b7fb7a5e5886828afeb9b29c2fae5dff5c3060a9d4a41f5c191aef0532a73513cfb4f2d2c357f1fe240640b28ca14
checksum: 9221b65a4a10d9df93f59ff9ac788382f6e8b25e7a68bd2f46ad9178b6d94055704f6ad9aa5885a1648dec0ff01f6611d1eced519a0a834615c6924944058fdf
languageName: node
linkType: hard

Expand Down