diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-10-09 21:23:20 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-10-09 21:23:20 +0200 |
| commit | 5e6033ea8b25d42a56eca04eba5bb33a530bc381 (patch) | |
| tree | 469aa3e0af28285230b494ce4e6fd97d99e05dd9 /tests/rustdoc-gui/methods-left-margin.goml | |
| parent | 12d5f0aa2cdd3d53d3d273c360773cd5a1a3c821 (diff) | |
| download | rust-5e6033ea8b25d42a56eca04eba5bb33a530bc381.tar.gz rust-5e6033ea8b25d42a56eca04eba5bb33a530bc381.zip | |
Strengthen some GUI tests
Diffstat (limited to 'tests/rustdoc-gui/methods-left-margin.goml')
| -rw-r--r-- | tests/rustdoc-gui/methods-left-margin.goml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/methods-left-margin.goml b/tests/rustdoc-gui/methods-left-margin.goml index af88bbaefc5..1003cec33f9 100644 --- a/tests/rustdoc-gui/methods-left-margin.goml +++ b/tests/rustdoc-gui/methods-left-margin.goml @@ -8,10 +8,12 @@ assert: ".impl-items > section.method" // Checking on desktop. set-window-size: (900, 600) +wait-for-size: ("body", {"width": 900}) store-position: (".impl-items section.method", {"x": x}) assert-position: (".impl-items section.method", {"x": |x|}, ALL) // Checking on mobile. set-window-size: (600, 600) +wait-for-size: ("body", {"width": 600}) store-position: (".impl-items section.method", {"x": x}) assert-position: (".impl-items section.method", {"x": |x|}, ALL) |
