diff --git a/mod/wiki/tests/behat/wiki_formats.feature b/mod/wiki/tests/behat/wiki_formats.feature index 769e87c6eaf..7a130ea2ad3 100644 --- a/mod/wiki/tests/behat/wiki_formats.feature +++ b/mod/wiki/tests/behat/wiki_formats.feature @@ -67,8 +67,7 @@ Feature: There is a choice of formats for editing a wiki page When I set the following fields to these values: | HTML format | 1 | And I press "Create page" - Then "#id_newcontent_editoreditable" "css_element" should exist - And ".editor_atto_content" "css_element" should exist + Then "#fitem_id_newcontent_editor" "css_element" should exist And I set the following fields to these values: | HTML format | I'm a text | And I press "Save"