swyxkit
swyxkit copied to clipboard
Implement basic testing strategy for Swyxkit
We copied over the default Playwright tests in https://github.com/sw-yx/swyxkit/issues/62
But they are super naive. perhaps we should test the navigation and the search?
help?
hey @sw-yx, I'm not familiar with Playwright, so I'd like to give this a try if it's still up for grabs :)
yes @taismassaro up for grabs! also you can talk to @debs-obrien if you need playwright help!
one problem i have right now: the blog pages are rendered serverlessly, so it is possible for the build to succeed but for the pages to fail to render at runtime. how might an E2E test catch this issue?
(playwright probably cannot catch my specific problem, which is a netlify build issue, but just giving ideas for how to E2E test a blog with search/clientside navigation/rendering functionality)