Skip to content

Commit 26a71fe

Browse files
authored
chore: Use the same dashboard project ID for all Cypress monorepo packages (#23981)
1 parent 2727ccd commit 26a71fe

File tree

5 files changed

+5
-17
lines changed

5 files changed

+5
-17
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ commands:
559559
cmd=$([[ <<parameters.percy>> == 'true' ]] && echo 'yarn percy exec --parallel -- --') || true
560560
DEBUG=<<parameters.debug>> \
561561
CYPRESS_KONFIG_ENV=production \
562-
CYPRESS_RECORD_KEY=${TEST_LAUNCHPAD_RECORD_KEY:-$MAIN_RECORD_KEY} \
562+
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
563563
PERCY_PARALLEL_NONCE=$CIRCLE_WORKFLOW_WORKSPACE_ID \
564564
PERCY_ENABLE=${PERCY_TOKEN:-0} \
565565
PERCY_PARALLEL_TOTAL=-1 \

packages/app/cypress.config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import { defineConfig } from 'cypress'
2-
import getenv from 'getenv'
32
import { initGitRepoForTestProject, resetGitRepoForTestProject } from './cypress/tasks/git'
43

5-
const CYPRESS_INTERNAL_CLOUD_ENV = getenv('CYPRESS_INTERNAL_CLOUD_ENV', process.env.CYPRESS_INTERNAL_ENV || 'development')
6-
const CYPRESS_INTERNAL_DEV_PROJECT_ID = getenv('CYPRESS_INTERNAL_DEV_PROJECT_ID', process.env.CYPRESS_INTERNAL_DEV_PROJECT_ID || 'sehy69')
7-
84
export default defineConfig({
9-
projectId: CYPRESS_INTERNAL_CLOUD_ENV === 'staging' ? 'ypt4pf' : CYPRESS_INTERNAL_DEV_PROJECT_ID,
5+
projectId: 'ypt4pf',
106
retries: {
117
runMode: 2,
128
openMode: 0,

packages/frontend-shared/cypress.config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { defineConfig } from 'cypress'
22

3-
import getenv from 'getenv'
4-
5-
const CYPRESS_INTERNAL_CLOUD_ENV = getenv('CYPRESS_INTERNAL_CLOUD_ENV', process.env.CYPRESS_INTERNAL_ENV || 'development')
6-
73
export default defineConfig({
8-
projectId: CYPRESS_INTERNAL_CLOUD_ENV === 'staging' ? 'ypt4pf' : 'sehy69',
4+
projectId: 'ypt4pf',
95
viewportWidth: 800,
106
viewportHeight: 850,
117
retries: {

packages/frontend-shared/cypress/fixtures/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"field": "port"
159159
},
160160
{
161-
"value": "sehy69",
161+
"value": "ypt4pf",
162162
"from": "config",
163163
"field": "projectId"
164164
},

packages/launchpad/cypress.config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
import { defineConfig } from 'cypress'
2-
import getenv from 'getenv'
32
import { snapshotCypressDirectory } from './cypress/tasks/snapshotsScaffold'
43
import { uninstallDependenciesInScaffoldedProject } from './cypress/tasks/uninstallDependenciesInScaffoldedProject'
54

6-
const CYPRESS_INTERNAL_CLOUD_ENV = getenv('CYPRESS_INTERNAL_CLOUD_ENV', process.env.CYPRESS_INTERNAL_ENV || 'development')
7-
const CYPRESS_INTERNAL_DEV_PROJECT_ID = getenv('CYPRESS_INTERNAL_DEV_PROJECT_ID', process.env.CYPRESS_INTERNAL_DEV_PROJECT_ID || 'sehy69')
8-
95
export default defineConfig({
10-
projectId: CYPRESS_INTERNAL_CLOUD_ENV === 'staging' ? 'ypt4pf' : CYPRESS_INTERNAL_DEV_PROJECT_ID,
6+
projectId: 'ypt4pf',
117
viewportWidth: 800,
128
viewportHeight: 850,
139
retries: {

0 commit comments

Comments
 (0)