The goal of this exercise is to demonstrate your QA automation skillset. In this repository is a simple pure .js
game of tic-tac-toe
. You can see it hosted here. To complete the challenge, please perform the following.
- Fork the repository to your personal github account.
- Using the automation tool of your choice,
e.g. Selenium, Cypress, Playwright
, showcase how you would test this app. All scripts should be saved in thetests
directory. - Any bugs encountered should be recorded in whichever convention you prefer and included in this repository.
- Once you've completed the work, push it to your forked repository, and submit a pull request to this repository. Please email us with a link to your pull request once completed.
- Code style
- Test case thoroughness
- Bug reporting style
- Two players take turns: placing 'X' and 'O' marks in empty spaces on a 3x3 square grid.
- Player with the 'X' mark starts first. The first player to place 3 marks in a vertical, horizontal, or diagonal row wins the game.
- If all spaces are filled, the game ends in a draw.
- open the
index.html
file in a browser of your choice.
- We've adapted the game from Aras Güngöre's repository