mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-82599 lang: Use the fixed strings in tests, too
This commit is contained in:
parent
c5b3abf9f5
commit
7af4e8816f
14 changed files with 29 additions and 29 deletions
|
@ -40,7 +40,7 @@ Feature: In a lesson activity, a teacher can duplicate a lesson page
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodle_logo.jpg" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "It's the logo"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "It's the logo"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save page"
|
||||
And I follow "Duplicate page: First page name"
|
||||
|
@ -74,7 +74,7 @@ Feature: In a lesson activity, a teacher can duplicate a lesson page
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodle_logo.jpg" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "It's the logo"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "It's the logo"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save page"
|
||||
And I follow "Duplicate page: True false with an image in the answer"
|
||||
|
@ -111,7 +111,7 @@ Feature: In a lesson activity, a teacher can duplicate a lesson page
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodle_logo.jpg" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "It's the logo"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "It's the logo"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save page"
|
||||
And I follow "Duplicate page: True false with an image in the feedback"
|
||||
|
|
|
@ -48,7 +48,7 @@ Feature: In a lesson activity, teacher can add embedded images in questions answ
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodle_logo.jpg" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "It's the logo"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "It's the logo"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save page"
|
||||
And I set the field "qtype" to "Add a question page"
|
||||
|
@ -68,7 +68,7 @@ Feature: In a lesson activity, teacher can add embedded images in questions answ
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodle_logo.jpg" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "It's the logo"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "It's the logo"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save page"
|
||||
When I am on the "Test lesson name" "lesson activity" page logged in as student1
|
||||
|
|
|
@ -69,7 +69,7 @@ Feature: Teachers can override the grade for any question
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodle_logo.jpg" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "It's the logo"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "It's the logo"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save" and switch to main window
|
||||
And I switch to the main window
|
||||
|
|
|
@ -37,7 +37,7 @@ Feature: Teachers can embed images into instructions and conclusion fields
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodlelogo.png" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "How to submit"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "How to submit"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save and display"
|
||||
# Embed the image into Instructions for assessment.
|
||||
|
@ -48,7 +48,7 @@ Feature: Teachers can embed images into instructions and conclusion fields
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodlelogo.png" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "How to assess"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "How to assess"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save and display"
|
||||
# Embed the image into Conclusion.
|
||||
|
@ -59,7 +59,7 @@ Feature: Teachers can embed images into instructions and conclusion fields
|
|||
And I click on "Private files" "link" in the ".fp-repo-area" "css_element"
|
||||
And I click on "moodlelogo.png" "link"
|
||||
And I click on "Select this file" "button"
|
||||
And I set the field "How would you describe this image to someone who can't see it:" to "Well done"
|
||||
And I set the field "How would you describe this image to someone who can't see it?" to "Well done"
|
||||
And I click on "Save" "button" in the "Image details" "dialogue"
|
||||
And I press "Save and display"
|
||||
# Save the form and check the images are displayed in appropriate phases.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue