MDL-58438 mod_lti: replace step using course overview block
authorSimey Lameze <simey@moodle.com>
Thu, 30 Mar 2017 01:37:38 +0000 (09:37 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 4 Apr 2017 10:01:56 +0000 (11:01 +0100)
Part of MDL-55611 epic.

mod/lti/tests/behat/renametool.feature

index c95dbc3..25eefbf 100644 (file)
@@ -18,8 +18,7 @@ Feature: Rename external tools via inline editing
   @javascript
   Scenario: Add a tool and inline edit
     When I log in as "teacher1"
-    And I follow "Course 1"
-    And I turn editing mode on
+    And I am on "Course 1" course homepage with editing mode on
     And I add a "External tool" to section "1" and I fill the form with:
       | Activity name | Test tool activity 1 |
     And I click on "Edit title" "link" in the "li#section-1" "css_element"