-
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
Console messages not working? #67
Comments
Please provide the plugin version and the options you are using on the collector install. |
Have just updated to the latest version of the plugin and rechecked. The plugin installation:
And the support installation:
And in the code I have:
This is in a spec file, also tried from a helper file. Only the cy.log one seems to work. |
You shouldnt be using console logging in test code. Use cy.log there. The console logs only appear from your application that is tested. Cypress test execution is in primary browser frame and your site being tested is running in a child frame (iframe), only in the later we intercept console logging. |
If for some reason you still want to use console log in test code do: |
@archfz Is this documented in the README somewhere? I couldn't see it and thus assumed I could use |
No it's not documented. Let s add it in that case. |
Released in 3.0.2 |
Hello! I am trying to make console.log to show in the terminal but until now I've only managed to see cy.log. Cypress is still at version 5.5.0 and I;ve set the plugin to always display.
Tried console.log both in a test and outside, in a helper file.
The text was updated successfully, but these errors were encountered: