bdd: Make :jseval tests work with QtWebEngine

This commit is contained in:
Florian Bruhin 2016-08-18 19:26:06 +02:00
parent d298787b1a
commit 577f1b850a

View File

@ -64,19 +64,19 @@ Feature: Various utility commands.
Scenario: :jseval
When I set general -> log-javascript-console to info
And I run :jseval console.log("Hello from JS!");
And I wait for "[:0] Hello from JS!" in the log
And I wait for "[:*] Hello from JS!" in the log
Then the message "No output or error" should be shown
Scenario: :jseval without logging
When I set general -> log-javascript-console to none
And I run :jseval console.log("Hello from JS!");
Then the message "No output or error" should be shown
And "[:0] Hello from JS!" should not be logged
And "[:*] Hello from JS!" should not be logged
Scenario: :jseval with --quiet
When I set general -> log-javascript-console to info
And I run :jseval --quiet console.log("Hello from JS!");
And I wait for "[:0] Hello from JS!" in the log
And I wait for "[:*] Hello from JS!" in the log
Then "No output or error" should not be logged
Scenario: :jseval with a value