diff --git a/package.json b/package.json index dfd9ac621ab..54992fc7581 100644 --- a/package.json +++ b/package.json @@ -162,7 +162,7 @@ "typecheckPackages": "yarn workspaces run typecheck", "jest": "jest --notify --watch", "jest-ci": "mkdir -p reports/junit && export JEST_JUNIT_OUTPUT_DIR=reports/junit && jest --ci --reporters=default --reporters=jest-junit --maxWorkers 2", - "e2e": "cd packages/grafana-e2e && yarn start --env BASE_URL=$BASE_URL,CIRCLE_SHA2=$CIRCLE_SHA2,SLOWMO=$SLOWMO --config integrationFolder=../../public/e2e-tests/integration,screenshotsFolder=../../public/e2e-tests/screenShots,fileServerFolder=./cypress,video=false,viewportWidth=1920,viewportHeight=1080,trashAssetsBeforeRuns=false", + "e2e": "cd packages/grafana-e2e && yarn start --env BASE_URL=$BASE_URL,CIRCLE_SHA2=$CIRCLE_SHA2,SLOWMO=$SLOWMO --record --config integrationFolder=../../public/e2e-tests/integration,screenshotsFolder=../../public/e2e-tests/screenShots,fileServerFolder=./cypress,video=false,viewportWidth=1920,viewportHeight=1080,trashAssetsBeforeRuns=false", "e2e-tests": "yarn e2e", "e2e-tests:debug": "SLOWMO=1 yarn e2e --headed --no-exit", "api-tests": "jest --notify --watch --config=devenv/e2e-api-tests/jest.js", diff --git a/packages/grafana-e2e/cypress.json b/packages/grafana-e2e/cypress.json index f166e263abe..669491a269f 100644 --- a/packages/grafana-e2e/cypress.json +++ b/packages/grafana-e2e/cypress.json @@ -1,3 +1,4 @@ { - "supportFile": "cypress/support/index.ts" + "supportFile": "cypress/support/index.ts", + "projectId": "zb7k1c" }