mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 19:02:28 +00:00
Add Playwright automation aids for disclaimer and modals
- Added `data-testid` attributes to key modals (Disclaimer, Login, Upload, Video, Profile, Lockdown) to facilitate reliable selection in Playwright tests. - Updated `js/disclaimer.js` and `js/index.js` to respect a new `playwright-bypass-disclaimer` localStorage flag, allowing automated tests to skip the disclaimer modal entirely.
This commit is contained in:
1 parent
85cf476754
commit
69e81920ce
8 files changed
+24
-3
No files matched your search
@@ -6,6 +6,7 @@
|
||||
aria-labelledby="lockdownModalTitle"
|
||||
aria-describedby="lockdownModalDescription"
|
||||
data-ds="new"
|
||||
data-testid="lockdown-modal"
|
||||
>
|
||||
<div class="bv-modal-backdrop"></div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user