Merge branch 'test_yanking' of https://github.com/julianuu/qutebrowser into julianuu-test_yanking

This commit is contained in:
Florian Bruhin 2016-09-01 22:05:21 +02:00
commit 6798583e91

View File

@ -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