We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f158600 commit d78746cCopy full SHA for d78746c
tests/rustdoc-gui/utils.goml
@@ -10,9 +10,11 @@ define-function: (
10
wait-for: "#settings"
11
// Change the setting.
12
click: "#theme-"+ |theme|
13
+ // We wait for the radio button to be updated.
14
+ wait-for: "#theme-"+ |theme| + ":checked"
15
// Close the popover.
16
click: "#settings-menu"
17
// Ensure that the local storage was correctly updated.
- assert-local-storage: {"rustdoc-theme": |theme|}
18
+ wait-for-local-storage: {"rustdoc-theme": |theme|}
19
},
20
)
0 commit comments