瀏覽代碼

Fix tests

jmontoyaa 8 年之前
父節點
當前提交
1d770692c0
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      tests/behat/features/courseTools.feature

+ 4 - 4
tests/behat/features/courseTools.feature

@@ -42,7 +42,7 @@ Feature: Course tools basic testing
 
   Scenario: Make sure the tests tool is available
     Given I am on course "TEMP" homepage
-    And I am on "/main/exercice/exercice.php"
+    And I am on "/main/exercice/exercise.php"
     Then I should not see an ".alert-danger" element
 
   Scenario: Make sure the announcements tool is available
@@ -62,7 +62,7 @@ Feature: Course tools basic testing
 
   Scenario: Make sure the attendances tool is available
     Given I am on course "TEMP" homepage
-    And I am on "/main/attendances/index.php"
+    And I am on "/main/attendance/index.php"
     Then I should not see an ".alert-danger" element
 
   Scenario: Make sure the course progress tool is available
@@ -87,7 +87,7 @@ Feature: Course tools basic testing
 
   Scenario: Make sure the users tool is available
     Given I am on course "TEMP" homepage
-    And I am on "/main/user/index.php"
+    And I am on "/main/user/user.php"
     Then I should not see an ".alert-danger" element
 
   Scenario: Make sure the groups tool is available
@@ -97,7 +97,7 @@ Feature: Course tools basic testing
 
   Scenario: Make sure the chat tool is available
     Given I am on course "TEMP" homepage
-    And I am on "/main/chat/index.php"
+    And I am on "/main/chat/chat.php"
     Then I should not see an ".alert-danger" element
 
   Scenario: Make sure the assignments tool is available