Skip to content

Commit

Permalink
Merge pull request #135 from Arquisoft/e2e-testing
Browse files Browse the repository at this point in the history
E2e testing
  • Loading branch information
iyanfdezz authored Apr 24, 2024
2 parents fc02c70 + 728e282 commit f69f88c
Show file tree
Hide file tree
Showing 28 changed files with 595 additions and 336 deletions.
315 changes: 6 additions & 309 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions webapp/e2e/features/add-friend.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Feature: Adding a friend

Scenario: The user can add a friend
Given A logged-in user and another user
When I add the user as a friend
Then The user should disappear from the Users page
6 changes: 6 additions & 0 deletions webapp/e2e/features/create-group.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Feature: Creating a group

Scenario: The user can create a group
Given A logged-in user
When I click on the Groups link and create a group
Then The confirmation message should be shown on screen
6 changes: 6 additions & 0 deletions webapp/e2e/features/login-form.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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 The home screen should be shown
6 changes: 6 additions & 0 deletions webapp/e2e/features/logout.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Feature: Logging out

Scenario: The user can logout
Given A logged-in user
When I click on the Logout link
Then The user should be logged out and the Login screen should be shown
6 changes: 6 additions & 0 deletions webapp/e2e/features/play-battery.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Feature: Answering a question

Scenario: The user can answer a question on Battery mode
Given A logged-in user
When I play on Battery mode and click on an answer
Then The next question should be loaded on screen
6 changes: 6 additions & 0 deletions webapp/e2e/features/play-calculator.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Feature: Answering a question

Scenario: The user can answer a question on Human Calculator mode
Given A logged-in user
When I play on Human Calculator mode and answer incorrectly
Then The game ends
Loading

0 comments on commit f69f88c

Please sign in to comment.