wavesinaroom / my_odin_project_photo_tag

0 stars 0 forks source link

Router #8

Closed wavesinaroom closed 1 year ago

wavesinaroom commented 1 year ago

Description

Router takes players through the different sections of the game in the following way:

Home -> Gameplay ->Leader Board

Tests

wavesinaroom commented 1 year ago

Unfortunately unit tests weren't a good option for the app. Lots of clicking and other interactions needed manual testing instead. I wish I knew how to simulate clicks at specific coordinates but in spite of asking on StackOverflow, I couldn't get how to use the react testing library input user API

wavesinaroom commented 1 year ago

The unconclusive game over bug is back again so I can test how end game leads to the game leaderboard

wavesinaroom commented 1 year ago

I feel like I need more practice using Router. When I started working on this issue, I barely remembered the way it should go. Guess that the next project is gonna be a good opportunity to do so.