MDL-54589 behat: Fixed failures for phantomjs standalone
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@block @block_private_files @file_upload @javascript
|
||||
@block @block_private_files @_file_upload @javascript
|
||||
Feature: The private files block allows users to store files privately in moodle
|
||||
In order to store a private file in moodle
|
||||
As a user
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@block @block_private_files @file_upload
|
||||
@block @block_private_files @_file_upload
|
||||
Feature: The private files block allows users to store files privately in moodle
|
||||
In order to store a private file in moodle
|
||||
As a teacher
|
||||
|
||||
@@ -58,6 +58,9 @@ class behat_enrol extends behat_base {
|
||||
array($this->escape($enrolmethod), get_string('addinstance', 'enrol'))
|
||||
);
|
||||
|
||||
// Wait again, for page to reloaded.
|
||||
$this->execute('behat_general::i_wait_to_be_redirected');
|
||||
|
||||
// Set form fields.
|
||||
$this->execute("behat_forms::i_set_the_following_fields_to_these_values", $table);
|
||||
|
||||
|
||||
@@ -54,6 +54,9 @@ class behat_mod_feedback extends behat_base {
|
||||
|
||||
$this->execute('behat_forms::i_select_from_the_singleselect', array($questiontype, $additem));
|
||||
|
||||
// Wait again, for page to reloaded.
|
||||
$this->execute('behat_general::i_wait_to_be_redirected');
|
||||
|
||||
$rows = $questiondata->getRows();
|
||||
$modifiedrows = array();
|
||||
foreach ($rows as $row) {
|
||||
|
||||
@@ -39,9 +39,11 @@ Feature: A user can navigate to previous and next discussions
|
||||
And I add a new discussion to "Test forum name" forum with:
|
||||
| Subject | Discussion 1 |
|
||||
| Message | Test post message |
|
||||
And I wait "1" seconds
|
||||
And I add a new discussion to "Test forum name" forum with:
|
||||
| Subject | Discussion 2 |
|
||||
| Message | Test post message |
|
||||
And I wait "1" seconds
|
||||
And I add a new discussion to "Test forum name" forum with:
|
||||
| Subject | Discussion 3 |
|
||||
| Message | Test post message |
|
||||
|
||||
@@ -153,6 +153,7 @@ Feature: Edit quiz page - adding things
|
||||
|
||||
# Create the Essay 03 question.
|
||||
And I set the field "Select a category" to "Default for C1"
|
||||
And I wait until the page is ready
|
||||
When I press "Create a new question ..."
|
||||
And I set the field "qtype_qtype_essay" to "1"
|
||||
And I press "Add"
|
||||
|
||||
@@ -10,6 +10,7 @@ Feature: Page contains a list of events
|
||||
And I navigate to "Events list" node in "Site administration > Reports"
|
||||
And I should see "Event name"
|
||||
And I set the field "eventname" to "phase"
|
||||
And I press "filterbutton"
|
||||
And I should see "Phase switched"
|
||||
And I should not see "Comment created"
|
||||
And I press "clearbutton"
|
||||
|
||||
Reference in New Issue
Block a user