Skip :jseval with world tests for PyQt < 5.7.0

This commit is contained in:
Florian Bruhin 2016-09-12 18:30:49 +02:00
parent 8a35ebac7b
commit 9e20e3a802

View File

@ -94,7 +94,7 @@ Feature: Various utility commands.
And I wait for the javascript message "Hello from JS!" And I wait for the javascript message "Hello from JS!"
Then "Ignoring world ID 1" should be logged Then "Ignoring world ID 1" should be logged
@qtwebkit_skip @qtwebkit_skip @pyqt>=5.7.0
Scenario: :jseval uses separate world without --world Scenario: :jseval uses separate world without --world
When I set general -> log-javascript-console to info When I set general -> log-javascript-console to info
And I open data/misc/jseval.html And I open data/misc/jseval.html
@ -102,14 +102,14 @@ Feature: Various utility commands.
Then the javascript message "Hello from the page!" should not be logged Then the javascript message "Hello from the page!" should not be logged
And the javascript message "Uncaught ReferenceError: do_log is not defined" should be logged And the javascript message "Uncaught ReferenceError: do_log is not defined" should be logged
@qtwebkit_skip @qtwebkit_skip @pyqt>=5.7.0
Scenario: :jseval using the main world Scenario: :jseval using the main world
When I set general -> log-javascript-console to info When I set general -> log-javascript-console to info
And I open data/misc/jseval.html And I open data/misc/jseval.html
And I run :jseval --world 0 do_log() And I run :jseval --world 0 do_log()
Then the javascript message "Hello from the page!" should be logged Then the javascript message "Hello from the page!" should be logged
@qtwebkit_skip @qtwebkit_skip @pyqt>=5.7.0
Scenario: :jseval using the main world as name Scenario: :jseval using the main world as name
When I set general -> log-javascript-console to info When I set general -> log-javascript-console to info
And I open data/misc/jseval.html And I open data/misc/jseval.html