bigbluebutton-Github/bigbluebutton-tests/playwright/core
germanocaumo cbe0b4f6ae
feat(webcams): skip video preview if valid input devices stored (#20696)
* feat(webcams): skip video preview if valid input devices stored

Additionally:

- refactor: re-use the existing VirtualBackground_* storage info instead
  of creating a new one
- fix: store background choices per deviceId instead of globally
- fix: guarantee background restore attempts are *critical* when
  video-preview is supposed to be skipped. We want the preview to be
  shown if the previous background could not be restored to preserver
  the user's privacy choice
- fix: cameras could not be shared if no previous device info was in
  the user's session
- fix: uploaded background images were not correctly restored
- fix: do not spin up virtual bg workers for brightness if it has not
  been altered by the user
- refactor: remove old video-provider background restore routine,
  centralize it in video-preview

* fix(skip-video-preview): correct storage check and add playwright test and docs

---------

Co-authored-by: prlanzarin <4529051+prlanzarin@users.noreply.github.com>
2024-07-18 16:24:10 -04:00
..
media changing fake video 2023-10-25 11:09:17 -03:00
scripts chore: Fix typo (found by typos) (port) #19834 2024-03-18 09:58:53 -04:00
browsersConfig.js fake-video to improve tests, and share camera as content test 2023-10-17 09:32:36 -03:00
constants.js test: increases by 5sec the default timeout for pdf upload 2023-05-19 09:31:38 -03:00
elements.js Refactor: Remove the old user status (reaction/emoji) (#20455) 2024-06-26 15:40:18 -03:00
helpers.js test: update playwright tests to support sha256 and sha512 algorithms (#19725) 2024-03-17 21:34:46 -04:00
page.js test: update approach of getting elements background color on raise hand tests 2024-07-11 14:42:56 -03:00
parameters.js test suite: add newlines at the end of playwright javascript files that didn't have them 2023-04-03 16:21:24 -04:00
settings.js feat(webcams): skip video preview if valid input devices stored (#20696) 2024-07-18 16:24:10 -04:00
util.js test(reconnection): adds isolated function to run scripts, expects audio to keep connected and improves checks after killing connection 2023-05-10 16:51:05 -03:00