Skip to content

Commit

Permalink
MDL-54940 behat: No need to press save
Browse files Browse the repository at this point in the history
Previous step press save button, so no need to press again
  • Loading branch information
Rajesh Taneja committed Jun 21, 2016
1 parent 878835d commit f0be6b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions course/format/topics/tests/behat/edit_delete_sections.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ Feature: Sections can be edited and deleted in topics format
Scenario: Edit section summary in topics format
When I edit the section "2" and I fill the form with:
| Summary | Welcome to section 2 |
And I press "Save changes"
Then I should see "Welcome to section 2" in the "li#section-2" "css_element"

Scenario: Edit section default name in topics format
When I edit the section "2" and I fill the form with:
| Use default section name | 0 |
| name | This is the second topic |
And I press "Save changes"
Then I should see "This is the second topic" in the "li#section-2" "css_element"
And I should not see "Topic 2" in the "li#section-2" "css_element"

Expand Down

0 comments on commit f0be6b8

Please sign in to comment.