Merge branch 'julianuu-test_yanking'

This commit is contained in:
Florian Bruhin 2016-09-01 22:05:47 +02:00
commit d8492fef61
2 changed files with 14 additions and 1 deletions

View File

@ -176,6 +176,7 @@ Contributors, sorted by the number of commits in descending order:
* Peter Vilim
* Clayton Craft
* Oliver Caldwell
* Julian Weigt
* knaggita
* Jonas Schürmann
* error800
@ -185,7 +186,6 @@ Contributors, sorted by the number of commits in descending order:
* Zach-Button
* Tomasz Kramkowski
* Peter Rice
* Julian Weigt
* Ismail S
* Halfwit
* David Vogt

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