Behat: fix tests

pull/3064/head
Julio 5 years ago
parent 6183a2e909
commit 7d9576c8b8
  1. 2
      tests/behat/features/systemAnnouncements.feature
  2. 4
      tests/behat/features/toolDocument.feature
  3. 2
      tests/behat/features/toolExercise.feature

@ -18,5 +18,5 @@ Feature: System Announcements
Scenario: Delete system announcement
Given I am on "/main/admin/system_announcements.php"
When I follow "Delete"
Then I follow "Yes"
Then I press "Yes"
Then I should see "Announcement has been deleted"

@ -7,7 +7,7 @@ Feature: Document tool
Scenario: Create a folder
Given I am on "/resources/document/files?cid=1&sid=0"
Then I press "New folder"
Then I follow "New folder"
And I fill in the following:
| c_document_title | My new directory |
And I press "Save"
@ -15,7 +15,7 @@ Feature: Document tool
Scenario: Create a folder that already exists
Given I am on "/resources/document/files?cid=1&sid=0"
Then I press "New folder"
Then I follow "New folder"
And I fill in the following:
| c_document_title | My new directory |
And I press "Save"

@ -44,7 +44,7 @@ Feature: Exercise tool
Scenario: Add question "Multiple choice" to exercise created "Exercise 1"
Given I am on "/main/exercise/exercise.php?cid=1"
And I follow "Exercise 1"
And I follow "Add questions"
And I follow "Edit"
And I follow "Multiple choice"
When I fill in the following:
| questionName | Multiple choice |

Loading…
Cancel
Save