From 2cadac6b6ee69347201866c9e7ec9408737a7e68 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Jan 2016 07:15:20 +0100 Subject: [PATCH] bdd: Add tests for :stop/:reload with wrong count. --- 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 b1cc91d8f..a18858019 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -136,6 +136,12 @@ Feature: Various utility commands. custom/redirect-later?delay=-1 # no request on / because we stopped the redirect + Scenario: :stop with wrong count + When I open data/hello.txt + And I run :tab-only + And I run :stop with count 2 + Then no crash should happen + Scenario: :reload When I open data/reload.txt And I run :reload @@ -150,6 +156,12 @@ Feature: Various utility commands. And I wait until headers is loaded Then the header Cache-Control should be set to no-cache + Scenario: :reload with wrong count + When I open data/hello.txt + And I run :tab-only + And I run :reload with count 2 + Then no crash should happen + # :view-source Scenario: :view-source