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
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" });
}
/**