what's the best way to test a firefox extension when making code changes? I've been…
- User
what's the best way to test a firefox extension when making code changes? I've been trying various approaches: Tried Jest but ran into to many mocking and JSDOM limitations and was having to write tons of new code and modify existing working code to accomodate, not worth it. Tried Playwright but I had issues loading the extension into the tests in a clean and automated way, maybe "playwright-webextext" can fix this issue, I also tried a selenia/jest combo with selenia doing the testing to avoid the JSDOM and mocking issues and then using jest for interpreting but I couldn't get the code to work. So far nothing has worked. I am ready to re-approach all possible solutions and also consider playwright-webextext and the playwright VS Extension as well, this may solve a lot of the issues. What do you think?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.