Fix last rustdoc-gui spurious test

This commit is contained in:
Guillaume Gomez 2022-03-30 14:30:46 +02:00
parent 3fe3b89cd5
commit a4a9fff594

View File

@ -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"})