Another attempt at stabilizing qutescheme.feature

This commit is contained in:
Florian Bruhin 2017-10-11 08:46:53 +02:00
parent bdc82bc633
commit e9a50f5f9f

View File

@ -2,6 +2,9 @@
Feature: Special qute:// pages
Background:
Given I open about:blank
# :help
Scenario: :help without topic
@ -36,8 +39,7 @@ Feature: Special qute:// pages
- qute://help/settings.html#editor.command (active)
Scenario: :help with -t
When I open about:blank
And I run :tab-only
When I run :tab-only
And I run :help -t
And I wait until qute://help/index.html is loaded
Then the following tabs should be open:
@ -63,8 +65,7 @@ Feature: Special qute:// pages
- qute://history/ (active)
Scenario: :history with -t
When I open about:blank
And I run :tab-only
When I run :tab-only
And I run :history -t
And I wait until qute://history/ is loaded
Then the following tabs should be open:
@ -86,7 +87,6 @@ Feature: Special qute:// pages
# an explicit Tab to unfocus the input field seems to stabilize the tests
And I press the key "<Tab>"
And I wait for "Config option changed: ignore_case *" in the log
And I open about:blank
Then the option ignore_case should be set to always
Scenario: Focusing input fields in qute://settings and entering invalid value
@ -100,7 +100,6 @@ Feature: Special qute:// pages
And I press the key "<Escape>"
# an explicit Tab to unfocus the input field seems to stabilize the tests
And I press the key "<Tab>"
And I open about:blank
Then "Invalid value 'foo' *" should be logged
# pdfjs support