From 66d16510239452ccdb0fcd44bad1c0788dde80bb Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 16 Aug 2022 11:40:04 +0800 Subject: [PATCH] MDL-75282 assign_onlineoption: Use correct step for checking editor content Note: This should possibly be broken out into its own issue applied to stables. Part of MDL-75966. --- mod/assign/tests/behat/online_submissions.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assign/tests/behat/online_submissions.feature b/mod/assign/tests/behat/online_submissions.feature index 350ea9a65df..dc8da5395cf 100644 --- a/mod/assign/tests/behat/online_submissions.feature +++ b/mod/assign/tests/behat/online_submissions.feature @@ -79,4 +79,4 @@ Feature: In an assignment, students can add and edit text online And I am on the "Test assignment name" Activity page When I press "Add submission" # Confirm draft was restored. - Then I should see "text submission" in the "#id_onlinetext_editoreditable" "css_element" + Then the field "Online text" matches value "text submission"