bdd: Wait until title is loaded in yankpaste.

This commit is contained in:
Florian Bruhin 2015-11-05 08:03:03 +01:00
parent b0430ca3e7
commit 5541e3ed32

View File

@ -17,7 +17,8 @@ Feature: Yanking and pasting.
And the primary selection should contain "http://localhost:(port)/data/yankpaste.html"
Scenario: Yanking title to clipboard
When I run :yank --title
When I wait for regex "Changing title for idx \d to 'Test title'" in the log
And I run :yank --title
Then the message "Yanked title to clipboard: Test title" should be shown.
And the clipboard should contain "Test title"