From 8d5b6b2dadabab6956533c3e40408aba49d42749 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 28 Nov 2015 22:44:05 +0100 Subject: [PATCH] bdd: Add tests for :home. --- tests/integration/features/misc.feature | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/integration/features/misc.feature b/tests/integration/features/misc.feature index 8ef4c313d..07b2ff77c 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -227,3 +227,15 @@ Feature: Various utility commands. Then the following tabs should be open: - about:blank - qute://help/index.html (active) + + # :home + + Scenario: :home with single page + When I set general -> startpage to http://localhost:(port)/data/hello2.txt + And I run :home + Then data/hello2.txt should be loaded + + Scenario: :home with multiple pages + When I set general -> startpage to http://localhost:(port)/data/numbers/1.txt,http://localhost:(port)/data/numbers/2.txt + And I run :home + Then data/numbers/1.txt should be loaded