Created
February 7, 2013 03:27
-
-
Save dmonllao/4728164 to your computer and use it in GitHub Desktop.
Nonsense feature to check that MDL-37750 does not provoke any regression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @MDL-37750 | |
| Feature: Wait ALWAYS for the page to be loaded | |
| In order to avoid false failures | |
| As a moodle developer | |
| I need to check that this patch works | |
| @javascript | |
| Scenario: Big tests to run all the modified steps | |
| Given the following "courses" exists: | |
| | fullname | shortname | category | | |
| | Course 1 | C1 | 0 | | |
| And I log in as "admin" | |
| And I log out | |
| And I log in as "admin" | |
| And I expand "Site pages" node | |
| And I follow "Course 1" | |
| And I turn editing mode on | |
| And I add a "Chat" to section "3" and I fill the form with: | |
| | Name of this chat room | Test chat | | |
| | Introduction text | Test introduction | | |
| And I should not see "Required" | |
| And I should see "Add an activity or resource" | |
| And I fill in "Search" with "Whatever" | |
| And I follow "Grades" | |
| And I select "Edit" from "Grade report" | |
| And I should see "Override site defaults" in the "#page-content #gradeletters #fitem_id_override" element | |
| And I should not see "ASD" in the "#page-content #gradeletters #fitem_id_override" element | |
| And I select "Full view" from "Grade report" | |
| And the "Grade report" select box should contain "Full view" | |
| And the "Grade report" select box should not contain "Alluete view" | |
| When I check "Aggregate only non-empty grades" | |
| And the "Aggregate only non-empty grades" checkbox should be checked | |
| And I uncheck "Aggregate only non-empty grades" | |
| And the "Aggregate only non-empty grades" checkbox should not be checked | |
| And I press "Save changes" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment