Remove rustdoc GUI flaky test
This commit is contained in:
parent
930ecbcdf8
commit
607ac4bb84
1 changed files with 0 additions and 20 deletions
|
|
@ -1,20 +0,0 @@
|
|||
// Make sure search stores its data in `window`
|
||||
// It needs to use a global to avoid racing on search-index.js and search.js
|
||||
// https://github.com/rust-lang/rust/pull/118961
|
||||
include: "utils.goml"
|
||||
|
||||
// URL query
|
||||
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html?search=sa"
|
||||
wait-for: "#search-tabs"
|
||||
wait-for-window-property-false: {"searchIndex": null}
|
||||
|
||||
// Form input
|
||||
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
||||
call-function: ("perform-search", {"query": "Foo"})
|
||||
wait-for-window-property-false: {"searchIndex": null}
|
||||
|
||||
// source sidebar
|
||||
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
|
||||
click: "#sidebar-button"
|
||||
wait-for: "#src-sidebar details"
|
||||
assert-window-property: {"searchIndex": null}
|
||||
Loading…
Add table
Add a link
Reference in a new issue