From 5541e3ed329e9ca82025304482a5190a190282a9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 5 Nov 2015 08:03:03 +0100 Subject: [PATCH] bdd: Wait until title is loaded in yankpaste. --- tests/integration/features/yankpaste.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/features/yankpaste.feature b/tests/integration/features/yankpaste.feature index 2a9b41b1c..20ffb973f 100644 --- a/tests/integration/features/yankpaste.feature +++ b/tests/integration/features/yankpaste.feature @@ -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"