-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend toggle GUI test a bit #94155
Extend toggle GUI test a bit #94155
Conversation
assert-attribute: ("details.rustdoc-toggle", {"open": ""}, ALL) | ||
// We collapse them all. | ||
click: "#toggle-all-docs" | ||
wait-for: 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wait-for (1 second) is much too long. I think we can reduce it to 50ms and still be very reliable without slowing down tests too much.
) | ||
// We open them all again. | ||
click: "#toggle-all-docs" | ||
wait-for: 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wait-for should also be shortened.
Other than that, this change looks good! r=me once those are fixed.
e3f11e6
to
ec50cdb
Compare
Good idea! I updated with your suggestion. @bors: r=jsha rollup |
📌 Commit ec50cdb has been approved by |
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#93845 (Remove in band lifetimes) - rust-lang#94155 (Extend toggle GUI test a bit) - rust-lang#94252 (don't special case `DefKind::Ctor` in encoding) - rust-lang#94305 (Remove an unnecessary restriction in `dest_prop`) - rust-lang#94343 (Miri fn ptr check: don't use conservative null check) - rust-lang#94344 (diagnostic: suggest parens when users want logical ops, but get closures) - rust-lang#94352 (Fix SGX docs build) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #84422.
r? @jsha