Does it allow to run @testing-library/react based tests in Puppeteer?
No. pptr-testing-library was made to control puppeteer. So, technically puppeteer will render your app, then you use pptr-testing-library to query and manipulate the DOM (just like you would with react-testing-library).
Nope, we created a test suite with
cucumber-jsand a lot of custom steps to support Gherkin for our PMs and non-technical staff.Does it allow to run
@testing-library/reactbased tests inPuppeteer?Because I'm under the impression, they won't work together like that, and that's where I may be wrong.
No. pptr-testing-library was made to control puppeteer. So, technically puppeteer will render your app, then you use
pptr-testing-libraryto query and manipulate the DOM (just like you would withreact-testing-library).Thanks! That's what I thought. What I would like ultimately, is my unit-tests to run in an actual browser.