removing flaky flags

This commit is contained in:
Gabriel Porfirio 2023-11-10 13:35:47 -03:00
parent 92df679e2c
commit 1724f9fce2
6 changed files with 384 additions and 4 deletions

View File

@ -1,3 +1,5 @@
const path = require('path');
const chromiumConfig = { const chromiumConfig = {
name: 'Chromium', name: 'Chromium',
use: { use: {
@ -9,6 +11,7 @@ const chromiumConfig = {
'--use-fake-ui-for-media-stream', '--use-fake-ui-for-media-stream',
'--use-fake-device-for-media-stream', '--use-fake-device-for-media-stream',
'--allow-file-access-from-files', '--allow-file-access-from-files',
`--use-file-for-fake-video-capture=${path.join(__dirname, 'media/video.y4m')}`,
], ],
}, },
}, },

File diff suppressed because one or more lines are too long

View File

@ -42,10 +42,10 @@ test.describe.parallel('Webcam', () => {
await webcam.webcamFullscreen(); await webcam.webcamFullscreen();
}); });
test.describe('Webcam background', () => { test.describe('Webcam background @ci', () => {
/* this test has the flaky tag because it is breaking due to a default video from chrome that /* this test has the flaky tag because it is breaking due to a default video from chrome that
is overlapping the virtual background. */ is overlapping the virtual background. */
test('Select one of the default backgrounds @ci @flaky', async ({ browser, page }) => { test('Select one of the default backgrounds', 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.applyBackground(); await webcam.applyBackground();
@ -53,13 +53,13 @@ test.describe.parallel('Webcam', () => {
// following test is throwing failures due to mis-comparison screenshot // following test is throwing failures due to mis-comparison screenshot
// as the emulated video is not static, we may add a mask in the middle part - where it moves the most // as the emulated video is not static, we may add a mask in the middle part - where it moves the most
test('Managing new background @flaky', async ({ browser, page }) => { test('Managing new background', 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();
}); });
test('Keep background when rejoin @ci', async ({ browser, context, page }) => { test('Keep background when rejoin', async ({ browser, context, 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.keepBackgroundWhenRejoin(context); await webcam.keepBackgroundWhenRejoin(context);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 22 KiB