From b41ba7636516a423337a5fb41637a1b7b703a98d Mon Sep 17 00:00:00 2001 From: Anton B Date: Wed, 29 Mar 2023 13:56:53 -0300 Subject: [PATCH] test: fix webcam test name --- bigbluebutton-tests/playwright/webcam/webcam.js | 2 +- bigbluebutton-tests/playwright/webcam/webcam.spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bigbluebutton-tests/playwright/webcam/webcam.js b/bigbluebutton-tests/playwright/webcam/webcam.js index 3f92b2a9b2..00606e3405 100644 --- a/bigbluebutton-tests/playwright/webcam/webcam.js +++ b/bigbluebutton-tests/playwright/webcam/webcam.js @@ -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); diff --git a/bigbluebutton-tests/playwright/webcam/webcam.spec.js b/bigbluebutton-tests/playwright/webcam/webcam.spec.js index b0892c9a27..905ba08923 100644 --- a/bigbluebutton-tests/playwright/webcam/webcam.spec.js +++ b/bigbluebutton-tests/playwright/webcam/webcam.spec.js @@ -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); }); }); });