Skip to content

Commit 9813fe7

Browse files
committed
Fix behat test of custom help text in Scratchpad UI - not working in Moodle 5.0.
1 parent e36e807 commit 9813fe7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/behat/scratchpad_ui_params.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,7 @@ Feature: Test the Scratchpad UI, UI Params
368368

369369
When I choose "Preview" action for "Print answer" in the question bank
370370
And I click on "Scratchpad" "button"
371-
And I set the field "prefix_ans" to ""
372-
And I press the tab key
371+
And I click on "a.btn.btn-link[role='button']" "css_element" in the "[id$='_answer_help']" "css_element"
373372
Then I should see "superusefulhelptext"
374373

375374
Scenario: Set output_display_mode to text, 'print' a hidden div to output area

0 commit comments

Comments
 (0)