diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-04-11 19:11:34 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-04-11 19:14:35 +0200 |
| commit | 010fa00b80474648268af58dd2edecbf454a9e55 (patch) | |
| tree | db84173af99d2449aff150f08aaaf468708a506c /tests/rustdoc-gui/source-anchor-scroll.goml | |
| parent | 8aba3f3264b33b53f0d4573ff68bd17aee319e72 (diff) | |
| download | rust-010fa00b80474648268af58dd2edecbf454a9e55.tar.gz rust-010fa00b80474648268af58dd2edecbf454a9e55.zip | |
Update rustdoc GUI tests to new browser-ui-test version
Diffstat (limited to 'tests/rustdoc-gui/source-anchor-scroll.goml')
| -rw-r--r-- | tests/rustdoc-gui/source-anchor-scroll.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/source-anchor-scroll.goml b/tests/rustdoc-gui/source-anchor-scroll.goml index ddfe0c3d1ab..3d88d5619b1 100644 --- a/tests/rustdoc-gui/source-anchor-scroll.goml +++ b/tests/rustdoc-gui/source-anchor-scroll.goml @@ -1,9 +1,9 @@ // We check that when the anchor changes and is output of the displayed content, // the page is scrolled to it. -goto: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html" +go-to: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html" // We reduce the window size to make it easier to make an element "out of the page". -size: (600, 800) +set-window-size: (600, 800) // We check that the scroll is at the top first. assert-property: ("html", {"scrollTop": "0"}) |
