removing flaky flags
This commit is contained in:
parent
92df679e2c
commit
1724f9fce2
@ -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')}`,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
377
bigbluebutton-tests/playwright/core/media/video.y4m
Normal file
377
bigbluebutton-tests/playwright/core/media/video.y4m
Normal file
File diff suppressed because one or more lines are too long
@ -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 |
Loading…
Reference in New Issue
Block a user