Skip to content

Commit d28c5ff

Browse files
authored
E2E: Testing recording e2e tests (grafana#21094)
1 parent 6de4933 commit d28c5ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
"typecheckPackages": "yarn workspaces run typecheck",
163163
"jest": "jest --notify --watch",
164164
"jest-ci": "mkdir -p reports/junit && export JEST_JUNIT_OUTPUT_DIR=reports/junit && jest --ci --reporters=default --reporters=jest-junit --maxWorkers 2",
165-
"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",
165+
"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",
166166
"e2e-tests": "yarn e2e",
167167
"e2e-tests:debug": "SLOWMO=1 yarn e2e --headed --no-exit",
168168
"api-tests": "jest --notify --watch --config=devenv/e2e-api-tests/jest.js",

packages/grafana-e2e/cypress.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"supportFile": "cypress/support/index.ts"
2+
"supportFile": "cypress/support/index.ts",
3+
"projectId": "zb7k1c"
34
}

0 commit comments

Comments
 (0)