deep-sea-tactics / robot

robot source code
https://deep-sea-tactics.github.io/robot/
3 stars 0 forks source link

Add e2e/unit testing with playwright #13

Open willuhmjs opened 1 year ago

willuhmjs commented 1 year ago

Add e2e/unit testing to ensure inputs and outputs work properly, and to ensure components appear correctly. Mocking robot controls would likely be necessary.

LeoDog896 commented 1 year ago

We cant use CI because this is a private repository. In regards to playwright, it is absolutely a good idea - It would allow us to do safe refactoring of the frontend code (so we don't have the resizing incident happen again)..

dylansison commented 1 year ago

can't we just make it run tests as part of a push what makes ci unable

LeoDog896 commented 1 year ago

can't we just make it run tests as part of a push what makes ci unable

It's budgeted for private repositories.

willuhmjs commented 1 year ago

@LeoDog896 correction made

LeoDog896 commented 11 months ago

We can do e2e testing once the simulation is ready.