From 970fe33c1767e9e41449ecf58b40f6450a6e6d7d Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Fri, 14 Mar 2025 16:01:28 +0700 Subject: [PATCH] MDL-83541 qtype_ddimageortext: Fix Behat failure --- .../tests/behat/backup_and_restore.feature | 136 +++++++++--------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/question/type/ddimageortext/tests/behat/backup_and_restore.feature b/question/type/ddimageortext/tests/behat/backup_and_restore.feature index bf90ad48bb3..52326e2f8a1 100644 --- a/question/type/ddimageortext/tests/behat/backup_and_restore.feature +++ b/question/type/ddimageortext/tests/behat/backup_and_restore.feature @@ -33,71 +33,71 @@ Feature: Test duplicating a quiz containing a drag and drop onto image question And I am on the "Course 2" "core_question > course question bank" page And I choose "Edit question" action for "Drag onto image" in the question bank Then the following fields match these values: - | Question name | Drag onto image | - | General feedback |

More information about the major features of the Earth's surface can be found in Block 3, Section 6.2.

| - | Default mark | 1 | - | Shuffle | 0 | - | id_dropzonevisibility | 0 | - | id_drags_0_dragitemtype | Draggable text | - | id_drags_0_draggroup | 1 | - | id_draglabel_0 | island
arc | - | id_drags_1_dragitemtype | Draggable text | - | id_drags_1_draggroup | 1 | - | id_draglabel_1 | mid-ocean
ridge | - | id_drags_2_dragitemtype | Draggable text | - | id_drags_2_draggroup | 1 | - | id_draglabel_2 | abyssal
plain | - | id_drags_3_dragitemtype | Draggable text | - | id_drags_3_draggroup | 1 | - | id_draglabel_3 | continental
rise | - | id_drags_4_dragitemtype | Draggable text | - | id_drags_4_draggroup | 1 | - | id_draglabel_4 | ocean
trench | - | id_drags_5_dragitemtype | Draggable text | - | id_drags_5_draggroup | 1 | - | id_draglabel_5 | continental
slope | - | id_drags_6_dragitemtype | Draggable text | - | id_drags_6_draggroup | 1 | - | id_draglabel_6 | mountain
belt | - | id_drags_7_dragitemtype | Draggable text | - | id_drags_7_draggroup | 1 | - | id_draglabel_7 | continental
shelf | - | id_drops_0_xleft | 53 | - | id_drops_0_ytop | 17 | - | id_drops_0_choice | 7. mountain
belt | - | id_drops_1_xleft | 172 | - | id_drops_1_ytop | 2 | - | id_drops_1_choice | 8. continental
shelf | - | id_drops_2_xleft | 363 | - | id_drops_2_ytop | 31 | - | id_drops_2_choice | 5. ocean
trench | - | id_drops_3_xleft | 440 | - | id_drops_3_ytop | 13 | - | id_drops_3_choice | 3. abyssal
plain | - | id_drops_4_xleft | 115 | - | id_drops_4_ytop | 74 | - | id_drops_4_choice | 6. continental
slope | - | id_drops_5_xleft | 210 | - | id_drops_5_ytop | 94 | - | id_drops_5_choice | 4. continental
rise | - | id_drops_6_xleft | 310 | - | id_drops_6_ytop | 87 | - | id_drops_6_choice | 1. island
arc | - | id_drops_7_xleft | 479 | - | id_drops_7_ytop | 84 | - | id_drops_7_choice | 2. mid-ocean
ridge | - | For any correct response | Well done! | - | For any partially correct response | Parts, but only parts, of your response are correct. | - | id_shownumcorrect | 1 | - | For any incorrect response | That is not right at all. | - | Penalty for each incorrect try | 33.33333% | - | Hint 1 | Incorrect placements will be removed. | - | id_hintclearwrong_0 | 1 | - | id_hintshownumcorrect_0 | 1 | - | id_hintclearwrong_1 | 0 | - | id_hintshownumcorrect_1 | 1 | - | Hint 3 | Incorrect placements will be removed. | - | id_hintclearwrong_2 | 1 | - | id_hintshownumcorrect_2 | 1 | - | id_hintclearwrong_3 | 0 | - | id_hintshownumcorrect_3 | 1 | + | Question name | Drag onto image | + | General feedback |

More information about the major features of the Earth's surface can be found in Block 3, Section 6.2.

| + | Default mark | 1 | + | Shuffle | 0 | + | id_dropzonevisibility | 0 | + | id_drags_0_dragitemtype | Draggable text | + | id_drags_0_draggroup | 1 | + | id_draglabel_0 | island
arc | + | id_drags_1_dragitemtype | Draggable text | + | id_drags_1_draggroup | 1 | + | id_draglabel_1 | mid-ocean
ridge | + | id_drags_2_dragitemtype | Draggable text | + | id_drags_2_draggroup | 1 | + | id_draglabel_2 | abyssal
plain | + | id_drags_3_dragitemtype | Draggable text | + | id_drags_3_draggroup | 1 | + | id_draglabel_3 | continental
rise | + | id_drags_4_dragitemtype | Draggable text | + | id_drags_4_draggroup | 1 | + | id_draglabel_4 | ocean
trench | + | id_drags_5_dragitemtype | Draggable text | + | id_drags_5_draggroup | 1 | + | id_draglabel_5 | continental
slope | + | id_drags_6_dragitemtype | Draggable text | + | id_drags_6_draggroup | 1 | + | id_draglabel_6 | mountain
belt | + | id_drags_7_dragitemtype | Draggable text | + | id_drags_7_draggroup | 1 | + | id_draglabel_7 | continental
shelf | + | id_drops_0_xleft | 53 | + | id_drops_0_ytop | 17 | + | id_drops_0_choice | 7. mountain
belt | + | id_drops_1_xleft | 172 | + | id_drops_1_ytop | 2 | + | id_drops_1_choice | 8. continental
shelf | + | id_drops_2_xleft | 363 | + | id_drops_2_ytop | 31 | + | id_drops_2_choice | 5. ocean
trench | + | id_drops_3_xleft | 440 | + | id_drops_3_ytop | 13 | + | id_drops_3_choice | 3. abyssal
plain | + | id_drops_4_xleft | 115 | + | id_drops_4_ytop | 74 | + | id_drops_4_choice | 6. continental
slope | + | id_drops_5_xleft | 210 | + | id_drops_5_ytop | 94 | + | id_drops_5_choice | 4. continental
rise | + | id_drops_6_xleft | 310 | + | id_drops_6_ytop | 87 | + | id_drops_6_choice | 1. island
arc | + | id_drops_7_xleft | 479 | + | id_drops_7_ytop | 84 | + | id_drops_7_choice | 2. mid-ocean
ridge | + | For any correct response | Well done! | + | For any partially correct response | Parts, but only parts, of your response are correct. | + | id_shownumcorrect | 1 | + | For any incorrect response | That is not right at all. | + | Penalty for each incorrect try | 33.33333% | + | Hint 1 | 1. Incorrect placements will be removed. | + | id_hintclearwrong_0 | 1 | + | id_hintshownumcorrect_0 | 1 | + | id_hintclearwrong_1 | 0 | + | id_hintshownumcorrect_1 | 1 | + | Hint 3 | 3. Incorrect placements will be removed. | + | id_hintclearwrong_2 | 1 | + | id_hintshownumcorrect_2 | 1 | + | id_hintclearwrong_3 | 0 | + | id_hintshownumcorrect_3 | 1 |