Open-Assistant
Open-Assistant copied to clipboard
Automate e2e test of the website (basic)
This is an alternative to #376 that strips down the CI step to reduce any potential for unforeseen changes to other CI steps and avoids spamming the ghcr with docker builds.
I decided to test this version to prove if all the extra work the other version does was warranted and it appears if might not have been. The performance of building the container on demand actually seems to be better than building it using the reusable workflow and the only downside is that tests in different browsers would be run sequentially rather than in parallel. In the original PR it turned out however that Cypress seemed to have more to trouble working with firefox than chrome and so I figure it might be better to just test one browser for now for E2E tests as that should be more than sufficient as a smoke test (detecting browser specific failures is not really the goal atm).
Example of tests passing: https://github.com/othrayte/Open-Assistant/pull/6 Example of tests failing: https://github.com/othrayte/Open-Assistant/pull/7