Merge branch 'MDL-56511-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Andrew Nicols 2018-04-18 09:35:29 +08:00
commit 6979cf56e2
238 changed files with 7613 additions and 6572 deletions

View file

@ -45,7 +45,7 @@ Feature: Users can edit tags to add description or rename
| Description | Description of tag 1 |
| Related tags | Dog, Turtle,Fish |
And I press "Update"
Then "Cat" "text" should exist in the ".breadcrumb-nav" "css_element"
Then "Cat" "text" should exist in the ".breadcrumb" "css_element"
And "Description of tag 1" "text" should exist in the ".tag-description" "css_element"
And I should see "Related tags:" in the ".tag_list" "css_element"
And I should see "Dog" in the ".tag_list" "css_element"
@ -70,7 +70,7 @@ Feature: Users can edit tags to add description or rename
| Related tags | Dog, Turtle,Fish |
| Standard | 0 |
And I press "Update"
Then "Kitten" "text" should exist in the ".breadcrumb-nav" "css_element"
Then "Kitten" "text" should exist in the ".breadcrumb" "css_element"
And "Description of tag 1" "text" should exist in the ".tag-description" "css_element"
And I should see "Related tags:" in the ".tag_list" "css_element"
And I should see "Dog" in the ".tag_list" "css_element"
@ -79,7 +79,7 @@ Feature: Users can edit tags to add description or rename
And I follow "Edit this tag"
And I click on "× Dog" "text"
And I press "Update"
Then "Kitten" "text" should exist in the ".breadcrumb-nav" "css_element"
Then "Kitten" "text" should exist in the ".breadcrumb" "css_element"
And "Description of tag 1" "text" should exist in the ".tag-description" "css_element"
And I should see "Related tags:" in the ".tag_list" "css_element"
And I should see "Turtle" in the ".tag_list" "css_element"
@ -104,12 +104,12 @@ Feature: Users can edit tags to add description or rename
And I set the following fields to these values:
| Tag name | Kitten |
And I press "Update"
Then "Kitten" "text" should exist in the ".breadcrumb-nav" "css_element"
Then "Kitten" "text" should exist in the ".breadcrumb" "css_element"
And I follow "Edit this tag"
And I set the following fields to these values:
| Tag name | KITTEN |
And I press "Update"
And "KITTEN" "text" should exist in the ".breadcrumb-nav" "css_element"
And "KITTEN" "text" should exist in the ".breadcrumb" "css_element"
And I log out
@javascript
@ -124,7 +124,7 @@ Feature: Users can edit tags to add description or rename
| Related tags | Dog, Turtle,Fish |
| Standard | 0 |
And I press "Update"
Then "Default collection" "link" should exist in the ".breadcrumb-nav" "css_element"
Then "Default collection" "link" should exist in the ".breadcrumb" "css_element"
And I follow "Kitten"
And "Description of tag 1" "text" should exist in the ".tag-description" "css_element"
And I should see "Related tags:" in the ".tag_list" "css_element"
@ -145,12 +145,12 @@ Feature: Users can edit tags to add description or rename
And I set the following fields to these values:
| Tag name | Kitten |
And I press "Update"
Then "Default collection" "text" should exist in the ".breadcrumb-nav" "css_element"
Then "Default collection" "text" should exist in the ".breadcrumb" "css_element"
And I click on "Edit this tag" "link" in the "Kitten" "table_row"
And I set the following fields to these values:
| Tag name | KITTEN |
And I press "Update"
And "Default collection" "text" should exist in the ".breadcrumb-nav" "css_element"
And "Default collection" "text" should exist in the ".breadcrumb" "css_element"
And I should see "KITTEN"
And I should not see "Kitten"
And I log out