tests: Use :click-element in editor.feature
This commit is contained in:
parent
0cef4ac2db
commit
cc9b776476
@ -12,6 +12,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="qute-textarea"></textarea>
|
||||
<input type="button" onclick="log_text()" value="Log text">
|
||||
<input type="button" id="qute-button" onclick="log_text()" value="Log text">
|
||||
</body>
|
||||
</html>
|
||||
|
@ -61,11 +61,9 @@ Feature: Opening external editors
|
||||
Scenario: Spawning an editor successfully
|
||||
When I set up a fake editor returning "foobar"
|
||||
And I open data/editor.html
|
||||
And I run :hint all
|
||||
And I run :follow-hint a
|
||||
And I run :click-element id qute-textarea
|
||||
And I wait for "Clicked editable element!" in the log
|
||||
And I run :open-editor
|
||||
And I wait for "Read back: foobar" in the log
|
||||
And I run :hint all
|
||||
And I run :follow-hint s
|
||||
And I run :click-element id qute-button
|
||||
Then the javascript message "text: foobar" should be logged
|
||||
|
Loading…
Reference in New Issue
Block a user