Skip to content

Commit

Permalink
MDL-40389 Test "parent" course/category generators
Browse files Browse the repository at this point in the history
Verify that the category->parent switchers for
course & category behat generators are happening
as expected. Use the manage courses page for that.
  • Loading branch information
stronk7 committed Jun 30, 2013
1 parent 32e550a commit 11ffc39
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions admin/tool/behat/tests/behat/data_generators.feature
Expand Up @@ -30,6 +30,17 @@ Feature: Set up contextual data for tests
Then I should see "Course 1" Then I should see "Course 1"
And I should see "Course 2" And I should see "Course 2"
And I should see "Course 3" And I should see "Course 3"
When I go to the courses management page
And I follow "Cat 1"
Then I should see "Cat 2"
And I should see "Cat 3"
When I follow "Cat 3"
Then I should see "Course 1"
And I should see "Course 2"
When I select "Cat 2" from "Course categories:"
Then I should see "No courses in this category"
When I select "Miscellaneous" from "Course categories:"
Then I should see "Course 3"


@javascript @javascript
Scenario: Add a bunch of groups and groupings Scenario: Add a bunch of groups and groupings
Expand Down

0 comments on commit 11ffc39

Please sign in to comment.