made some adjustments in tests/end2end/features/qutescheme.feature for the tests to pass. These are to account for changes made in f70740c, 4c9482b and aab7496

This commit is contained in:
dwagle 2017-10-31 12:08:43 +05:45
parent f70740cc3a
commit 95539961a4

View File

@ -58,7 +58,7 @@ Feature: Special qute:// pages
Scenario: Opening a link with qute://help
When the documentation is up to date
And I run :tab-only
And I open qute://help
And I open qute://help without waiting
And I wait until qute://help/ is loaded
And I hint with args "links normal" and follow a
Then qute://help/quickstart.html should be loaded
@ -147,12 +147,12 @@ Feature: Special qute:// pages
Scenario: Running :pyeval
When I run :debug-pyeval 1+1
And I wait until qute://pyeval is loaded
And I wait until qute://pyeval/ is loaded
Then the page should contain the plaintext "2"
Scenario: Causing exception in :pyeval
When I run :debug-pyeval 1/0
And I wait until qute://pyeval is loaded
And I wait until qute://pyeval/ is loaded
Then the page should contain the plaintext "ZeroDivisionError"
Scenario: Running :pyeval with --quiet
@ -166,7 +166,7 @@ Feature: Special qute:// pages
And I run :message-warning the-warning-message
And I run :message-info the-info-message
And I run :messages
Then qute://log?level=info 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"
@ -178,7 +178,7 @@ Feature: Special qute:// pages
And I run :message-warning the-warning-message
And I run :message-info the-info-message
And I run :messages warning
Then qute://log?level=warning should be loaded
Then qute://log/?level=warning 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"
@ -190,7 +190,7 @@ Feature: Special qute:// pages
And I run :message-warning the-warning-message
And I run :message-info the-info-message
And I run :messages info
Then qute://log?level=info 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"