generated from Arquisoft/wiq_0
-
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.
E2e test
- Loading branch information
Showing
8 changed files
with
259 additions
and
88 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
Feature: Registering a new user | ||
Feature: Login a registered user | ||
|
||
Scenario: The user is registered in the site | ||
Given A registered user | ||
When I fill the data in the form and press submit | ||
Then is logged | ||
Given An registered user | ||
When I fill the data in the form to log in | ||
Then is taken to the home page | ||
|
||
Scenario: User logs in with invalid credentials | ||
Given a registered user with username "testUser" and password "testpass" | ||
When I fill the login form with username "testUser" and incorrect password "wrongpass" | ||
And I remain on the login page | ||
|
||
Scenario: User attempts to login without entering credentials | ||
Given a registered user with username "testUser" and password "testpass" | ||
When I attempt to log in without entering any credentials | ||
And I remain on the login 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Feature: View and Change User Quiz Rankings | ||
|
||
Scenario: Viewing Global Rankings | ||
Given the user navigates to their profile | ||
When they select the "Global" category | ||
Then they see their performance statistics for global quizzes | ||
|
||
Scenario: Switching Category to Flags | ||
Given the user is on their profile page | ||
When they click on the "Flags" category | ||
Then they view their performance metrics for flag-related quizzes | ||
|
||
Scenario: Switching Category to Food | ||
Given the user is on their profile page | ||
When they click on the "Food" category | ||
Then they view their performance metrics for food-related quizzes | ||
|
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
Oops, something went wrong.