mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-13 19:09:03 -05:00
Don't print 'first time' message if verification is running fro… (#6640)
* don't like 'first time' message if verification is running from 'cypress verify' * updates snapshots to remove 'first time message' from verify specs
This commit is contained in:
@@ -103,7 +103,6 @@ Cypress Version: 1.2.3
|
||||
`
|
||||
|
||||
exports['fails verifying Cypress 1'] = `
|
||||
It looks like this is your first time using Cypress: 1.2.3
|
||||
|
||||
✖ Verifying Cypress can run /cache/Cypress/1.2.3/Cypress.app
|
||||
STRIPPED
|
||||
@@ -309,7 +308,6 @@ Opening Cypress...
|
||||
`
|
||||
|
||||
exports['verification with executable 1'] = `
|
||||
It looks like this is your first time using Cypress: 1.2.3
|
||||
|
||||
✔ Verified Cypress! /cache/Cypress/1.2.3/Cypress.app
|
||||
|
||||
|
||||
@@ -168,9 +168,12 @@ const runSmokeTest = (binaryDir, options) => {
|
||||
function testBinary (version, binaryDir, options) {
|
||||
debug('running binary verification check', version)
|
||||
|
||||
logger.log(stripIndent`
|
||||
It looks like this is your first time using Cypress: ${chalk.cyan(version)}
|
||||
`)
|
||||
// if running from 'cypress verify', don't print this message
|
||||
if (!options.force) {
|
||||
logger.log(stripIndent`
|
||||
It looks like this is your first time using Cypress: ${chalk.cyan(version)}
|
||||
`)
|
||||
}
|
||||
|
||||
logger.log()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user