Rerun moderation/report tests on failure

- intermittent failing test
This commit is contained in:
Matt Rider 2019-04-27 13:45:37 -03:00
parent 3cfa5b0cd4
commit b8e17fa321
3 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,6 @@
import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps'
// intermittent failing tests
Cypress.env('RETRIES', 2)
/* global cy */

View File

@ -21,6 +21,7 @@
"cross-env": "^5.2.0",
"cypress": "^3.2.0",
"cypress-cucumber-preprocessor": "^1.11.0",
"cypress-plugin-retries": "^1.2.0",
"dotenv": "^7.0.0",
"faker": "^4.1.0",
"graphql-request": "^1.8.2",

View File

@ -1787,6 +1787,11 @@ cypress-cucumber-preprocessor@^1.11.0:
glob "^7.1.2"
through "^2.3.8"
cypress-plugin-retries@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/cypress-plugin-retries/-/cypress-plugin-retries-1.2.0.tgz#a4e120c1bc417d1be525632e7d38e52a87bc0578"
integrity sha512-seQFI/0j5WCqX7IVN2k0tbd3FLdhbPuSCWdDtdzDmU9oJfUkRUlluV47TYD+qQ/l+fJYkQkpw8csLg8/LohfRg==
cypress@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-3.2.0.tgz#c2d5befd5077dab6fb52ad70721e0868ac057001"