From f0be6b892ecd0b0c1321aa237a99aad2be4cb731 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Tue, 21 Jun 2016 18:53:03 +0800 Subject: [PATCH] MDL-54940 behat: No need to press save Previous step press save button, so no need to press again --- course/format/topics/tests/behat/edit_delete_sections.feature | 2 -- 1 file changed, 2 deletions(-) diff --git a/course/format/topics/tests/behat/edit_delete_sections.feature b/course/format/topics/tests/behat/edit_delete_sections.feature index 69e9dfbfe0b..03db896f751 100644 --- a/course/format/topics/tests/behat/edit_delete_sections.feature +++ b/course/format/topics/tests/behat/edit_delete_sections.feature @@ -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"