POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Play the word 'ABCDE'
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Play the word 'FEAST'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word BLAND
Play the word 'BLAND'
Request the answer
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Play the words '{FEAST,BEAST}'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word BLAND
Play the words '{BEAST,BRAIN,BLAND}'
The game history should be correctly recorded
The player wins
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Get the game result
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Play the word 'FEAST'
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Request the answer
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word {word}
Play the word '{word}'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word {word}
Play the word 'BOARD'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word {word}
Play the word 'CROWN'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word {word}
Play the word 'ORGAN'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word {word}
Play the word 'BRACE'
Get the game history
POST http://localhost:38083/wordle/api/auth/register
POST http://localhost:38083/wordle/api/auth/login
Create a new game
Create a new game with the word {word}
Play the word '{word}'
Get the game history
Number of Scenarios | 14 | Total Duration | 3s |
Total Number of Test Cases | 14 | Fastest Test | 96ms |
Number of Manual Test Cases | 0 | Slowest Test | 312ms |
Tests Started | Mar 12, 2024 07:14:29 | Average Execution Time | 226ms |
Tests Finished | Mar 12, 2024 07:14:32 | Total Execution Time | 3s |
feature | Scenario | Context | Steps | Started | Total Duration | Result |
---|---|---|---|---|---|---|
Playing the game | Invalid words should be rejected with a 403 error | 4 | 07:14:29 | 296ms | ||
Playing the game | When we make a move, the move is recorded in the game history | 5 | 07:14:29 | 312ms | ||
Playing the game | After the game has finished the answer can be revealed via via GET /api/game/{id}/answer | 6 | 07:14:29 | 213ms | ||
Playing the game | We can check the current state of the game by sending a GET to /api/game/{id}/guesses | 5 | 07:14:30 | 165ms | ||
Playing the game | This is an example of a complete game played via the API | 7 | 07:14:30 | 288ms | ||
Playing the game | We can get the current game result by sending a GET to /api/game/{id}/result | 4 | 07:14:30 | 268ms | ||
Playing the game | We make a move by posting a word to the with the /api/game/{id}/word end-point | 4 | 07:14:31 | 211ms | ||
Playing the game | If we try to ask for the answer by sending a GET to /api/game/{id}/answer | 4 | 07:14:31 | 282ms | ||
Playing the game |
[1] word=CRYPT, guess=CRYPT, cell1=GREEN, cell2=GREEN, cell3=GREEN, cell4=GREEN, cell5=GREEN
1 passing test case |
6 | 07:14:32 | 096ms | ||
Playing the game |
[2] word=CRYPT, guess=BOARD, cell1=GRAY, cell2=GRAY, cell3=GRAY, cell4=YELLOW, cell5=GRAY
1 passing test case |
6 | 07:14:32 | 157ms | ||
Playing the game |
[3] word=CRYPT, guess=CROWN, cell1=GREEN, cell2=GREEN, cell3=GRAY, cell4=GRAY, cell5=GRAY
1 passing test case |
6 | 07:14:32 | 165ms | ||
Playing the game |
When the word is CRYPT and the guess is ORGAN, the row is GRAY, GREEN, GRAY, GRAY, GRAY
1 passing test case |
6 | 07:14:32 | 308ms | ||
Playing the game |
When the word is CRYPT and the guess is BRACE, the row is GRAY, GREEN, GRAY, YELLOW, GRAY
1 passing test case |
6 | 07:14:32 | 186ms | ||
Playing the game |
When the word is CRYPT and the guess is CRYPT, the row is GREEN, GREEN, GREEN, GREEN, GREEN
1 passing test case |
6 | 07:14:32 | 230ms |