From 2b0870084b9185b8f8a12639d238c12b202d3284 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 8 Jan 2016 00:58:01 +0100 Subject: [PATCH] bdd: Run :tab-only between tests for caret/search. Otherwise we end up opening a lot of tabs which slow down qutebrowser, The latest issue in #1183 might actually be caused by that. --- tests/integration/features/caret.feature | 2 +- tests/integration/features/search.feature | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/features/caret.feature b/tests/integration/features/caret.feature index e5293cf05..45c6cef9f 100644 --- a/tests/integration/features/caret.feature +++ b/tests/integration/features/caret.feature @@ -3,7 +3,7 @@ Feature: Caret mode Background: Given I open data/caret.html - And I run :enter-mode caret + And I run :tab-only ;; :enter-mode caret # document diff --git a/tests/integration/features/search.feature b/tests/integration/features/search.feature index 9c661e469..18496a011 100644 --- a/tests/integration/features/search.feature +++ b/tests/integration/features/search.feature @@ -3,6 +3,7 @@ Feature: Searching on a page Background: Given I open data/search.html + And I run :tab-only ## searching