From 8cc9f30eba5b5184408ba4b3d5a1a0980f0b285c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 5 Aug 2016 15:13:36 +0200 Subject: [PATCH] Add a BDD test for :debug-log-capacity --- tests/end2end/features/misc.feature | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature index 1519e1867..686f5a8b4 100644 --- a/tests/end2end/features/misc.feature +++ b/tests/end2end/features/misc.feature @@ -442,6 +442,15 @@ Feature: Various utility commands. Then qute://log?level=error should be loaded And the page should contain the plaintext "No messages to show." + Scenario: Using :debug-log-capacity + When I run :debug-log-capacity 100 + And I run :message-info oldstuff + And I run :repeat 10 :message-info otherstuff + And I run :message-info newstuff + And I open qute:log + Then the page should contain the plaintext "newstuff" + And the page should not contain the plaintext "oldstuff" + ## https://github.com/The-Compiler/qutebrowser/issues/1523 Scenario: Completing a single option argument