Add test for using :prompt-fileselect-external on wrong prompt
This commit is contained in:
parent
581b665653
commit
fc17602f79
|
|
@ -706,3 +706,10 @@ Feature: Downloading things from a website.
|
|||
And I run :prompt-fileselect-external
|
||||
Then the message "No folder chosen." should be shown
|
||||
And "No prompts left, hiding prompt container." should not be logged
|
||||
|
||||
Scenario: Using :prompt-fileselect-external with other prompt
|
||||
When I open data/prompt/jsprompt.html
|
||||
And I run :click-element id button
|
||||
And I wait for "Asking question *" in the log
|
||||
And I run :prompt-fileselect-external
|
||||
Then the error "Can only launch external fileselect for FilenamePrompt, not LineEditPrompt" should be shown
|
||||
|
|
|
|||
Loading…
Reference in New Issue