diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-03-08 17:52:31 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-03-11 14:48:53 +0100 |
| commit | aad4227607e9c0aa2db7cd34a854563fbbf251f2 (patch) | |
| tree | b27b3462f1716465d9e730fe83183cefa8725a3a /src/test/rustdoc-gui/toggle-docs.goml | |
| parent | 87fba23d5297e323c7598690038695cda2a25dca (diff) | |
| download | rust-aad4227607e9c0aa2db7cd34a854563fbbf251f2.tar.gz rust-aad4227607e9c0aa2db7cd34a854563fbbf251f2.zip | |
Update GUI test
Diffstat (limited to 'src/test/rustdoc-gui/toggle-docs.goml')
| -rw-r--r-- | src/test/rustdoc-gui/toggle-docs.goml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/toggle-docs.goml b/src/test/rustdoc-gui/toggle-docs.goml index f98111484f3..bbc85ecd4ad 100644 --- a/src/test/rustdoc-gui/toggle-docs.goml +++ b/src/test/rustdoc-gui/toggle-docs.goml @@ -17,7 +17,14 @@ assert-text: ("#toggle-all-docs", "[−]") goto: file://|DOC_PATH|/test_docs/struct.Foo.html // We first check that everything is visible. assert-text: ("#toggle-all-docs", "[−]") -assert-attribute: ("details.rustdoc-toggle", {"open": ""}, ALL) +assert-attribute: ("#implementations-list details.rustdoc-toggle", {"open": ""}, ALL) +assert-attribute: ("#trait-implementations-list details.rustdoc-toggle", {"open": ""}, ALL) +assert-attribute-false: ( + "#blanket-implementations-list > details.rustdoc-toggle", + {"open": ""}, + ALL, +) + // We collapse them all. click: "#toggle-all-docs" wait-for: 50 |
