From a34591cc0b629995ca8bed7ec1ec3b9b159bd2a2 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 4 Jul 2023 09:30:59 +0800 Subject: [PATCH] MDL-75324 behat: use a proper step to verify completion status --- course/format/tests/behat/courseindex_completion.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/format/tests/behat/courseindex_completion.feature b/course/format/tests/behat/courseindex_completion.feature index 8d10341a7d6..8cf6a99d0dc 100644 --- a/course/format/tests/behat/courseindex_completion.feature +++ b/course/format/tests/behat/courseindex_completion.feature @@ -68,7 +68,7 @@ Feature: Course index completion icons When I press "Mark as done" And I wait until "Done" "button" exists And I reload the page - Then "Done" "icon" should exist in the "courseindex-content" "region" + Then the manual completion button of "Activity sample 1" is displayed as "Done" @javascript Scenario: Auto completion should appear in the course index