diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index fe3ba056f..d590987f7 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -81,6 +81,19 @@ Feature: Using hints And I hint with args "all userscript (testdata)/userscripts/echo_hint_text" and follow a Then the message "Follow me!" should be shown + Scenario: Yanking to clipboard + When I run :debug-set-fake-clipboard + And I open data/hints/html/simple.html + And I hint with args "links yank" and follow a + Then the clipboard should contain "http://localhost:(port)/data/hello.txt" + + Scenario: Yanking to primary selection + When selection is supported + And I run :debug-set-fake-clipboard + And I open data/hints/html/simple.html + And I hint with args "links yank-primary" and follow a + Then the primary selection should contain "http://localhost:(port)/data/hello.txt" + Scenario: Yanking to primary selection without it being supported (#1336) When selection is not supported And I run :debug-set-fake-clipboard