The rules of Wordle are simple. Your objective is to guess a secret five-letter word in as few guesses as possible.
To submit a guess, type any five-letter word and press enter.
All of your guesses must be real words, according to a dictionary of five-letter words that Wordle allows as guesses.
Players have to guess a five-letter word.
Given the target word is:
| B | L | A | N | D |
|---|
When the player enters the following letters:
| B | E | A | S | T |
|---|---|---|---|---|
| B | R | A | I | N |
| P | L | A | I | N |
| P | L | A | N | E |
| P | L | A | N | T |
| P | L | A | N | K |
Then the player should lose the game
Given the target word is:
| B | L | A | N | D |
|---|
When the player enters the following letters:
| B | E | A | S | T |
|---|---|---|---|---|
| B | R | A | I | N |
| B | L | A | N | D |
Then the squares should be colored as follows:
| GREEN | GRAY | GREEN | GRAY | GRAY |
|---|---|---|---|---|
| GREEN | GRAY | GREEN | GRAY | YELLOW |
| GREEN | GREEN | GREEN | GREEN | GREEN |
And the player should win the game
Given the target word is "{target word}"
When the player plays "{player input}"
Then the squares should be colored as follows:
| {cell 1} | {cell 2} | {cell 3} | {cell 4} | {cell 5} |
|---|
Given the target word is:
| B | L | A | N | D |
|---|
When the player enters the following letters:
| P | R | I | N | T |
|---|
Then the squares should be colored as follows:
| GRAY | GRAY | GRAY | GREEN | GRAY |
|---|
Given the target word is:
| B | L | A | N | D |
|---|
When the player attempts to enter the following letters:
| {Letter 1} | {Letter 2} | {Letter 3} | {Letter 4} | {Letter 5} |
|---|
Then the attempt should be rejected
Given the target word is:
| B | L | A | N | D |
|---|
When the player enters the following letters:
| L | A | B | E | L |
|---|
Then the squares should be colored as follows:
| YELLOW | YELLOW | YELLOW | GRAY | GRAY |
|---|
Given the target word is:
| B | L | A | N | D |
|---|
When the player enters the following letters:
| B | R | A | I | N |
|---|
Then the squares should be colored as follows:
| GREEN | GRAY | GREEN | GRAY | YELLOW |
|---|
| Number of Scenarios | 7 | Total Duration | 349ms |
| Total Number of Test Cases | 11 | Fastest Test | 17ms |
| Number of Manual Test Cases | 0 | Slowest Test | 178ms |
| Tests Started | Jan 08, 2026 10:13:28 | Average Execution Time | 44ms |
| Tests Finished | Jan 08, 2026 10:13:28 | Total Execution Time | 516ms |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Game Rules | Player runs out of tries | 3 | 10:13:28 | 178ms | ||
| Game Rules |
Letters should be displayed with the correct color
3 passing test cases |
3 | 10:13:28 | 112ms | ||
| Game Rules | Player guesses the right word | 4 | 10:13:28 | 025ms | ||
| Game Rules | Correctly placed letters | 3 | 10:13:28 | 046ms | ||
| Game Rules |
Letters that do not form valid words should be rejected
3 passing test cases |
3 | 10:13:28 | 108ms | ||
| Game Rules | Letters that are present but not in the right place | 3 | 10:13:28 | 024ms | ||
| Game Rules | Two incorrectly placed letters | 3 | 10:13:28 | 023ms |