From 982e4f46e0d0dbd2887b203b3ecf2a402f42a0f5 Mon Sep 17 00:00:00 2001 From: thuck Date: Tue, 22 Nov 2016 07:24:02 +0100 Subject: [PATCH] Test for accidental url opened in a pinned tab --- tests/end2end/features/tabs.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/end2end/features/tabs.feature b/tests/end2end/features/tabs.feature index c4c1d56e4..a2e903001 100644 --- a/tests/end2end/features/tabs.feature +++ b/tests/end2end/features/tabs.feature @@ -1064,3 +1064,11 @@ Feature: Tab management Then the following tabs should be open: - data/numbers/1.txt - data/numbers/2.txt (active) + + Scenario: :tab-pin open url + When I open data/numbers/1.txt + And I run :tab-pin + And I run :open data/numbers/2.txt + Then the message "Tab is pinned!" should be shown + And the following tabs should be open: + - data/numbers/1.txt (active)