Log without snapshot? #9244
Unanswered
WORMSS
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would love to be able to do two commands without generating a snapshot but I would still like it to make a log.
and
The reason for this is we have to do a big setup in a
.before()
which takes many api calls.Each one of these api calls is doing a
cy.request()
(obviously).. and it's quite useful to see in the log how far we are..but we have encountered significant 100% CPU usage and I believe it's from the snapshot creation.
If I do
cy.request({ ... , log: false })
the setup time drops from 10 minutes to 2 minutes per run. It even makes the rest of the tests run a lot smoother.. (not sure if that is a memory issue or not?)There is no difference between the 10 minute run and the 2 minute run except the
log: false
and a few commented outcy.log
This issue created by someone else has a repro and a confirmed by another user.
#8446
Beta Was this translation helpful? Give feedback.
All reactions