We wrote an open source tool called “Root Cause” that gives a better debugging experience for puppeteer/playwright tests. You can think of it as “cypress like debugging for puppeteer and playwright”.
Checklist
[x] The code has been run through pretty yarn run pretty
[x] The tests pass on CircleCI (Master fails since "bump all", couldn't figure-out why that test fails)
[x] You have referenced the issue(s) or other PR(s) this fixes/relates-to
[x] The PR Template has been filled out (see below)
[x] Had a beer/coffee because you are awesome
What?
Add root-cause to the e2e tests
Why?
When integrated, Root Cause will trace calls (or “test steps”) to the test automation library (puppeteer/playwright) and capture screenshot, console and network logs and other debug info, and make it all viewable in an intuitive viewer.
I was looking for open-source libraries with nice puppeteer/playwright e2e tests to integrate with so we can gather product feedback.
This PR adds root cause to this project. Note none of this is automatic and I actually went through the code to integrate.
Cloud Viewer
Testim.io also has a cloud offering of root-cause (like circleci for open source). It’s still very early on but we’d like to offer you “root cause cloud” for free. It basically makes it much easier to collaborate on e2e test results and debug why e2e tests failed.
I didn’t want to go ahead and register for you because that felt pushy to me and I’m trying to be helpful and gather feedback for this thing we’ve built.
To upload results to the cloud viewer, you will need to register to testim at https://app.testim.io/#/signup?fromRootCause=true and add your access token as an environment variable as described in the getting started page. Once you do that please let me know and I’ll be happy to enable it or your account.
Hey đź‘‹
We wrote an open source tool called “Root Cause” that gives a better debugging experience for puppeteer/playwright tests. You can think of it as “cypress like debugging for puppeteer and playwright”.
Checklist
yarn run pretty
What?
Add root-cause to the e2e tests
Why?
When integrated, Root Cause will trace calls (or “test steps”) to the test automation library (puppeteer/playwright) and capture screenshot, console and network logs and other debug info, and make it all viewable in an intuitive viewer.
I was looking for open-source libraries with nice puppeteer/playwright e2e tests to integrate with so we can gather product feedback.
This PR adds root cause to this project. Note none of this is automatic and I actually went through the code to integrate.
Cloud Viewer
Testim.io also has a cloud offering of root-cause (like circleci for open source). It’s still very early on but we’d like to offer you “root cause cloud” for free. It basically makes it much easier to collaborate on e2e test results and debug why e2e tests failed.
I didn’t want to go ahead and register for you because that felt pushy to me and I’m trying to be helpful and gather feedback for this thing we’ve built.
To upload results to the cloud viewer, you will need to register to testim at https://app.testim.io/#/signup?fromRootCause=true and add your access token as an environment variable as described in the getting started page. Once you do that please let me know and I’ll be happy to enable it or your account.
How?
Integration with jest
Feel good image: