Add Playwright tests for settings toggles (#30318)

* Add playwright tests

* import pages/ remove duplicate create-room

* Update screenshots

* Fix accessibility for devtools

* Disable region test

* Fixup headers

* remove extra test

* Fix permissions dialog

* fixup tests

* update snapshot

* Update jest tests

* Clear up playwright tests

* update widget screenshot

* Fix wrong snaps from using wrong compound version

* Revert mistaken s/checkbox/switch/
This commit is contained in:
Will Hunt
2025-09-04 07:12:24 +00:00
committed by GitHub
parent cba341f824
commit 07c253d11f
43 changed files with 546 additions and 81 deletions
@@ -48,9 +48,11 @@ exports[`DevtoolsDialog renders the devtools dialog 1`] = `
class="mx_DevTools_content"
>
<div>
<h3>
<h2
class="mx_DevTools_toolHeading"
>
Room
</h3>
</h2>
<button
class="mx_DevTools_button"
>
@@ -83,9 +85,11 @@ exports[`DevtoolsDialog renders the devtools dialog 1`] = `
</button>
</div>
<div>
<h3>
<h2
class="mx_DevTools_toolHeading"
>
Other
</h3>
</h2>
<button
class="mx_DevTools_button"
>
@@ -108,9 +112,11 @@ exports[`DevtoolsDialog renders the devtools dialog 1`] = `
</button>
</div>
<div>
<h3>
<h2
class="mx_DevTools_toolHeading"
>
Options
</h3>
</h2>
<div
class="mx_SettingsFlag"
>