test: fix webcam test name
This commit is contained in:
parent
8ff1493d6b
commit
b41ba76365
@ -112,7 +112,7 @@ class Webcam extends Page {
|
||||
await this.wasRemoved(e.selectCustomBackground);
|
||||
}
|
||||
|
||||
async keepScreenshotWhenRejoin(context) {
|
||||
async keepBackgroundWhenRejoin(context) {
|
||||
await this.waitAndClick(e.joinVideo);
|
||||
await this.waitForSelector(e.noneBackgroundButton);
|
||||
await uploadBackgroundVideoImage(this);
|
||||
|
@ -55,10 +55,10 @@ test.describe.parallel('Webcam @ci', () => {
|
||||
await webcam.managingNewBackground();
|
||||
});
|
||||
|
||||
test('Keep screenshot when rejoin', async ({ browser, context, page }) => {
|
||||
test('Keep background when rejoin', async ({ browser, context, page }) => {
|
||||
const webcam = new Webcam(browser, page);
|
||||
await webcam.init(true, true);
|
||||
await webcam.keepScreenshotWhenRejoin(context);
|
||||
await webcam.keepBackgroundWhenRejoin(context);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user