From f60404b5cafd1defa7cc70b3c464a4691c0f65cd Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 20 Apr 2017 12:32:05 +0800 Subject: [PATCH] MDL-57456 mod_glossary: Proper course access in behat test --- mod/glossary/tests/behat/edit_tags.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/glossary/tests/behat/edit_tags.feature b/mod/glossary/tests/behat/edit_tags.feature index c08dabcdf7d..d4461c17eba 100644 --- a/mod/glossary/tests/behat/edit_tags.feature +++ b/mod/glossary/tests/behat/edit_tags.feature @@ -17,7 +17,7 @@ Feature: Edited glossary entries handle tags correctly | teacher1 | C1 | editingteacher | | student1 | C1 | student | And I log in as "teacher1" - And I follow "Course 1" + And I am on "Course 1" course homepage And I turn editing mode on And I add a "Glossary" to section "1" and I fill the form with: | Name | Test glossary | @@ -26,7 +26,7 @@ Feature: Edited glossary entries handle tags correctly Scenario: Glossary entry edition of custom tags works as expected Given I log in as "teacher1" - And I follow "Course 1" + And I am on "Course 1" course homepage And I follow "Test glossary" And I press "Add a new entry" And I set the following fields to these values: @@ -52,7 +52,7 @@ Feature: Edited glossary entries handle tags correctly And I press "Continue" And I log out And I log in as "teacher1" - And I follow "Course 1" + And I am on "Course 1" course homepage And I follow "Test glossary" And I press "Add a new entry" And I expand all fieldsets