mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-49105 mod_lesson: Removed unused image insert step in behat
This commit is contained in:
parent
d0c36ce621
commit
15aacd0454
1 changed files with 0 additions and 11 deletions
|
@ -17,10 +17,6 @@ Feature: In a lesson activity, teacher can add an essay question
|
||||||
| teacher1 | C1 | editingteacher |
|
| teacher1 | C1 | editingteacher |
|
||||||
| student1 | C1 | student |
|
| student1 | C1 | student |
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I navigate to "My private files" node in "My profile"
|
|
||||||
And I upload "mod/lesson/tests/fixtures/moodle_logo.jpg" file to "Files" filemanager
|
|
||||||
And I click on "Save changes" "button"
|
|
||||||
When I am on homepage
|
|
||||||
And I follow "Course 1"
|
And I follow "Course 1"
|
||||||
And I turn editing mode on
|
And I turn editing mode on
|
||||||
And I add a "Lesson" to section "1" and I fill the form with:
|
And I add a "Lesson" to section "1" and I fill the form with:
|
||||||
|
@ -34,13 +30,6 @@ Feature: In a lesson activity, teacher can add an essay question
|
||||||
And I set the following fields to these values:
|
And I set the following fields to these values:
|
||||||
| Page title | Essay question |
|
| Page title | Essay question |
|
||||||
| Page contents | <p>Please write a story about a <b>frog</b>.</p> |
|
| Page contents | <p>Please write a story about a <b>frog</b>.</p> |
|
||||||
And I click on "Image" "button"
|
|
||||||
And I click on "Browse repositories..." "button"
|
|
||||||
And I click on "Private files" "link"
|
|
||||||
And I click on "moodle_logo.jpg" "link"
|
|
||||||
And I click on "Select this file" "button"
|
|
||||||
And I set the field "Describe this image for someone who cannot see it" to "It's the logo"
|
|
||||||
And I click on "Save image" "button"
|
|
||||||
And I press "Save page"
|
And I press "Save page"
|
||||||
And I log out
|
And I log out
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue