From 083d84731627b81bbcab0e2b7979c0399359ea90 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 30 Sep 2016 18:14:22 +0200 Subject: [PATCH] Add a test for a zero count --- tests/end2end/features/misc.feature | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature index 8a4c3f09e..c24f0ea9f 100644 --- a/tests/end2end/features/misc.feature +++ b/tests/end2end/features/misc.feature @@ -604,6 +604,10 @@ Feature: Various utility commands. - data/hints/link_blank.html - data/hello.txt (active) + Scenario: Using 0 as count + When I run :scroll down with count 0 + Then the error "scroll: A zero count is not allowed for this command!" should be shown + @no_xvfb Scenario: :window-only Given I run :tab-only