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 | | id_sestime_endhour | 02 |
And I click on "id_submitbutton" "button" And I click on "id_submitbutton" "button"
And I follow "Course 1" And I follow "Course 1"
And I follow "Calendar" And I follow "This month"
Then I should see "Test attendance" Then I should see "Test attendance"
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I follow "Calendar" And I follow "This month"
Then I should see "Test attendance" 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 follow "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Attendance" to section "1" and I fill the form with: And I add a "Attendance" to section "1" and I fill the form with:
| Name | Attendance | | Name | Attendancepreftest |
And I follow "Settings" And I follow "Attendancepreftest"
And I follow "Edit settings"
@javascript @javascript
Scenario: Teachers can add status variables Scenario: Teachers can add status variables

Loading…
Cancel
Save