forked from spgroup/rgms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5574ec
commit bdd6c4b
Showing
7 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,18 @@ Feature: member | |
As an administrator of the RGMS system | ||
I want to add, remove and modify users in the system. | ||
|
||
#if($newMemberWithValidMailServer) | ||
Scenario: new member with valid mail server | ||
Given the system has no member with username "usernametest" | ||
When I create a member with username "usernametest" with valid mail server | ||
Then the member with username "usernametest" is properly stored by the system | ||
|
||
#end | ||
#if($newMemberWithoutValidMailServer) | ||
Scenario: new member without valid mail server | ||
Given the system has no member with username "usernametest" | ||
When I create a member with username "usernametest" without a valid mail server | ||
Then the member with username "usernametest" is not properly stored by the system | ||
#end | ||
|
||
Scenario: list existing member | ||
Given the system has member with username "usernametest" | ||
|
@@ -35,23 +38,26 @@ Feature: member | |
|
||
# User | ||
|
||
#if($loginWithCorrectPassword) | ||
Scenario: login with correct password | ||
Given I am at the login page | ||
When I fill username and password with "admin" and "correctpassword" | ||
Then I am redirected to the corresponding page | ||
And A message indicating the user was successfully logged on is displayed | ||
#end | ||
|
||
Scenario: login with incorrect password | ||
Given I am at the login page | ||
When I fill username and password with "admin" and "incorrectpassword" | ||
Then I am still on the login page with an error message | ||
|
||
#if($validUserRegistration) | ||
Scenario: valid user registration | ||
Given I am at the register page | ||
When I fill the user details with a name "jose", a username "josesilva", a password1 "123456", a password2 "123456", a valid email "[email protected]", a university "UFPE" and a status "Graduate Student" | ||
Then I am redirected to the Login Page | ||
And A message indicating the user was successfully registered is displayed | ||
|
||
#end | ||
|
||
# Scenario: create member web | ||
# Given I am at the create member page | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters