-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: Cypress is not defined #34
Comments
This is the second issue with 4.8 cypress so it most likely is not compatible with current version. |
Released in 1.4.0. I could not reproduce this exact issue and it worked with the current changes on 1.4.0. Please feel free to provide more details if this still reproduces. |
Caught the same error on my side too. I use webpack + cypress, upgraded both (1.2.1 => 1.4.0 and 4.6 => 4.8) before it's failing. |
The testing in this repo was updated to cypress 4.8 and it works just fine. I'd need more details to debug this. The way the plugin is installed changed a bit, can you check the readme and make the modifications, maybe that helps. Also you could check how the plugin is installed in this repo on the test/cypress |
I wonder if this is also related to webpack as well :-? |
@archfz I just checked the test and found it's the After switched it, problem solved. |
Yeah, switch collector to start in support, and printer in plugins. |
Released in 1.4.1. |
I have same error with cypress. versions: "@cypress/react": "^6.0.0",
"@cypress/webpack-dev-server": "^2.0.0",
"autoprefixer": "^9",
"cypress": "^10.3.1", and this is my test code import { mount } from '@cypress/react';
import App from './App';
it('renders main react link', () => {
mount(<App />);
cy.get('h2').contains('Adding Two Numbers');
}); command: yarn test. This is output
Please give me a hand. |
@DevLancertest do you even use the cypress terminal report plugin? |
Thanks @archfz |
I tried adding this plugin to my Cypress project after discovering
console.log
did not print as expected, following the instructions in the README on latest version of Cypress (4.8.0), and I get this error when trying to run tests:The text was updated successfully, but these errors were encountered: