From b7d1cfca84197cee43165945b0d298bb9c2b0d2b Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Wed, 12 Mar 2014 12:01:55 +0800 Subject: [PATCH] MDL-44337 behat grammer improvements, see MDL-43236 --- mod/glossary/tests/behat/categories.feature | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/glossary/tests/behat/categories.feature b/mod/glossary/tests/behat/categories.feature index 68e88183e42..93eb90b8e35 100644 --- a/mod/glossary/tests/behat/categories.feature +++ b/mod/glossary/tests/behat/categories.feature @@ -6,18 +6,18 @@ Feature: Glossary entries can be organised in categories @javascript Scenario: Glossary entries can be organised in categories and categories can be autolinked - Given the following "users" exists: + Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@asd.com | | student1 | Student | 1 | student1@asd.com | - And the following "courses" exists: + And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | - And the following "course enrolments" exists: + And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | - And the following "activities" exists: + And the following "activities" exist: | activity | name | intro | course | idnumber | | glossary | MyGlossary | Test glossary description | C1 | glossary1 | | label | name | check autolinking of CategoryAutoLinks and CategoryNoLinks text | C1 | label1 | @@ -34,7 +34,7 @@ Feature: Glossary entries can be organised in categories When I follow "Course 1" Then I should see "CategoryAutoLinks" And I should see "CategoryNoLinks" - And "a.glossary.autolink" "css_element" should not exists + And "a.glossary.autolink" "css_element" should not exist # Create, edit and delete categories And I follow "MyGlossary" And I follow "Browse by category" @@ -100,7 +100,7 @@ Feature: Glossary entries can be organised in categories And I should see "CategoryAutoLinks" And I should see "CategoryAutoLinks" in the "a.glossary.autolink" "css_element" And I should see "CategoryNoLinks" - And "//a[contains(.,'CategoryNoLinks')]" "xpath_element" should not exists + And "//a[contains(.,'CategoryNoLinks')]" "xpath_element" should not exist # Delete a category with entries And I follow "Course 1" And I follow "MyGlossary"