Comments (6)
@nickmccurdy source maps get added by the stringify function and you already call it https://github.com/testing-library/testing-library-recorder-extension/blob/main/src/RecorderPlugin.ts#L13 so no changes in the code are needed (only need to update to the latest replay version).
from testing-library-recorder-extension.
@nickmccurdy fyi!
from testing-library-recorder-extension.
Thanks, this looks like it would be handy! Is there any implementation documentation or code sample for it yet?
from testing-library-recorder-extension.
Hi Nick, it will work once you upgrade the @puppeteer/replay dependency in this project and rebuild. There's no extra implementation needed.
To see how we build it, this is the code: https://github.com/puppeteer/replay/blob/main/src/stringify.ts#L68
from testing-library-recorder-extension.
Is this a side effect of importing the library or do I need to call stringify
?
from testing-library-recorder-extension.
Ah, I got confused because I forgot about how the extension gets registered, thanks!
from testing-library-recorder-extension.
Related Issues (20)
- Support other Testing Library packages HOT 1
- Support setting viewport size HOT 1
- `user-event` v14 should be called with `userEvent.setup()` before used HOT 1
- Adopt config from other Testing Library repos HOT 1
- Test with coffee cart demo
- Network requests failing
- user-event import failing
- Smart imports
- Some userEvent calls are being incorrectly awaited HOT 2
- Upstream Chrome types
- Document troubleshooting
- Set up All Contributors
- Set up Semantic Release
- Add support for text and xpath selectors HOT 1
- Support copy single step as Testing library script HOT 2
- Use `findBy` queries
- Missing warning when a `navigate` step is stringified alone
- Test warnings
- Document step export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testing-library-recorder-extension.