Skip to content
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

Failing to use [name] for reportFilename #212

Open
KRajeshBabu opened this issue Feb 10, 2023 · 1 comment
Open

Failing to use [name] for reportFilename #212

KRajeshBabu opened this issue Feb 10, 2023 · 1 comment

Comments

@KRajeshBabu
Copy link

With below config, report file is getting file name [name]-ui_automation_02092023_230625.html.
I am expecting something like smoke-ui_automation_02092023_230625.html for file cypress\e2e\native\smoke\smoke.cy.js.

reporter: 'cypress-mochawesome-reporter',
    reporterOptions: {
        reportFilename: '[name]-ui_automation',
        reportPageTitle: 'UI Test Automation Report',
        timestamp: 'mmddyyyy_HHMMss'
    }
@adamgruber
Copy link
Owner

I created a small example using your config and it is working: ma-cypress.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants