Fix race condition is :jseval test
This commit is contained in:
parent
0de7b2eb83
commit
5cd14c941b
@ -57,9 +57,9 @@ Feature: Various utility commands.
|
|||||||
Scenario: :jseval without logging
|
Scenario: :jseval without logging
|
||||||
When I set content.javascript.log to {"unknown": "none", "info": "none", "warning": "debug", "error": "debug"}
|
When I set content.javascript.log to {"unknown": "none", "info": "none", "warning": "debug", "error": "debug"}
|
||||||
And I run :jseval console.log("Hello from JS!");
|
And I run :jseval console.log("Hello from JS!");
|
||||||
|
And I wait for "No output or error" in the log
|
||||||
And I set content.javascript.log to {"unknown": "debug", "info": "debug", "warning": "debug", "error": "debug"}
|
And I set content.javascript.log to {"unknown": "debug", "info": "debug", "warning": "debug", "error": "debug"}
|
||||||
Then the message "No output or error" should be shown
|
Then "[:*] Hello from JS!" should not be logged
|
||||||
And "[:*] Hello from JS!" should not be logged
|
|
||||||
|
|
||||||
Scenario: :jseval with --quiet
|
Scenario: :jseval with --quiet
|
||||||
When I run :jseval --quiet console.log("Hello from JS!");
|
When I run :jseval --quiet console.log("Hello from JS!");
|
||||||
|
Loading…
Reference in New Issue
Block a user