emahon / war-thunder-display

Repo for a test War Thunder display page
2 stars 0 forks source link

Automated testing #29

Open emahon opened 3 years ago

emahon commented 3 years ago

Use the War Thunder test flight debug mode to do automated testing

localhost:8111/editor/fm_commands

To check:

What tool to use? Cypress?

emahon commented 3 years ago

Cypress depends on NPM, so it would add a lot of libraries/overhead to the process. Which is a pain. On the other hand, it would be nice practice for work, and Cypress does work well.

emahon commented 3 years ago

Requirements for test libraries

Nice to haves for testing library:

emahon commented 3 years ago

Cypress can do server requests, planning on going with it.

Problem: It isn't installing right. Looks like it's having Python problems?

Potential contributing factors: Needed to install an old version of Node because the most recent one only supports Windows 8+, Chocolatey couldn't be installed (not sure why)

Maybe put automated testing on hold until finish with the computer upgrade and buy Windows 10 at that time.... Then I could use the WSL to make node/npm/cypress much easier.

emahon commented 3 years ago

Got cypress working by installing version 4.0.1. Now to actually write tests!