From 94410dc42d49229283cbe6fa58cdaf79e7f61316 Mon Sep 17 00:00:00 2001 From: Anton B Date: Tue, 22 Aug 2023 12:04:07 -0300 Subject: [PATCH] test: add flaky test flag on webcam background test --- bigbluebutton-tests/playwright/package.json | 6 +++--- bigbluebutton-tests/playwright/webcam/webcam.spec.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-tests/playwright/package.json b/bigbluebutton-tests/playwright/package.json index 8bed8495af..e14c33072f 100644 --- a/bigbluebutton-tests/playwright/package.json +++ b/bigbluebutton-tests/playwright/package.json @@ -5,8 +5,8 @@ "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", + "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" }, "dependencies": { @@ -19,4 +19,4 @@ "sha1": "^1.1.1", "xml2js": "^0.4.23" } -} +} \ No newline at end of file diff --git a/bigbluebutton-tests/playwright/webcam/webcam.spec.js b/bigbluebutton-tests/playwright/webcam/webcam.spec.js index 71c595e3ef..34f5838885 100644 --- a/bigbluebutton-tests/playwright/webcam/webcam.spec.js +++ b/bigbluebutton-tests/playwright/webcam/webcam.spec.js @@ -49,7 +49,7 @@ test.describe.parallel('Webcam @ci', () => { await webcam.applyBackground(); }); - test('Managing new background', async ({ browser, page }) => { + test('Managing new background @flaky', async ({ browser, page }) => { const webcam = new Webcam(browser, page); await webcam.init(true, true); await webcam.managingNewBackground();