dotherightthing / wpdtrt-gallery

Gallery viewer which supports images, panoramas, maps, SoundCloud and Vimeo
1 stars 0 forks source link

Multiple spec files fail on Travis #80

Closed dotherightthing closed 4 years ago

dotherightthing commented 4 years ago

https://gitter.im/cypress-io/cypress?at=5d9ffeb480e62056e4e32649:

What's the recommended approach to organising tests for multiple variations of a front end component? I initially had all my tests in 1 spec file but split them out into 3 separate specs (so far) for manageability. This worked fine locally, but when I ran the 3 specs through Travis they failed due to cypress-io/cypress#1311. On that thread people also question visiting the same page multiple times, so I'm wondering how to refactor my 3 specs so that I don't need to also have 3x cy.visit()

dotherightthing commented 4 years ago

I've added https://github.com/Bkucera/cypress-plugin-retries and all 3 specs are now passing, but I wonder if there is a better way.

dotherightthing commented 4 years ago

Released in 1.8.7