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:
google-labs-jules[bot] committed 2026-01-22 05:18:36 +00:00
1 parent 85cf476754
commit 69e81920ce
8 files changed
+24 -3

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
aria-labelledby="lockdownModalTitle"
aria-describedby="lockdownModalDescription"
data-ds="new"
data-testid="lockdown-modal"
>
<div class="bv-modal-backdrop"></div>