Fix Match system theme toggle (#12719)

* deps: force react-id version

* e2e: use checkbox name
This commit is contained in:
Florian Duros 2024-07-02 10:39:22 +02:00 committed by GitHub
parent 6ebaf3b46b
commit 7d8623de89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 18 deletions

View file

@ -77,7 +77,7 @@ class Helpers {
* Return the system theme toggle
*/
getMatchSystemThemeCheckbox() {
return this.getThemePanel().getByRole("checkbox");
return this.getThemePanel().getByRole("checkbox", { name: "Match system theme" });
}
/**