Skip to content

Commit 3b17012

Browse files
Fix GUI test for popover
1 parent 2f1939a commit 3b17012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rustdoc-gui/help-page.goml

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
6767
set-window-size: (1000, 1000) // Popover only appears when the screen width is >700px.
6868
assert-false: "#help"
6969
click: "#help-button > a"
70-
click: ".popover a[href='https://doc.rust-lang.org/rustdoc/']"
71-
wait-for-document-property: {"URL": "https://doc.rust-lang.org/rustdoc/"}
70+
click: "//*[@id='help']//a[text()='the rustdoc book']"
71+
wait-for-document-property: ({"URL": "https://doc.rust-lang.org/"}, STARTS_WITH)

0 commit comments

Comments
 (0)