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/docblock-table-overflow.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/docblock-table-overflow.goml')
| -rw-r--r-- | tests/rustdoc-gui/docblock-table-overflow.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/docblock-table-overflow.goml b/tests/rustdoc-gui/docblock-table-overflow.goml index d8670089ad8..1ca919d1eab 100644 --- a/tests/rustdoc-gui/docblock-table-overflow.goml +++ b/tests/rustdoc-gui/docblock-table-overflow.goml @@ -1,7 +1,7 @@ // This test ensures that the type declaration content overflow is handled inside the <pre> directly. -goto: "file://" + |DOC_PATH| + "/lib2/long_table/struct.Foo.html" +go-to: "file://" + |DOC_PATH| + "/lib2/long_table/struct.Foo.html" // We set a fixed size so there is no chance of "random" resize. -size: (1100, 800) +set-window-size: (1100, 800) // Logically, the ".docblock" and the "<p>" should have the same scroll width. compare-elements-property: (".top-doc .docblock", ".top-doc .docblock > p", ["scrollWidth"]) assert-property: (".top-doc .docblock", {"scrollWidth": "816"}) |
