mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-47588 question behat tests: don't close the preview window.
If you do. Chrome + Selenium2 gets stuck (on Windows at least). Selenium must be trying to send commands ot a window that does not exist any more.
This commit is contained in:
parent
a92105fd3f
commit
6f336f3602
@ -40,5 +40,4 @@ Feature: A teacher can edit questions in the question bank
|
||||
And I switch to "questionpreview" window
|
||||
And I should see "Edited question name"
|
||||
And I should see "Write a lot about what you want"
|
||||
And I press "Close preview"
|
||||
And I switch to the main window
|
||||
|
@ -42,5 +42,4 @@ Feature: A teacher can preview questions in the question bank
|
||||
And I press "Start again"
|
||||
And I press "Fill in correct responses"
|
||||
And the field "Answer:" matches value "2"
|
||||
And I press "Close preview"
|
||||
And I switch to the main window
|
||||
|
Loading…
x
Reference in New Issue
Block a user