bigbluebutton-Github/bigbluebutton-tests/playwright/package.json
Anton Georgiev 22419c40b8
Merge pull request #18169 from antonbsa/modal-prop-and-depend-updt
test: Fix data-test prop in modals and update dependencies
2023-06-15 20:57:38 -04:00

23 lines
1.1 KiB
JSON

{
"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",
"test:debug": "npx playwright test --debug -g",
"test-chromium-ci": "export CI='true' && npx playwright test --project=chromium --grep @ci",
"test-firefox-ci": "export CI='true' && npx playwright test --project=firefox --grep @ci",
"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"
},
"dependencies": {
"@playwright/test": "^1.35.0",
"axios": "^1.4.0",
"chalk": "^4.1.2",
"deep-equal": "^2.2.1",
"dotenv": "^16.1.4",
"playwright": "^1.35.0",
"sha1": "^1.1.1",
"xml2js": "^0.6.0"
}
}