Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Suggestion
Reference:#5572
#5551 introduced a breakage into the website playground.
We don't have checks for this, so we didn't discover this until a few days after it had been merged and released.
The playground is the only part of the website that can easily and silently break due to dependency changes or changes in our packages because all the code is lazy-loaded.
It's too cumbersome to expect every relevant change to be manually tested against the website - so we should have automated testing to ensure that the page works correctly.
The MVP for this would be a test that ensures the playground can load without issue. Given the architecture this will likely need to be some form of webdriver (or whatever the best framework is) based e2e browser test, but we'd be more than open to some other solution if there's a better way to do it (even if it means some re-architecting of the tooling).
Full coverage would include a test that is an e2e browser test that enters code and config into the playground and asserts that the errors are shown.