Skip to content

Commit

Permalink
Fix last rustdoc-gui spurious test
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 30, 2022
1 parent 3fe3b89 commit a4a9fff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/rustdoc-gui/search-result-display.goml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
goto: file://|DOC_PATH|/test_docs/index.html
size: (900, 1000)
write: (".search-input", "test")
// Waiting for the search results to appear...
wait-for: "#titles"
wait-for: "#search-settings"
// The width is returned by "getComputedStyle" which returns the exact number instead of the
// CSS rule which is "50%"...
assert-css: (".search-results div.desc", {"width": "295px"})
Expand Down

0 comments on commit a4a9fff

Please sign in to comment.