Browse Source

Use same test structure as master.

MOODLE_32_STABLE
Dan Marsden 8 years ago
parent
commit
f02845a616
  1. 7
      tests/behat/defaultstatus.feature

7
tests/behat/defaultstatus.feature

@ -21,12 +21,11 @@ Feature: Admin can set default status set for use in new attendance
@javascript @javascript
Scenario: Modified default status set added to new attendance Scenario: Modified default status set added to new attendance
When I log in as "teacher1" Given I log in as "teacher1"
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 | Attendance1 | | Name | Attendance1 |
And I click on "Save and display" And I follow "Attendance1"
And I should see "Attendance1"
And I follow "Status set" And I follow "Status set"
Then I should see "customstatusdescription" Then the field with xpath "//*[@id='preferencesform']/table/tbody/tr[2]/td[3]/input" matches value "customstatusdescription"
Loading…
Cancel
Save