feat: Remove experimentalRunEvents flag#15276
Conversation
|
Thanks for taking the time to open a PR!
|
|
Will these events be enabled in both interactive and non-interactive modes? |
|
Just run mode for the time being. |
|
I was hoping both, so I could switch code coverage plugin to it, otherwise no luck, has to happen in both modes https://github.com/cypress-io/code-coverage |
|
That requires more discussion and work to implement. For now, we're just removing the flag. |
Test summaryRun details
View run in Cypress Dashboard ➡️ Failures
Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
||||||||||||||||||||||||||||||||||||||
| }, { | ||
| name: 'experimentalRunEvents', | ||
| defaultValue: false, | ||
| validation: v.isBoolean, | ||
| isExperimental: true, |
There was a problem hiding this comment.
would it be good to add this to breakingOptions at the bottom of this file, so users get a warning that it's no longer required to pass this option?
jennifer-shehane
left a comment
There was a problem hiding this comment.
I'm trying to see that the events work without the flag and I can't console.log any of the details. I know I have the changes because I see the new warning message. Am I missing something? Running via yarn start.
module.exports = (on, config) => {
on('before:run', (details) => {
console.log(details)
})
on('before:spec', (spec) => {
console.log(spec)
})
on('after:spec', (spec, results) => {
console.log(spec, results)
})
on('after:run', (results) => {
console.log(results)
})
}Also, when did this happen to our CSS? 😳 This error message on the plugins is completely weird.
These events only fire in As for the CSS, I think the bootstrap upgrade would be the most likely culprit. |
There was a problem hiding this comment.
@chrisbreiding We didn't upgrade bootstrap recently that I'm aware of. Do you have a PR link?
I'll open a new PR to fix the CSS issue.
|
My mistake, I thought we had merged the bootstrap upgrade, but we haven't. Maybe the node-sass change? |
|
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |


User facing changelog
experimentalRunEventsconfiguration flag has been removed. It is no longer necessary to enable listening to run events in the plugins file.PR Tasks
cypress-documentation? Remove experimentalRunEvents flag cypress-documentation#3621type definitions?cypress.schema.json?