bigbluebutton-Github/bigbluebutton-tests/playwright/package.json

23 lines
1.2 KiB
JSON
Raw Normal View History

{
2021-11-18 04:07:14 +08:00
"scripts": {
"test": "npx playwright test",
"test:ssh": "set -e; fn () { target=$1; shift; secret=$(ssh $target sudo bbb-conf --secret); env=$(echo \"$secret\" | sed -e 's/^ *URL: /BBB_URL=/' -e '/^BBB_URL/s/$/api/' -e 's/^ *Secret: /BBB_SECRET=/' -e '/^BBB/p' -e d); env $env npx playwright test $@; }; fn",
"test:filter": "npx playwright test -g",
"test:headed": "npx playwright test --headed",
2022-06-08 01:52:54 +08:00
"test:debug": "npx playwright test --debug -g",
"test-chromium-ci": "export CI='true' && npx playwright test --project=chromium --grep @ci --grep-invert @flaky",
"test-firefox-ci": "export CI='true' && npx playwright test --project=firefox --grep @ci --grep-invert @flaky",
"rewrite-snapshots": "read -p 'CAUTION: You will delete ALL testing folders containing snapshots and run the tests to rewrite these files.\nProceed? (y/n) ' confirm && test $confirm = 'y' && sh core/scripts/rewrite-snapshots.sh"
2021-11-18 04:07:14 +08:00
},
2022-06-08 01:52:54 +08:00
"dependencies": {
2023-08-29 00:28:52 +08:00
"@playwright/test": "^1.37.1",
"axios": "^1.6.4",
"chalk": "^4.1.2",
2023-06-15 01:01:17 +08:00
"deep-equal": "^2.2.1",
"dotenv": "^16.1.4",
2023-08-29 00:28:52 +08:00
"playwright": "^1.37.1",
"sha.js": "^2.4.11",
2023-06-15 01:01:17 +08:00
"xml2js": "^0.6.0"
}
}