Move webelement checks to javascript.feature
This commit is contained in:
parent
6458c692cb
commit
a2c8e093f4
@ -73,3 +73,24 @@ Feature: Javascript stuff
|
|||||||
When I set content -> allow-javascript to false
|
When I set content -> allow-javascript to false
|
||||||
And I run :jseval console.log('jseval executed')
|
And I run :jseval console.log('jseval executed')
|
||||||
Then the javascript message "jseval executed" should be logged
|
Then the javascript message "jseval executed" should be logged
|
||||||
|
|
||||||
|
## webelement issues (mostly with QtWebEngine)
|
||||||
|
|
||||||
|
# https://github.com/qutebrowser/qutebrowser/issues/2569
|
||||||
|
Scenario: Clicking on form element with tagName child
|
||||||
|
When I open data/issue2569.html
|
||||||
|
And I run :click-element id theform
|
||||||
|
And I wait for "Clicked editable element!" in the log
|
||||||
|
Then no crash should happen
|
||||||
|
|
||||||
|
Scenario: Clicking on svg element
|
||||||
|
When I open data/issue2569.html
|
||||||
|
And I run :click-element id icon
|
||||||
|
And I wait for "Clicked non-editable element!" in the log
|
||||||
|
Then no crash should happen
|
||||||
|
|
||||||
|
Scenario: Clicking on li element
|
||||||
|
When I open data/issue2569.html
|
||||||
|
And I run :click-element id listitem
|
||||||
|
And I wait for "Clicked non-editable element!" in the log
|
||||||
|
Then no crash should happen
|
||||||
|
@ -726,24 +726,3 @@ Feature: Various utility commands.
|
|||||||
Then no crash should happen
|
Then no crash should happen
|
||||||
And the following tabs should be open:
|
And the following tabs should be open:
|
||||||
- data/numbers/3.txt (active)
|
- data/numbers/3.txt (active)
|
||||||
|
|
||||||
## Bugs
|
|
||||||
|
|
||||||
# https://github.com/qutebrowser/qutebrowser/issues/2569
|
|
||||||
Scenario: Clicking on form element with tagName child
|
|
||||||
When I open data/issue2569.html
|
|
||||||
And I run :click-element id theform
|
|
||||||
And I wait for "Clicked editable element!" in the log
|
|
||||||
Then no crash should happen
|
|
||||||
|
|
||||||
Scenario: Clicking on svg element
|
|
||||||
When I open data/issue2569.html
|
|
||||||
And I run :click-element id icon
|
|
||||||
And I wait for "Clicked non-editable element!" in the log
|
|
||||||
Then no crash should happen
|
|
||||||
|
|
||||||
Scenario: Clicking on li element
|
|
||||||
When I open data/issue2569.html
|
|
||||||
And I run :click-element id listitem
|
|
||||||
And I wait for "Clicked non-editable element!" in the log
|
|
||||||
Then no crash should happen
|
|
||||||
|
Loading…
Reference in New Issue
Block a user