Merge branch 'MDL-75923-master' of https://github.com/andrewnicols/moodle

This commit is contained in:
Jun Pataleta 2022-10-10 18:24:06 +08:00
commit 00e28f5495

View file

@ -58,7 +58,7 @@ Feature: Apply content type to a tour
And I click on "New step" "link" And I click on "New step" "link"
And I set the field "Title" to "tour_activityinfo_course_teacher_title,tool_usertours" And I set the field "Title" to "tour_activityinfo_course_teacher_title,tool_usertours"
And I select "Manual" from the "Content type" singleselect And I select "Manual" from the "Content type" singleselect
And I set the field "id_content" to "<b>Test content</b>" And I set the field "id_content" to "<p><strong>Test content</strong></p>"
And I press "Save changes" And I press "Save changes"
And I should see "New: Activity information" And I should see "New: Activity information"
And I should see "Test content" And I should see "Test content"
@ -66,7 +66,7 @@ Feature: Apply content type to a tour
And I should see "Editing \"New: Activity information\"" And I should see "Editing \"New: Activity information\""
And I should not see "Language string ID" in the "#fitem_id_contentlangstring" "css_element" And I should not see "Language string ID" in the "#fitem_id_contentlangstring" "css_element"
And the field "Title" matches value "tour_activityinfo_course_teacher_title,tool_usertours" And the field "Title" matches value "tour_activityinfo_course_teacher_title,tool_usertours"
And the field "id_content" matches value "<b>Test content</b>" And the field "id_content" matches value "<p><strong>Test content</strong></p>"
@javascript @javascript
Scenario: Tour name and description can be translatable Scenario: Tour name and description can be translatable