From 6fd0dd55b517ecb2d0b7d6d6a730ccf6ef6aaddc Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Fri, 14 Jul 2023 15:28:54 +0200 Subject: [PATCH] chore: rename cypress dashboard to cypress cloud (#704) --- .circleci/config.yml | 2 +- .github/workflows/using-action.yml | 6 +++--- Jenkinsfile | 4 ++-- azure-ci.yml | 4 ++-- basic/.travis.yml | 2 +- basic/Jenkinsfile | 2 +- basic/azure-ci.yml | 4 ++-- basic/buildspec.yml | 4 ++-- buildspec.yml | 6 +++--- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 93eb8c7e5..75400be5b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -179,7 +179,7 @@ workflows: jobs: # checks out code and installs dependencies once # runs on 3 machines, load balances tests - # and records on Cypress Dashboard + # and records on Cypress Cloud - cypress/run: name: '3 machines' post-install: 'npm run build' diff --git a/.github/workflows/using-action.yml b/.github/workflows/using-action.yml index 2fb51097d..7d3609d29 100644 --- a/.github/workflows/using-action.yml +++ b/.github/workflows/using-action.yml @@ -23,7 +23,7 @@ jobs: strategy: # when one test fails, DO NOT cancel the other # containers, because this will kill Cypress processes - # leaving the Dashboard hanging ... + # leaving the Cypress Cloud dashboard hanging ... # https://github.com/cypress-io/github-action/issues/48 fail-fast: false matrix: @@ -54,7 +54,7 @@ jobs: strategy: # when one test fails, DO NOT cancel the other # containers, because this will kill Cypress processes - # leaving the Dashboard hanging ... + # leaving the Cypress Cloud dashboard hanging ... # https://github.com/cypress-io/github-action/issues/48 fail-fast: false matrix: @@ -81,5 +81,5 @@ jobs: # but for this particular project on Windows we need a different start command start-windows: npm run start env: - # pass the Dashboard record key as an environment variable + # pass the Cypress Cloud (dashboard) record key as an environment variable CYPRESS_RECORD_KEY: ${{ secrets.dashboardRecordKey }} diff --git a/Jenkinsfile b/Jenkinsfile index 2fbec2382..e34ab7adc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -66,7 +66,7 @@ pipeline { // from the previous stage stage('cypress parallel tests') { environment { - // we will be recording test results and video on Cypress dashboard + // we will be recording test results and video on Cypress Cloud // to record we need to set an environment variable // we can load the record key variable from credentials store // see https://jenkins.io/doc/book/using/using-credentials/ @@ -79,7 +79,7 @@ pipeline { // https://jenkins.io/doc/book/pipeline/syntax/#parallel parallel { // start several test jobs in parallel, and they all - // will use Cypress Dashboard to load balance any found spec files + // will use Cypress Cloud to load balance any found spec files stage('tester A') { steps { echo "Running build ${env.BUILD_ID}" diff --git a/azure-ci.yml b/azure-ci.yml index 9bff4ed6f..a49a89ce6 100644 --- a/azure-ci.yml +++ b/azure-ci.yml @@ -49,8 +49,8 @@ jobs: displayName: 'Cypress info' # The next command starts the server and runs Cypress end-to-end tests against it. - # The test artifacts (video, screenshots, test output) will be uploaded to Cypress dashboard. - # To record on Cypress dashboard we need to set CYPRESS_RECORD_KEY environment variable. + # The test artifacts (video, screenshots, test output) will be uploaded to Cypress Cloud. + # To record on Cypress Cloud we need to set CYPRESS_RECORD_KEY environment variable. # For setting ci-build-id, BUILD_BUILDNUMBER is a good candidate - script: | npx print-env AGENT diff --git a/basic/.travis.yml b/basic/.travis.yml index 95b39b9b6..8b87235d5 100644 --- a/basic/.travis.yml +++ b/basic/.travis.yml @@ -23,7 +23,7 @@ cache: script: # start server in the background - npm run start & - # run all Cypress tests and record on the dashboard + # run all Cypress tests and record on Cypress Cloud - npm run cy:run -- --record # after all tests finish running we need # to kill all background jobs (like "npm start &") diff --git a/basic/Jenkinsfile b/basic/Jenkinsfile index 44e32fa36..6469b31f8 100644 --- a/basic/Jenkinsfile +++ b/basic/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { stages { stage('build and test') { environment { - // we will be recording test results and video on Cypress dashboard + // we will be recording test results and video on Cypress Cloud // to record we need to set an environment variable // we can load the record key variable from credentials store // see https://jenkins.io/doc/book/using/using-credentials/ diff --git a/basic/azure-ci.yml b/basic/azure-ci.yml index 420fd31f1..a85480a9e 100644 --- a/basic/azure-ci.yml +++ b/basic/azure-ci.yml @@ -39,7 +39,7 @@ jobs: displayName: 'Cypress verify' # The next command starts the server and runs Cypress end-to-end tests against it. - # The test artifacts (video, screenshots, test output) will be uploaded to Cypress dashboard - # To record on Cypress dashboard we need to set CYPRESS_RECORD_KEY environment variable + # The test artifacts (video, screenshots, test output) will be uploaded to Cypress Cloud + # To record on Cypress Cloud we need to set CYPRESS_RECORD_KEY environment variable - script: npm run test:ci:record displayName: 'Run Cypress tests' diff --git a/basic/buildspec.yml b/basic/buildspec.yml index aaa192e6f..cdc22a2cd 100644 --- a/basic/buildspec.yml +++ b/basic/buildspec.yml @@ -5,7 +5,7 @@ phases: runtime-versions: nodejs: latest commands: - # Set COMMIT_INFO variables to send Git specifics to Cypress Dashboard when recording + # Set COMMIT_INFO variables to send Git specifics to Cypress Cloud when recording # https://docs.cypress.io/guides/continuous-integration/introduction#Git-information - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g')" - export COMMIT_INFO_MESSAGE="$(git log -1 --pretty=%B)" @@ -21,4 +21,4 @@ phases: build: commands: - npm run start & - - npx cypress run --record \ No newline at end of file + - npx cypress run --record diff --git a/buildspec.yml b/buildspec.yml index 22e667748..3684a8d6f 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -26,7 +26,7 @@ phases: runtime-versions: nodejs: latest commands: - # Set COMMIT_INFO variables to send Git specifics to Cypress Dashboard when recording + # Set COMMIT_INFO variables to send Git specifics to Cypress Cloud when recording # https://docs.cypress.io/guides/continuous-integration/introduction#Git-information - export COMMIT_INFO_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g')" - export COMMIT_INFO_MESSAGE="$(git log -1 --pretty=%B)" @@ -42,8 +42,8 @@ phases: build: # Per https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html # use $CODEBUILD_INITIATOR as it provides the entity that started the build - # which is unique and can be used as the --ci-build-id for the Cypress Dashboard + # which is unique and can be used as the --ci-build-id for the Cypress Cloud # e.g. awsCodeBuild-cypress-kitchen-sink/AWSCodeBuild-a14fc8e3-b5d6-42f9-9067-345d48a8f0fd commands: - npm run start & - - npx cypress run --record --parallel --ci-build-id $CODEBUILD_INITIATOR \ No newline at end of file + - npx cypress run --record --parallel --ci-build-id $CODEBUILD_INITIATOR