Skip to content

Commit

Permalink
Merge branch 'wip-mdl-52376' of git://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Dec 22, 2015
2 parents 39604f2 + 8509c47 commit 4b6b84d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions completion/tests/behat/teacher_manual_completion.feature
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ Feature: Allow teachers to manually mark users as complete when configured
And I follow "View course report"
And I should see "Student First"
And I follow "Click to mark user complete"
# Running cron just after clicking sometimes fail, so navigate back
# and ensure the student completion is updated before running cron.
And I am on site homepage
And I follow "Completion course"
And I follow "View course report"
And "//img[contains(@alt, 'Completed')]" "xpath_element" should exist in the "student1" "table_row"
# Running cron just after clicking sometimes fail, as record
# should be created before the cron runs.
And I wait "1" seconds
And I trigger cron
And I am on site homepage
And I log out
Expand Down

0 comments on commit 4b6b84d

Please sign in to comment.