From 2f53549697f3565a88d21ed2279b17a2e9e6ac36 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 16 May 2023 18:18:22 +0800 Subject: [PATCH] MDL-77218 behat: use correct label to click the button --- .../bank/previewquestion/tests/behat/preview_question.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/bank/previewquestion/tests/behat/preview_question.feature b/question/bank/previewquestion/tests/behat/preview_question.feature index c7e54594578..45f66a0bfea 100644 --- a/question/bank/previewquestion/tests/behat/preview_question.feature +++ b/question/bank/previewquestion/tests/behat/preview_question.feature @@ -110,7 +110,7 @@ Feature: A teacher can preview questions in the question bank And I should see "1" in the "Question version" "select" And I should see "2" in the "Question version" "select" And I set the field "Question version" to "1" - And I press "Start again with these options" + And I press "Save preview options and start again" Then I should see "Version 1" And I should not see "Version 2" And I should not see "(latest)"