Update automated testing to prepare a course and reflect a change in a form

1.10.x
Yannick Warnier 10 years ago
parent a23f007140
commit 197abe7164
  1. 7
      tests/features/courseTools.feature
  2. 2
      tests/features/createUser.feature

@ -5,6 +5,13 @@ Feature: Course tools basic testing
As a teacher
I need to be able to enter a course and each of its tools
Scenario: Create a course before testing
Given I am a platform administrator
And I am on "/main/admin/course_add.php"
When I fill in "title" with "TEMP"
And I press "submit"
Then I should see "Course list"
Scenario: Make sure the course exists
Given I am a platform administrator
Given course "TEMP" exists

@ -27,7 +27,7 @@ Feature: Users management as admin
Scenario: Search and delete a user
Given I am a platform administrator
And I am on "/main/admin/user_list.php"
And I fill in "user-search-keyword" with "smarshall"
And I fill in "keyword" with "smarshall"
And I press "submit"
When I follow "Delete"
Then I should see "The user has been deleted"

Loading…
Cancel
Save