mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-57314 behat: Press enter after setting password unmask
This commit is contained in:
parent
4b2bcd2376
commit
bd755b5317
@ -63,6 +63,10 @@ JS;
|
||||
|
||||
// Ensure all pending JS is finished.
|
||||
if ($this->running_javascript()) {
|
||||
// Press enter key after setting password, so we have a stable page.
|
||||
$this->field->keyDown(13);
|
||||
$this->field->keyPress(13);
|
||||
$this->field->keyUp(13);
|
||||
$this->session->wait(behat_base::TIMEOUT * 1000, behat_base::PAGE_READY_JS);
|
||||
}
|
||||
}
|
||||
|
@ -134,7 +134,6 @@ Feature: Lesson user override
|
||||
And I set the following fields to these values:
|
||||
| Password protected lesson | Yes |
|
||||
| id_password | moodle_rules |
|
||||
And I wait until the page is ready
|
||||
And I press "Save and display"
|
||||
And I navigate to "User overrides" in current page administration
|
||||
And I press "Add user override"
|
||||
|
Loading…
x
Reference in New Issue
Block a user