Skip to content

Commit

Permalink
Rollup merge of rust-lang#95470 - GuillaumeGomez:fix-gui-spurious-tes…
Browse files Browse the repository at this point in the history
…t, r=notriddle

Fix last rustdoc-gui spurious test

This should the last spurious failing GUI test from rust-lang#93784.

r? `@notriddle`
  • Loading branch information
Dylan-DPC committed Mar 30, 2022
2 parents e5c6d84 + a4a9fff commit 47c22fe
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 47c22fe

Please sign in to comment.