bdd: Wait for help pages to be loaded in tests.
This hopefully fixes #1150.
This commit is contained in:
parent
4170e3c9af
commit
e68965fea2
@ -185,6 +185,7 @@ Feature: Various utility commands.
|
|||||||
Scenario: :help without topic
|
Scenario: :help without topic
|
||||||
When I run :tab-only
|
When I run :tab-only
|
||||||
And I run :help
|
And I run :help
|
||||||
|
And I wait until qute://help/index.html is loaded
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- qute://help/index.html (active)
|
- qute://help/index.html (active)
|
||||||
|
|
||||||
@ -195,6 +196,7 @@ Feature: Various utility commands.
|
|||||||
Scenario: :help with command
|
Scenario: :help with command
|
||||||
When I run :tab-only
|
When I run :tab-only
|
||||||
And I run :help :back
|
And I run :help :back
|
||||||
|
And I wait until qute://help/commands.html#back is loaded
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- qute://help/commands.html#back (active)
|
- qute://help/commands.html#back (active)
|
||||||
|
|
||||||
@ -205,6 +207,7 @@ Feature: Various utility commands.
|
|||||||
Scenario: :help with setting
|
Scenario: :help with setting
|
||||||
When I run :tab-only
|
When I run :tab-only
|
||||||
And I run :help general->editor
|
And I run :help general->editor
|
||||||
|
And I wait until qute://help/settings.html#general-editor is loaded
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- qute://help/settings.html#general-editor (active)
|
- qute://help/settings.html#general-editor (active)
|
||||||
|
|
||||||
@ -224,6 +227,7 @@ Feature: Various utility commands.
|
|||||||
When I open about:blank
|
When I open about:blank
|
||||||
And I run :tab-only
|
And I run :tab-only
|
||||||
And I run :help -t
|
And I run :help -t
|
||||||
|
And I wait until qute://help/index.html is loaded
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- about:blank
|
- about:blank
|
||||||
- qute://help/index.html (active)
|
- qute://help/index.html (active)
|
||||||
|
Loading…
Reference in New Issue
Block a user