Merge branch 'MDL-43902-master-fixup' of https://github.com/FMCorz/moodle

This commit is contained in:
Andrew Nicols 2014-12-18 14:45:30 +08:00
commit dc59c6b68e

View File

@ -42,12 +42,13 @@ Feature: A privileged user can create cohorts using a CSV file
| Cat 1 | cohort name 4 | cohortid4 | | 0 | Created manually |
| Cat 2 | cohort name 5 | cohortid5 | | 0 | Created manually |
| Cat 3 | cohort name 6 | cohortid6 | | 0 | Created manually |
And the "class" attribute of "cohort name 1" "table_row" should not contain "dimmed_text"
And the "class" attribute of "cohort name 2" "table_row" should not contain "dimmed_text"
And ".dimmed_text" "css_element" should not exist in the "cohort name 1" "table_row"
And ".dimmed_text" "css_element" should not exist in the "cohort name 2" "table_row"
And ".dimmed_text" "css_element" should exist in the "cohort name 3" "table_row"
And the "class" attribute of "cohort name 3" "table_row" should contain "dimmed_text"
And the "class" attribute of "cohort name 4" "table_row" should not contain "dimmed_text"
And ".dimmed_text" "css_element" should not exist in the "cohort name 4" "table_row"
And the "class" attribute of "cohort name 5" "table_row" should contain "dimmed_text"
And the "class" attribute of "cohort name 6" "table_row" should not contain "dimmed_text"
And ".dimmed_text" "css_element" should not exist in the "cohort name 6" "table_row"
@javascript
Scenario: Upload cohorts with default category context as admin