zalo / CascadeStudio

A Full Live-Scripted CAD Kernel in the Browser
https://zalo.github.io/CascadeStudio/
MIT License
998 stars 122 forks source link

[FEAT] Add Initial E2E Testing #105

Closed zalo closed 3 years ago

zalo commented 3 years ago

This PR adds an initial implementation for end to end testing via playwright-test.

The Continuous Integration system spins up a Windows VM, a locally hosted version of CascadeStudio, and a chromium browser to take a picture and compare its pixels with the one below: Test Image

If there are any differences (like, another slash in the code editor), the test will fail and upload the diff images to explain what went wrong.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/zalo/cascade-studio/FKGoNVz9RE2K1nYAopp9xryb6Chy
✅ Preview: https://cascade-studio-git-feat-e2e-tests-zalo.vercel.app