diff --git a/course/format/topics/tests/behat/edit_delete_sections.feature b/course/format/topics/tests/behat/edit_delete_sections.feature index cc5efb21116..2bd0d0c8dc4 100644 --- a/course/format/topics/tests/behat/edit_delete_sections.feature +++ b/course/format/topics/tests/behat/edit_delete_sections.feature @@ -89,3 +89,11 @@ Feature: Sections can be edited and deleted in topics format Then I should see "Topic 6" in the "Topic 6" "section" And I should not see "Test choice name" in the "Topic 5" "section" And I should see "Test choice name" in the "Topic 6" "section" + + @javascript + Scenario: Add a topic and then add an activity in it + When I click on "Add topic" "link" in the "Topic 5" "section" + And I add a "Assignment" to section "6" and I fill the form with: + | Assignment name | Very new activity | + | Description | Test | + Then I should see "Very new activity" in the "Topic 6" "section"