cypress-plugin-retries icon indicating copy to clipboard operation
cypress-plugin-retries copied to clipboard

Don't repeat on cypress open

Open fr0 opened this issue 5 years ago • 5 comments

I think this plugin should only take effect on cypress run, not on cypress open. When using cypress open, having the plugin makes it harder to debug problems because it starts repeating the test after an error and scrolls past the error.

fr0 avatar Feb 04 '20 17:02 fr0

@fr0 agreed. I'll turn that off by default and add a configuration variable to turn it back on

kuceb avatar Feb 07 '20 19:02 kuceb

Any update on this? I just finished installing and configuring it and the tests simply don't run on cypress open. If I do cypress run then tests run and I can see retries as expected.

There are no errors on console or browser. I'm using the latest Chrome with Cypress 3.7.0

dialex avatar Feb 10 '20 16:02 dialex

@dialex if you remove the retries plugin does cypress work as normal?

kuceb avatar Feb 10 '20 18:02 kuceb

Oh no, you're right, even without this plugin the tests don't run on cypress open 😵😱

Offtopic: I'm using Cypress 3.7.0 and I did not change anything about it. But Chrome recently updated to v80. Could it be a conflict between versions? Because the tests do run if I choose Electron v73.

Update: I upgraded Cypress to 4.0.1 and the issue persists... You can mark all my comments as offtopic, this is not related with this plugin. I guess I'll open an issue on Cypress.

dialex avatar Feb 11 '20 10:02 dialex

@dialex I believe its a problem with Chrome 80.

kuceb avatar Feb 11 '20 14:02 kuceb