mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-01 12:30:01 -05:00
cli: add some delay to give listr some padding to update stdout
This commit is contained in:
@@ -191,12 +191,11 @@ context('.verify', function () {
|
||||
.then((vv) => {
|
||||
expect(vv).to.eq(packageVersion)
|
||||
})
|
||||
.delay(100) // give a little padding for listr
|
||||
.then(() => {
|
||||
// console.log(ctx.stdout.toString())
|
||||
snapshot(
|
||||
'verification with executable',
|
||||
normalize(ctx.stdout.toString())
|
||||
// normalize(ctx.stdout.toString())
|
||||
)
|
||||
})
|
||||
})
|
||||
@@ -249,6 +248,7 @@ context('.verify', function () {
|
||||
.then((vv) => {
|
||||
expect(vv).to.eq(packageVersion)
|
||||
})
|
||||
.delay(100) // give a little padding for listr
|
||||
.then(() => {
|
||||
snapshot(
|
||||
'no existing version verified',
|
||||
@@ -273,6 +273,7 @@ context('.verify', function () {
|
||||
.then((vv) => {
|
||||
expect(vv).to.eq(packageVersion)
|
||||
})
|
||||
.delay(100) // give a little padding for listr
|
||||
.then(() => {
|
||||
snapshot(
|
||||
'current version has not been verified',
|
||||
@@ -293,6 +294,7 @@ context('.verify', function () {
|
||||
welcomeMessage: false,
|
||||
})
|
||||
})
|
||||
.delay(100) // give a little padding for listr
|
||||
.then(() => {
|
||||
snapshot(
|
||||
'no welcome message',
|
||||
|
||||
Reference in New Issue
Block a user