test: fix webcam test name

This commit is contained in:
Anton B 2023-03-29 13:56:53 -03:00
parent 8ff1493d6b
commit b41ba76365
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);
});
});
});