Add test for insert-text with javascript disabled
This commit is contained in:
parent
efadbe64b5
commit
2d6c443b1a
@ -256,6 +256,16 @@ Feature: Yanking and pasting.
|
|||||||
# Compare
|
# Compare
|
||||||
Then the javascript message "textarea contents: Hello world" should be logged
|
Then the javascript message "textarea contents: Hello world" should be logged
|
||||||
|
|
||||||
|
Scenario: Inserting text into an empty text field with javascript disabled
|
||||||
|
When I set general -> log-javascript-console to info
|
||||||
|
And I set content -> allow-javascript to false
|
||||||
|
And I open data/paste_primary.html
|
||||||
|
And I run :click-element id qute-textarea
|
||||||
|
And I wait for "Clicked editable element!" in the log
|
||||||
|
And I run :insert-text Hello world
|
||||||
|
# Compare
|
||||||
|
Then the javascript message "textarea contents: Hello world" should be logged
|
||||||
|
|
||||||
Scenario: Inserting text into a text field at specific position
|
Scenario: Inserting text into a text field at specific position
|
||||||
When I set general -> log-javascript-console to info
|
When I set general -> log-javascript-console to info
|
||||||
And I open data/paste_primary.html
|
And I open data/paste_primary.html
|
||||||
|
Loading…
Reference in New Issue
Block a user