Rollup merge of #151053 - reduce-gui-test-flakyness, r=jieyouxu
Reduce flakyness for `tests/rustdoc-gui/notable-trait.goml` Fixes https://github.com/rust-lang/rust/issues/151006 (hopefully). Instead of asserting right away, it waits for the element count to be the one expected. r? @jieyouxu
This commit is contained in:
commit
860e60a786
1 changed files with 2 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ set-window-size: (1100, 600)
|
|||
reload:
|
||||
assert-count: ("//*[@class='tooltip popover']", 0)
|
||||
click: "//*[@id='method.create_an_iterator_from_read']//*[@class='tooltip']"
|
||||
assert-count: ("//*[@class='tooltip popover']", 1)
|
||||
wait-for-count: ("//*[@class='tooltip popover']", 1)
|
||||
call-function: ("open-settings-menu", {})
|
||||
assert-count: ("//*[@class='tooltip popover']", 0)
|
||||
wait-for-count: ("//*[@class='tooltip popover']", 0)
|
||||
assert-false: "#method\.create_an_iterator_from_read .tooltip:focus"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue