You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Any idea how to run cypress-vite with @badeball/cypress-cucumber-preprocessor? Having such configuration in cypress config:
async function setupNodeEvents(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions,
): Promise<Cypress.PluginConfigOptions> {
await CypressCucumberPreProcessor.addCucumberPreprocessorPlugin(on, config);
on('file:preprocessor', vitePreprocessor());
return config;
}
Throws errors when running tests:
Oops...we found an error preparing this test file:
> cypress/e2e/404/404.feature
The error was:
RollupError: Unexpected token (Note that you need plugins to import files that are not JavaScript)
It works fine with @cypress/browserify-preprocessor and this config:
This issue is automatically marked as stale because it has been open for 30 days with no activity. Remove the stale label or leave a comment, or it will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity. Please feel free to open a new issue if you have any further questions.
Hello,
Any idea how to run
cypress-vite
with@badeball/cypress-cucumber-preprocessor
? Having such configuration in cypress config:Throws errors when running tests:
It works fine with
@cypress/browserify-preprocessor
and this config:The text was updated successfully, but these errors were encountered: