diff options
| author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2022-01-07 18:21:08 -0500 |
|---|---|---|
| committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2022-01-14 19:33:37 -0800 |
| commit | 04f04026c5cc9b23b59d9a630a03945ce4780cdd (patch) | |
| tree | 81031aee782eec712322c0b5549908f73f10bb0f /src/test/rustdoc-gui | |
| parent | c4b994ff80a993fb144d8ce2af6f2caf34b30347 (diff) | |
| download | rust-04f04026c5cc9b23b59d9a630a03945ce4780cdd.tar.gz rust-04f04026c5cc9b23b59d9a630a03945ce4780cdd.zip | |
Add support for "always theme" in setting
Diffstat (limited to 'src/test/rustdoc-gui')
| -rw-r--r-- | src/test/rustdoc-gui/toggle-docs-mobile.goml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/rustdoc-gui/toggle-docs-mobile.goml b/src/test/rustdoc-gui/toggle-docs-mobile.goml index 6e0ad8e0fa7..67b9164cfec 100644 --- a/src/test/rustdoc-gui/toggle-docs-mobile.goml +++ b/src/test/rustdoc-gui/toggle-docs-mobile.goml @@ -1,12 +1,12 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html size: (433, 600) assert-attribute: (".top-doc", {"open": ""}) -click: (4, 240) // This is the position of the top doc comment toggle +click: (4, 260) // This is the position of the top doc comment toggle assert-attribute-false: (".top-doc", {"open": ""}) -click: (4, 240) +click: (4, 260) assert-attribute: (".top-doc", {"open": ""}) // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked. -click: (3, 240) +click: (3, 260) assert-attribute: (".top-doc", {"open": ""}) // Assert the position of the toggle on the top doc block. @@ -22,10 +22,10 @@ assert-position: ( // Now we do the same but with a little bigger width size: (600, 600) assert-attribute: (".top-doc", {"open": ""}) -click: (4, 240) // New Y position since all search elements are back on one line. +click: (4, 260) // New Y position since all search elements are back on one line. assert-attribute-false: (".top-doc", {"open": ""}) -click: (4, 240) +click: (4, 260) assert-attribute: (".top-doc", {"open": ""}) // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked. -click: (3, 240) +click: (3, 260) assert-attribute: (".top-doc", {"open": ""}) |
