Browse Source

try to fix behat tests.

MOODLE_32_STABLE
Dan Marsden 8 years ago
parent
commit
cc8ce7dbb1
  1. 4
      tests/behat/calendar_features.feature
  2. 5
      tests/behat/preferences.feature

4
tests/behat/calendar_features.feature

@ -30,9 +30,9 @@ Feature: Test the calendar related features in the attendance module
| id_sestime_endhour | 02 |
And I click on "id_submitbutton" "button"
And I follow "Course 1"
And I follow "Calendar"
And I follow "This month"
Then I should see "Test attendance"
And I log out
And I log in as "student1"
And I follow "Calendar"
And I follow "This month"
Then I should see "Test attendance"

5
tests/behat/preferences.feature

@ -20,8 +20,9 @@ Feature: Teachers can't change status variables to have empty acronyms or descri
And I follow "Course 1"
And I turn editing mode on
And I add a "Attendance" to section "1" and I fill the form with:
| Name | Attendance |
And I follow "Settings"
| Name | Attendancepreftest |
And I follow "Attendancepreftest"
And I follow "Edit settings"
@javascript
Scenario: Teachers can add status variables

Loading…
Cancel
Save