mirror of
https://github.com/nextcloud/server.git
synced 2026-10-27 14:16:42 +01:00
Backport of the Playwright adjustments fromd12356c774and9e22cc3863: - toasts are now mirrored into a hidden live region, so plain text lookups resolve to two elements; add a `getToast()` helper matching the visible toast by its `alert` / `status` role and use it everywhere - `NcCheckboxRadioSwitch` of type switch now exposes role `switch`, query it as such (theming, users, external storage, login redirect, personal info) - wait for the preview of a file before moving, copying or renaming it on a public share, as preview generation locks the file Additionally close the page created by the random user session fixture: the runner only closes the built-in `context` fixture, so every test left its page open in the worker's browser, and the failure snapshot was taken from the oldest open context - i.e. from an earlier test. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Assisted-by: ClaudeCode:claude-fable-5-1