0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 13:39:22 +01:00

ci: Retry cypress tests before failing (#25404)

This commit is contained in:
timgl 2024-10-04 20:47:00 +01:00 committed by GitHub
parent a87b2dd08e
commit 5e7009dab3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ export default defineConfig({
// cypress default is 'top' this means sometimes the element is underneath the top navbar
// not what a human would do... so, set it to center to avoid this weird behavior
scrollBehavior: 'center',
retries: {runMode: 2},
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.