We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, May I ask for clarification on the integration with cypress-mochawesome-reporter?
cypress-mochawesome-reporter
According to the documentation, I've set up the integration in the e2e.ts file:
e2e.ts
import 'cypress-terminal-report/src/installLogsCollector' afterEach(() => { cy.wait(50, { log: false }).then(() => cy.addTestContext(Cypress.TerminalReport.getLogs('txt')) ) })
However, I'm getting this TS error: Property 'TerminalReport' does not exist on type 'Cypress & CyEventEmitter' Can you advise how to fix it, please?
Property 'TerminalReport' does not exist on type 'Cypress & CyEventEmitter'
package.json:
package.json
"cypress-terminal-report": "^5.3.11", "cypress-mochawesome-reporter": "^3.8.0", "cypress": "12.17.3",
tsconfig.json:
tsconfig.json
"compilerOptions": { "types": [ "node", "cypress", "@testing-library/cypress", "cypress-terminal-report", "cypress-mochawesome-reporter" ], "esModuleInterop": true,
The text was updated successfully, but these errors were encountered:
#233: Fix type issues for cypress-mochawesome-reporter integration.
0e2f5c9
Fix released in 5.3.12
Also added example integration in demo.
cc @bvandercar-vt Not sure why the change I made fixes it and why it was not working with your change.
Sorry, something went wrong.
No branches or pull requests
Hello,
May I ask for clarification on the integration with
cypress-mochawesome-reporter
?According to the documentation, I've set up the integration in the
e2e.ts
file:However, I'm getting this TS error:
Property 'TerminalReport' does not exist on type 'Cypress & CyEventEmitter'
Can you advise how to fix it, please?
package.json
:tsconfig.json
:The text was updated successfully, but these errors were encountered: