From ddf45213054b2ad6c2102877e7e184375019c23b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 8 Jun 2017 14:16:30 +0200 Subject: [PATCH] Fix :messages tests --- tests/end2end/features/misc.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature index 744f4deef..2e96896f5 100644 --- a/tests/end2end/features/misc.feature +++ b/tests/end2end/features/misc.feature @@ -484,17 +484,17 @@ Feature: Various utility commands. ## :messages - Scenario: Showing error messages + Scenario: :messages without level When I run :message-error the-error-message And I run :message-warning the-warning-message And I run :message-info the-info-message And I run :messages - Then qute://log?level=error should be loaded + Then qute://log?level=info should be loaded And the error "the-error-message" should be shown And the warning "the-warning-message" should be shown And the page should contain the plaintext "the-error-message" - And the page should not contain the plaintext "the-warning-message" - And the page should not contain the plaintext "the-info-message" + And the page should contain the plaintext "the-warning-message" + And the page should contain the plaintext "the-info-message" Scenario: Showing messages of type 'warning' or greater When I run :message-error the-error-message @@ -540,7 +540,7 @@ Feature: Various utility commands. Scenario: Using :messages without messages Given I have a fresh instance When I run :messages - Then qute://log?level=error should be loaded + Then qute://log?level=info should be loaded And the page should contain the plaintext "No messages to show." ## https://github.com/qutebrowser/qutebrowser/issues/1523