Skip to content

Commit e3435b6

Browse files
astone123mattvCypressamehta265
authored
chore: re-name dashboard references to Cypress Cloud (#24699)
Co-authored-by: mattvCypress <mattv@cypress.io> Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
1 parent ed90b14 commit e3435b6

File tree

77 files changed

+313
-313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+313
-313
lines changed

.github/ISSUE_TEMPLATE/4-flaky-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ body:
1010
- type: textarea
1111
id: dashboard
1212
attributes:
13-
label: Link to dashboard or CircleCI failure
14-
description: Please include a link to the failure in the Cypress Dashboard or in CircleCI.
13+
label: Link to Cypress Cloud or CircleCI failure
14+
description: Please include a link to the failure in Cypress Cloud or in CircleCI.
1515
validations:
1616
required: true
1717
- type: textarea

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ If there are errors building the packages, prefix the commands with `DEBUG=cypre
238238

239239
When running `yarn start` this routes through the CLI and eventually calls `yarn dev` with the proper arguments. This enables Cypress day-to-day development to match the logic of the built binary + CLI integration.
240240

241-
If you want to bypass the CLI entirely, you can use the `yarn dev` task and pass arguments directly. For example, to headlessly run a project in a given folder, while trying to record to the Dashboard
241+
If you want to bypass the CLI entirely, you can use the `yarn dev` task and pass arguments directly. For example, to headlessly run a project in a given folder, while trying to record to Cypress Cloud.
242242

243243
```text
244244
yarn dev --run-project /project/folder --record --key <key>

cli/__snapshots__/cli_spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exports['shows help for run --foo 1'] = `
7474
-C, --config-file <config-file> path to script file where configuration values are set. defaults to "cypress.config.{js,ts,mjs,cjs}".
7575
--e2e runs end to end tests
7676
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json
77-
--group <name> a named group for recorded runs in the Cypress Dashboard
77+
--group <name> a named group for recorded runs in Cypress Cloud
7878
-k, --key <record-key> your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.
7979
--headed displays the browser instead of running headlessly
8080
--headless hide the browser instead of running headed (default for cypress run)
@@ -83,11 +83,11 @@ exports['shows help for run --foo 1'] = `
8383
-p, --port <port> runs Cypress on a specific port. overrides any value in cypress.config.{js,ts,mjs,cjs}.
8484
-P, --project <project-path> path to the project
8585
-q, --quiet run quietly, using only the configured reporter
86-
--record [bool] records the run. sends test results, screenshots and videos to your Cypress Dashboard.
86+
--record [bool] records the run. sends test results, screenshots and videos to Cypress Cloud.
8787
-r, --reporter <reporter> runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"
8888
-o, --reporter-options <reporter-options> options for the mocha reporter. defaults to "null"
8989
-s, --spec <spec> runs specific spec file(s). defaults to "all"
90-
-t, --tag <tag> named tag(s) for recorded runs in the Cypress Dashboard
90+
-t, --tag <tag> named tag(s) for recorded runs in Cypress Cloud
9191
--dev runs cypress in development and bypasses binary check
9292
-h, --help display help for command
9393
-------

cli/lib/cli.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,19 @@ const descriptions = {
110110
exit: 'keep the browser open after tests finish',
111111
forceInstall: 'force install the Cypress binary',
112112
global: 'force Cypress into global mode as if its globally installed',
113-
group: 'a named group for recorded runs in the Cypress Dashboard',
113+
group: 'a named group for recorded runs in Cypress Cloud',
114114
headed: 'displays the browser instead of running headlessly',
115115
headless: 'hide the browser instead of running headed (default for cypress run)',
116116
key: 'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
117117
parallel: 'enables concurrent runs and automatic load balancing of specs across multiple machines or processes',
118118
port: 'runs Cypress on a specific port. overrides any value in cypress.config.{js,ts,mjs,cjs}.',
119119
project: 'path to the project',
120120
quiet: 'run quietly, using only the configured reporter',
121-
record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
121+
record: 'records the run. sends test results, screenshots and videos to Cypress Cloud.',
122122
reporter: 'runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"',
123123
reporterOptions: 'options for the mocha reporter. defaults to "null"',
124124
spec: 'runs specific spec file(s). defaults to "all"',
125-
tag: 'named tag(s) for recorded runs in the Cypress Dashboard',
125+
tag: 'named tag(s) for recorded runs in Cypress Cloud',
126126
version: 'prints Cypress version',
127127
}
128128

cli/types/cypress.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2864,7 +2864,7 @@ declare namespace Cypress {
28642864
*/
28652865
video: boolean
28662866
/**
2867-
* Whether Cypress will upload the video to the Dashboard even if all tests are passing. This applies only when recording your runs to the Dashboard. Turn this off if you'd like the video uploaded only when there are failing tests.
2867+
* Whether Cypress will upload the video to Cypress Cloud even if all tests are passing. This applies only when recording your runs to Cypress Cloud. Turn this off if you'd like the video uploaded only when there are failing tests.
28682868
* @default true
28692869
*/
28702870
videoUploadOnPasses: boolean

cypress-prioritization-and-triage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ There are a number of reasons why a ticket may be closed without any change or P
118118
The best place for asking questions is our [Discord server](https://discord.gg/cypress) which has a very active community of folks with a diverse set of knowledge. Other available channels to explore include [Cypress GitHub discussions](https://github.com/cypress-io/cypress/discussions), [community chat](https://on.cypress.io/chat), and [Stack Overflow](https://stackoverflow.com/questions/tagged/cypress).
119119
We also offer support via email with our [paid plans](https://www.cypress.io/pricing/).
120120

121-
- **Feature request for Cypress Dashboard** - Thank you for your support as a Cypress Dashboard user! These issues are routed to our Cypress Dashboard team's ticketing system. Your customer success representative is available for follow-up and will reach out you directly via email if more information is needed.
121+
- **Feature request for Cypress Cloud** - Thank you for your support as a Cypress Cloud user! These issues are routed to our Cypress Cloud team's ticketing system. Your customer success representative is available for follow-up and will reach out you directly via email if more information is needed.
122122

123123
- **The fix or feature is not within our vision for Cypress** - There will inevitably be suggestions that will not fit within the scope of Cypress' vision for our product. We will do our best to explain why we will not be addressing this issue.
124124

guides/release-process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ In the following instructions, "X.Y.Z" is used to denote the [next version of Cy
8282
- Go into a project, run a quick test, make sure things look right
8383
- Optionally, install the new version into an established project and run the tests there
8484
- [cypress-realworld-app](https://github.com/cypress-io/cypress-realworld-app) uses yarn and represents a typical consumer implementation.
85-
- Optionally, do more thorough tests, for example test the new version of Cypress against the Cypress Dashboard repo.
85+
- Optionally, do more thorough tests, for example test the new version of Cypress against the Cypress Cloud repo.
8686
8787
5. Log into AWS SSO with `aws sso login --profile <name_of_profile>`. If you have setup your credentials under a different profile than `prod`, be sure to set the `AWS_PROFILE` environment variable to that profile name for the remaining steps. For example, if you are using `production` instead of `prod`, do `export AWS_PROFILE=production`.
8888
@@ -119,7 +119,7 @@ In the following instructions, "X.Y.Z" is used to denote the [next version of Cy
119119
- Go into a project, run a quick test, make sure things look right
120120
- Install the new version into an established project and run the tests there
121121
- [cypress-realworld-app](https://github.com/cypress-io/cypress-realworld-app) uses yarn and represents a typical consumer implementation.
122-
- Optionally, do more thorough tests, for example test the new version of Cypress against the Cypress Dashboard repo.
122+
- Optionally, do more thorough tests, for example test the new version of Cypress against the Cypress Cloud repo.
123123
124124
11. Create or review the release-specific documentation and changelog in [cypress-documentation](https://github.com/cypress-io/cypress-documentation). If there is not already a release-specific PR open, create one. This PR must be merged, built, and deployed before moving to the next step.
125125
- Use [`release-automations`](https://github.com/cypress-io/release-automations)'s `issues-in-release` tool to generate a starting point for the changelog, based off of ZenHub:

npm/cypress-schematic/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,17 @@ Before running Cypress in `open` mode, ensure that you have started your applica
135135

136136
Read our docs to learn more about [launching browsers](https://on.cypress.io/launching-browsers) with Cypress.
137137

138-
### Recording test results to the Cypress Dashboard
138+
### Recording test results to Cypress Cloud
139139

140-
We recommend setting your [Cypress Dashboard](https://on.cypress.io/features-dashboard) recording key as an environment variable and NOT as a builder option when running it in CI.
140+
We recommend setting your [Cypress Cloud](https://on.cypress.io/features-dashboard) recording key as an environment variable and NOT as a builder option when running it in CI.
141141

142142
```json
143143
"cypress-run": {
144144
"builder": "@cypress/schematic:cypress",
145145
"options": {
146146
"devServerTarget": "{project-name}:serve",
147147
"record": true,
148-
"key": "your-cypress-dashboard-recording-key"
148+
"key": "your-cypress-cloud-recording-key"
149149
},
150150
"configurations": {
151151
"production": {
@@ -155,7 +155,7 @@ We recommend setting your [Cypress Dashboard](https://on.cypress.io/features-das
155155
}
156156
```
157157

158-
Read our docs to learn more about [recording test results](https://on.cypress.io/recording-project-runs) to the [Cypress Dashboard](https://on.cypress.io/features-dashboard).
158+
Read our docs to learn more about [recording test results](https://on.cypress.io/recording-project-runs) to [Cypress Cloud](https://on.cypress.io/features-dashboard).
159159

160160
### Specifying a custom config file
161161

@@ -187,7 +187,7 @@ Read our docs to learn more about all the [configuration options](https://on.cyp
187187
"devServerTarget": "{project-name}:serve",
188188
"parallel": true,
189189
"record": true,
190-
"key": "your-cypress-dashboard-recording-key"
190+
"key": "your-cypress-cloud-recording-key"
191191
},
192192
"configurations": {
193193
"production": {

packages/app/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This is the front-end for the Cypress App.
1616

1717
Cypress has two modes: `run` and `open`. We want run mode to be as light and fast as possible, since this is the mode used to run on CI machines, etc. Run mode has minimal UI showing only what is necessary. Open mode is the interactive experience.
1818

19-
- **`open`** mode is driven using GraphQL and urql. It shows the full Cypress app, include the top nav, side nav, spec list, etc. You can change between testing types, check your latest runs on the Cypress Dashboard, update settings, etc.
19+
- **`open`** mode is driven using GraphQL and urql. It shows the full Cypress app, include the top nav, side nav, spec list, etc. You can change between testing types, check your latest runs on Cypress Cloud, update settings, etc.
2020
- **`run`** mode is does not rely on GraphQL. This is so we can be as performant as possible. It only renders the "runner" part of the UI, which is comprised of the command log, Spec Runner header, and AUT iframe.
2121

2222
The two modes are composed using the same logic, but have slightly different components. You can see where the differences are in `Runner.vue`(src/pages/Specs/Runner.vue). Notice that `<SpecRunnerOpenMode>` receives a `gql` prop, since it uses GraphQL, and `<SpecRunnerRunMode>` does not.

packages/app/cypress/e2e/runs.cy.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
279279
name: 'Test User A',
280280
} })
281281

282-
cy.contains('button', 'Log in to the Cypress Dashboard').click()
282+
cy.contains('button', 'Log in to Cypress Cloud').click()
283283

284284
cy.findByRole('dialog', { name: 'Log in to Cypress' }).as('logInModal').within(() => {
285285
cy.findByRole('button', { name: 'Log in' }).click()
@@ -578,7 +578,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
578578
})
579579

580580
context('Runs - No Runs', () => {
581-
it('when no runs and not connected, shows connect to dashboard button', () => {
581+
it('when no runs and not connected, shows connect to Cypress Cloud button', () => {
582582
cy.scaffoldProject('component-tests')
583583
cy.openProject('component-tests', ['--config-file', 'cypressWithoutProjectId.config.js'])
584584
cy.startAppServer('component')
@@ -722,7 +722,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
722722

723723
moveToRunsPage()
724724

725-
cy.contains('h2', 'Cannot connect to the Cypress Dashboard')
725+
cy.contains('h2', 'Cannot connect to Cypress Cloud')
726726
// cy.percySnapshot() // TODO: restore when Percy CSS is fixed. See https://github.com/cypress-io/cypress/issues/23435
727727

728728
cy.remoteGraphQLIntercept((obj) => {
@@ -755,7 +755,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
755755

756756
cy.get('[data-cy=warning-alert]')
757757
.should('contain.text', 'You have no internet connection')
758-
.and('contain.text', 'Check your internet connection to pull the latest data from the dashboard')
758+
.and('contain.text', 'Check your internet connection to pull the latest data from Cypress Cloud')
759759
})
760760

761761
it('should remove the alert warning if the app reconnects to the internet', () => {
@@ -769,7 +769,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
769769

770770
cy.get('[data-cy=warning-alert]')
771771
.should('contain.text', 'You have no internet connection')
772-
.and('contain.text', 'Check your internet connection to pull the latest data from the dashboard')
772+
.and('contain.text', 'Check your internet connection to pull the latest data from Cypress Cloud')
773773

774774
cy.goOnline()
775775

@@ -810,7 +810,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
810810

811811
cy.get('[data-cy=standard-modal]')
812812
.should('contain.text', 'You have no internet connection')
813-
.and('contain.text', 'Check your internet connection to pull the latest data from the dashboard')
813+
.and('contain.text', 'Check your internet connection to pull the latest data from Cypress Cloud')
814814
})
815815

816816
it('shows correct message on connect project modal', () => {
@@ -844,7 +844,7 @@ describe('App: Runs', { viewportWidth: 1200 }, () => {
844844

845845
cy.get('[data-cy=standard-modal]')
846846
.should('contain.text', 'You have no internet connection')
847-
.and('contain.text', 'Check your internet connection to pull the latest data from the dashboard')
847+
.and('contain.text', 'Check your internet connection to pull the latest data from Cypress Cloud')
848848
})
849849
})
850850

packages/app/cypress/e2e/settings.cy.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('App: Settings', () => {
2121

2222
cy.findByText('Device settings').should('be.visible')
2323
cy.findByText('Project settings').should('be.visible')
24-
cy.findByText('Dashboard settings').should('be.visible')
24+
cy.findByText('Cypress Cloud settings').should('be.visible')
2525
})
2626

2727
describe('Cloud Settings', () => {
@@ -33,7 +33,7 @@ describe('App: Settings', () => {
3333
cy.startAppServer('e2e')
3434
cy.visitApp()
3535
cy.get(SidebarSettingsLinkSelector).click()
36-
cy.findByText('Dashboard settings').click()
36+
cy.findByText('Cypress Cloud settings').click()
3737
cy.findByText('Project ID').should('be.visible')
3838
cy.get('[data-cy="code-box"]').should('contain', 'fromCli')
3939
cy.findByText('Copy').click()
@@ -49,7 +49,7 @@ describe('App: Settings', () => {
4949

5050
cy.visitApp()
5151
cy.get(SidebarSettingsLinkSelector).click()
52-
cy.findByText('Dashboard settings').click()
52+
cy.findByText('Cypress Cloud settings').click()
5353
cy.findByText('Record key').should('be.visible')
5454
})
5555

@@ -59,7 +59,7 @@ describe('App: Settings', () => {
5959

6060
cy.visitApp()
6161
cy.get(SidebarSettingsLinkSelector).click()
62-
cy.findByText('Dashboard settings').click()
62+
cy.findByText('Cypress Cloud settings').click()
6363
cy.get('[data-cy="code-box"]').should('contain', '***')
6464
cy.get('[aria-label="Record Key Visibility Toggle"]').click()
6565
cy.get('[data-cy="code-box"]').should('contain', '2aaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa')
@@ -69,7 +69,7 @@ describe('App: Settings', () => {
6969
cy.startAppServer('e2e')
7070
cy.loginUser()
7171
cy.visitApp('settings')
72-
cy.findByText('Dashboard settings').click()
72+
cy.findByText('Cypress Cloud settings').click()
7373
cy.findByText('Manage keys').click()
7474
cy.withRetryableCtx((ctx) => {
7575
expect((ctx.actions.electron.openExternal as SinonStub).lastCall.lastArg).to.eq('http:/test.cloud/cloud-project/settings')
@@ -97,7 +97,7 @@ describe('App: Settings', () => {
9797
// Wait for the test to pass, so the test is completed
9898
cy.get('.passed > .num').should('contain', 1)
9999
cy.get(SidebarSettingsLinkSelector).click()
100-
cy.contains('Dashboard settings').click()
100+
cy.contains('Cypress Cloud settings').click()
101101
// Assert the data is not there before it arrives
102102
cy.contains('Record key').should('not.exist')
103103
cy.contains('Record key')
@@ -112,7 +112,7 @@ describe('App: Settings', () => {
112112
})
113113

114114
cy.findByTestId('sidebar-link-settings-page').click()
115-
cy.contains('Dashboard settings').click()
115+
cy.contains('Cypress Cloud settings').click()
116116
cy.contains('Record key').should('exist')
117117
cy.findByTestId('sidebar-link-runs-page').click()
118118
cy.findByTestId('user-avatar-title').click()
@@ -123,7 +123,7 @@ describe('App: Settings', () => {
123123
})
124124

125125
cy.findByTestId('sidebar-link-settings-page').click()
126-
cy.contains('Dashboard settings').click()
126+
cy.contains('Cypress Cloud settings').click()
127127
cy.contains('Record key').should('not.exist')
128128
})
129129
})
@@ -408,13 +408,13 @@ describe('App: Settings without cloud', () => {
408408

409409
cy.visitApp()
410410
cy.get(SidebarSettingsLinkSelector).click()
411-
cy.findByText('Dashboard settings').click()
411+
cy.findByText('Cypress Cloud settings').click()
412412
cy.findByText('Project ID').should('not.exist')
413413
cy.withCtx((ctx, o) => {
414414
o.sinon.spy(ctx._apis.authApi, 'logIn')
415415
})
416416

417-
cy.contains('button', 'Log in to the Cypress Dashboard').click()
417+
cy.contains('button', 'Log in to Cypress Cloud').click()
418418
cy.findByRole('dialog', { name: 'Log in to Cypress' }).within(() => {
419419
cy.contains('button', 'Log in').click()
420420
})

0 commit comments

Comments
 (0)