You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing the browser extension is tedious work and as complexity grows, covering every corner-case is going to be impossible. We need to find a way to test that the events captured during recording are correct and don't change unexpectedly during development.
Ideally we could dogfood k6 browser to test the extension. It's already possible to pass custom arguments to chromium so it should be possible to side-load the extension similar to how we do it in k6 Studio.
The bigger problem (aside from k6 browser lacking comforts like test suites) lies in getting the recorded events from the extension. A solution could be to expose a function in the web page that k6 browser could call using eval.
Criteria for considering it done
We should have a good idea if it's possible to do and if not, we should at least have an idea of the alternatives. If it's possible, it would be nice to have a proof of concept running a single test.
The text was updated successfully, but these errors were encountered:
What?
Testing the browser extension is tedious work and as complexity grows, covering every corner-case is going to be impossible. We need to find a way to test that the events captured during recording are correct and don't change unexpectedly during development.
Ideally we could dogfood k6 browser to test the extension. It's already possible to pass custom arguments to chromium so it should be possible to side-load the extension similar to how we do it in k6 Studio.
The bigger problem (aside from k6 browser lacking comforts like test suites) lies in getting the recorded events from the extension. A solution could be to expose a function in the web page that k6 browser could call using
eval
.Criteria for considering it done
We should have a good idea if it's possible to do and if not, we should at least have an idea of the alternatives. If it's possible, it would be nice to have a proof of concept running a single test.
The text was updated successfully, but these errors were encountered: