From 4b14b223c2c0fdc37af30ea39ba8c7119c7a7d96 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Wed, 28 Sep 2016 07:17:54 +0800 Subject: [PATCH] MDL-55957 behat: Set some text before selecting in Atto --- mod/workshop/tests/behat/embedded_images.feature | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/workshop/tests/behat/embedded_images.feature b/mod/workshop/tests/behat/embedded_images.feature index 09de98a7818..03f298aa278 100644 --- a/mod/workshop/tests/behat/embedded_images.feature +++ b/mod/workshop/tests/behat/embedded_images.feature @@ -29,6 +29,7 @@ Feature: Teachers can embed images into instructions and conclusion fields # Embed the image into Instructions for submission. And I navigate to "Edit settings" node in "Workshop administration" And I expand all fieldsets + And I set the field "Instructions for submission" to "

Image test

" And I select the text in the "Instructions for submission" Atto editor And I click on "Image" "button" in the "#fitem_id_instructauthorseditor" "css_element" And I click on "Browse repositories..." "button" @@ -41,6 +42,7 @@ Feature: Teachers can embed images into instructions and conclusion fields # Embed the image into Instructions for assessment. And I navigate to "Edit settings" node in "Workshop administration" And I expand all fieldsets + And I set the field "Instructions for assessment" to "

Image test

" And I select the text in the "Instructions for assessment" Atto editor And I click on "Image" "button" in the "#fitem_id_instructreviewerseditor" "css_element" And I click on "Browse repositories..." "button" @@ -53,6 +55,7 @@ Feature: Teachers can embed images into instructions and conclusion fields # Embed the image into Conclusion. And I navigate to "Edit settings" node in "Workshop administration" And I expand all fieldsets + And I set the field "Conclusion" to "

Image test

" And I select the text in the "Conclusion" Atto editor And I click on "Image" "button" in the "#fitem_id_conclusioneditor" "css_element" And I click on "Browse repositories..." "button" -- 2.11.4.GIT