summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-10-11 16:30:58 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-10-11 16:30:58 +0200
commit1ba837909e1155fa287d89c53939900f95cff87a (patch)
treef9cfd5bd22688817537bee8ecf52882873dd13e7
parent2b8b71a82d84e8303494eb4efd9e3b931079bd1f (diff)
downloadqutebrowser-1ba837909e1155fa287d89c53939900f95cff87a.tar.gz
qutebrowser-1ba837909e1155fa287d89c53939900f95cff87a.zip
tests: Try to stabilize hint hovering test
Speculative fix - depending on the font, I suspect if we scroll horizontally too much, the first hint will not be visible anymore. See #5787
-rw-r--r--tests/end2end/features/marks.feature10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/end2end/features/marks.feature b/tests/end2end/features/marks.feature
index 7ac60edeb..921e0e76c 100644
--- a/tests/end2end/features/marks.feature
+++ b/tests/end2end/features/marks.feature
@@ -112,11 +112,11 @@ Feature: Setting positional marks
Then the page should be scrolled to 0 0
Scenario: Hovering a hint does not set the ' mark
- When I run :scroll-px 30 20
- And I wait until the scroll position changed to 30/20
- And I run :scroll-to-perc 0
+ When I run :scroll-px 10 20
+ And I wait until the scroll position changed to 10/20
+ And I run :scroll-to-perc 0
And I wait until the scroll position changed
And I hint with args "links hover" and follow s
And I run :jump-mark "'"
- And I wait until the scroll position changed to 30/20
- Then the page should be scrolled to 30 20
+ And I wait until the scroll position changed to 10/20
+ Then the page should be scrolled to 10 20