Repository: cypress-io/cypress
File: packages/server/__snapshots__/7_record_spec.coffee.js (JavaScript)

Code before:
───────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                       
  Recorded Run: https://dashboard.cypress.io/#/projects/cjvoj7/runs/12                                 


`

exports['e2e record misconfiguration errors and exits when no browser found 1'] = `
Can't run because you've entered an invalid browser name.

Browser: 'browserDoesNotExist' was not found on your system or is not supported by Cypress.

Cypress supports the following browsers:
- chrome
- chromium
- edge
- electron
- firefox (Cypress support in beta)

You can also use a custom browser: https://on.cypress.io/launching-browsers#Customize-available-browsers

Available browsers found are:
- chrome
- firefox
- edge
- electron

`

exports['e2e record misconfiguration errors and exits when no specs found 1'] = `
Can't run because no spec files were found.

We searched for any files matching this glob pattern:

cypress/integration/notfound/**

`

exports['e2e record recordKey warns but does not exit when is forked pr 1'] = `
Warning: It looks like you are trying to record this run from a forked PR.

The 'Record Key' is missing. Your CI provider is likely not passing private environment variables to builds from forks.

These results will not be recorded.

This error will not alter the exit code.

====================================================================================================

  (Run Starting)


Review comment (security):
you'll also need to update the availableBrowsersRe in e2e.js so it can sanitize the snapshots for this correctly:

https://github.com/cypress-io/cypress/blob/a3bed447c5f99e3dc9be3c90fef45cdf412f35af/packages/server/test/support/helpers/e2e.js#L43-L43

the current regex just replaces the entire line with browser1, browser2, browser3, but since it's multiline now you'll need a new regex

https://github.com/cypress-io/cypress/blob/a3bed447c5f99e3dc9be3c90fef45cdf412f35af/packages/server/test/support/helpers/e2e.js#L137-L144



Code after:
───────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                       
  Recorded Run: https://dashboard.cypress.io/#/projects/cjvoj7/runs/12                                 


`

exports['e2e record misconfiguration errors and exits when no browser found 1'] = `
Can't run because you've entered an invalid browser name.

Browser: 'browserDoesNotExist' was not found on your system or is not supported by Cypress.

Cypress supports the following browsers:
- chrome
- chromium
- edge
- electron
- firefox (Cypress support in beta)

You can also use a custom browser: https://on.cypress.io/customize-browsers

Available browsers found on your system are:
- browser1
- browser2
- browser3
`

exports['e2e record misconfiguration errors and exits when no specs found 1'] = `
Can't run because no spec files were found.

We searched for any files matching this glob pattern:

cypress/integration/notfound/**

`

exports['e2e record recordKey warns but does not exit when is forked pr 1'] = `
Warning: It looks like you are trying to record this run from a forked PR.

The 'Record Key' is missing. Your CI provider is likely not passing private environment variables to builds from forks.

These results will not be recorded.

This error will not alter the exit code.

====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    1.2.3                                                                              │