-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support cypress ^10.0.0 #34
Comments
Workaround while this is gets merged Add to the import { defineConfig } from "cypress";
export default defineConfig({
projectId: "****",
e2e: {
// Workaround until https://github.com/SMenigat/cypress-mailhog/issues/34 gets merged and the configuration of cypress-mailhog moves as an environmental variable
// @ts-ignore
mailHogUrl: "http://localhost:8025/",
setupNodeEvents() {},
},
component: {
devServer: {
framework: "next",
bundler: "webpack",
},
},
}); |
Hi @juancarlosjr97 , thanks for your participation and using this package. Something like this should work: export default defineConfig({
// ...
env: {
mailHogUrl: "http://localhost:8025/",
},
// ...
}); Configuring the @Pashozator was so kind to adjust the documentation accordingly here in #35 which we soon should be able to merge. |
Thank you @SMenigat! |
In cypress 10.0.0 cypress.json file is no longer supported.
We should use cypress env to provide
mailHogUrl
.The text was updated successfully, but these errors were encountered: