Comments (8)
Hey there! Thanks for the kind words and the issue. I can repro locally :). I'm going to investigate a little and give you feedbacks as soon as I can :)
from cypress-audit.
Has this been resolved somehow or is this still a thing?
EDIT: in my case, this was due to a service worker that was registered and breaks the origin thing :o. I've unregister it and then it worked again :o
from cypress-audit.
This shouldn't be an issue 🤔 . Do you have a record of a test to show what's going on the screen?
And if you're able to provide a repo that I can work with (in your case, moving to dependencies I can install) that would be awesome :).
Thanks for the issue opeening
from cypress-audit.
Here's a full reproducible repo: https://github.com/arvigeus/cypress-audit-issue
npm test
passes, but npm run e2e
complains.
Thanks!
(and awesome project, btw)
from cypress-audit.
Related: GoogleChrome/lighthouse#3024
from cypress-audit.
As an update: I managed to replicate the error. And at some point, I decided to clear the cypress cache by passing { disableStorageReset: false }
as option. Then, I re-run the test another time without this option and it looked to work 🤔
I'm not sure what's going on here. I've added a nextjs example in the example so that we can make verifications on this in CI / locally, but I have to admit that I have no idea what's going on here 😅
from cypress-audit.
I haven't had time to check your solution, but it seems right. Thanks a lot! 👍
from cypress-audit.
Has this been resolved somehow or is this still a thing?
EDIT: in my case, this was due to a service worker that was registered and breaks the origin thing :o. I've unregister it and then it worked again :o
thanks, it's 2023 and your solution still fixed the issue for me
from cypress-audit.
Related Issues (20)
- Light House: Save Trace File after audit HOT 1
- More detailed failure report HOT 1
- Error: Webpack Compilation Error: Module parse failed: Unexpected token (151:33) HOT 2
- Lighthouse check is skipped when we pass chrome binary path in cypress run HOT 1
- cy.pa11y() fails with the following error: The "listener" argument must be of type function. Received undefined
- Cypress Lighthouse test failing after latest Chrome Version Upgrade (Version 111.0.5563.64 ) HOT 30
- Can't install v1.4.1 via npm HOT 1
- Cypress-Audit support for Lighthouse-user-flow
- Unexpected token '||=' HOT 3
- Create output report (html and json) doesn't work HOT 4
- CRA example does not work out of the box: Unexpected token '??=' HOT 1
- pa11y/cypress integration with typescript
- Cypress screenshot error since Chrome 107
- cy.task('lighthouse') failed with the following error: > Unexpected token '??=' HOT 2
- VSCode Pa11y and typescript - /node_modules/.pnpm/@[email protected]/node_modules/@cypress-audit/pa11y/index.d.ts' is not a module HOT 1
- Seeing invalid arguments compilation error with HTML Reports "Expected 0 arguments, but got 1."
- This plugin doesn't work with Cypress version >= 13
- When cy.lighthouse() command is run, Cypress opens a new browser tab HOT 1
- Typescript: compilation error when using plugin with and Cypress >= 13.5.1 (no exported member BrowserLaunchOptions)
- 3rd party authentication scenario: lighthouse runs the login page on a separate new tab
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 cypress-audit.