Merge pull request #18616 from antonbsa/avoid-webcam-test
test: Skip webcam test to run on CI
This commit is contained in:
commit
f7feced4f9
@ -5,8 +5,8 @@
|
|||||||
"test:filter": "npx playwright test -g",
|
"test:filter": "npx playwright test -g",
|
||||||
"test:headed": "npx playwright test --headed",
|
"test:headed": "npx playwright test --headed",
|
||||||
"test:debug": "npx playwright test --debug -g",
|
"test:debug": "npx playwright test --debug -g",
|
||||||
"test-chromium-ci": "export CI='true' && npx playwright test --project=chromium --grep @ci",
|
"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",
|
"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"
|
"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": {
|
"dependencies": {
|
||||||
|
@ -49,7 +49,7 @@ test.describe.parallel('Webcam @ci', () => {
|
|||||||
await webcam.applyBackground();
|
await webcam.applyBackground();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Managing new background', async ({ browser, page }) => {
|
test('Managing new background @flaky', async ({ browser, page }) => {
|
||||||
const webcam = new Webcam(browser, page);
|
const webcam = new Webcam(browser, page);
|
||||||
await webcam.init(true, true);
|
await webcam.init(true, true);
|
||||||
await webcam.managingNewBackground();
|
await webcam.managingNewBackground();
|
||||||
|
Loading…
Reference in New Issue
Block a user