Closed zalo closed 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
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](https://github.com/zalo/CascadeStudio/raw/7a1d33995190fd44753b17667c7ea3bb6a3aef2c/test/__snapshots__/CascadeStudioTest/compares-page-screenshot/chromium-win32/test-chromium.png)
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.