From 6ec80ca32826cf7cb087957dc26ded94f1188e3b Mon Sep 17 00:00:00 2001
From: Sara Arjona <sara@moodle.com>
Date: Tue, 30 Nov 2021 13:09:24 +0100
Subject: [PATCH] MDL-72917 course: Change section to avoid behat failure

---
 course/tests/behat/activity_chooser.feature | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/course/tests/behat/activity_chooser.feature b/course/tests/behat/activity_chooser.feature
index 330bac07281..cf9e5a82c86 100644
--- a/course/tests/behat/activity_chooser.feature
+++ b/course/tests/behat/activity_chooser.feature
@@ -25,13 +25,13 @@ Feature: Display and choose from the available activities in course
     And I should see "Assignment" in the ".modal-body" "css_element"
 
   Scenario: The teacher can choose to add an activity from the activity items in the activity chooser
-    Given I click on "Add an activity or resource" "button" in the "Topic 3" "section"
+    Given I click on "Add an activity or resource" "button" in the "Topic 4" "section"
     When I click on "Add a new Assignment" "link" in the "Add an activity or resource" "dialogue"
     Then I should see "Adding a new Assignment"
     And I set the following fields to these values:
-      | Assignment name | Test Assignment Topic 3 |
+      | Assignment name | Test Assignment Topic 4 |
     And I press "Save and return to course"
-    Then I should see "Test Assignment Topic 3" in the "Topic 3" "section"
+    Then I should see "Test Assignment Topic 4" in the "Topic 4" "section"
 
   Scenario: The teacher can choose to add an activity from the activity summary in the activity chooser
     Given I click on "Add an activity or resource" "button" in the "Topic 1" "section"