diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-11-29 17:14:05 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-12-02 14:17:20 +0100 |
| commit | d7e998dd14a8eed64df84d3a0ae05a906d7df152 (patch) | |
| tree | 12683dafbe0e9f1ee1a381ec281666a269d5ed15 /src/test/rustdoc-gui/toggle-docs.goml | |
| parent | 1e55c31cbbc43a21c93ed5652dc39c267e6557af (diff) | |
Rename ID "main" into "main-content"
Diffstat (limited to 'src/test/rustdoc-gui/toggle-docs.goml')
| -rw-r--r-- | src/test/rustdoc-gui/toggle-docs.goml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc-gui/toggle-docs.goml b/src/test/rustdoc-gui/toggle-docs.goml index 136868f3175..eaa4c554d5a 100644 --- a/src/test/rustdoc-gui/toggle-docs.goml +++ b/src/test/rustdoc-gui/toggle-docs.goml @@ -1,10 +1,10 @@ goto: file://|DOC_PATH|/test_docs/index.html -assert-attribute: ("#main > details.top-doc", {"open": ""}) +assert-attribute: ("#main-content > details.top-doc", {"open": ""}) click: "#toggle-all-docs" wait-for: 1000 // This is now collapsed so there shouldn't be the "open" attribute on details. -assert-attribute-false: ("#main > details.top-doc", {"open": ""}) +assert-attribute-false: ("#main-content > details.top-doc", {"open": ""}) click: "#toggle-all-docs" wait-for: 1000 // Not collapsed anymore so the "open" attribute should be back. -assert-attribute: ("#main > details.top-doc", {"open": ""}) +assert-attribute: ("#main-content > details.top-doc", {"open": ""}) |
