-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cypress): improve cypress performances #47379
Conversation
e29bedc
to
4165e9f
Compare
4165e9f
to
d690435
Compare
Also tested a new approach, restroring DB snapshots. |
aa8856e
to
64ae622
Compare
3b48ff3
to
708dc35
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
708dc35
to
1ecbe72
Compare
This comment was marked as resolved.
This comment was marked as resolved.
482035f
to
91b8681
Compare
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
91b8681
to
5e2e2ba
Compare
cy.modifyUser(user, 'locale', 'en_US') | ||
}) | ||
|
||
cy.wait(500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seem arbitrary. Can't we wait for something more specific?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we'll standardise this a bit more in a followup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
As soon as this part is reached the create user request has terminated so all database actions are already finished as the PHP process is done.
So normally this should not be needed I guess?
Follow-up, use functions from |
This is much better, thank you! Overall Run: 13 minutes 14 seconds more than 50% of the CI time is still not related to tests. Pulling the image takes locally for me much less time, I assume our runners do not have it cached and thus need to externally fetch it from GH? But the thing that is weird: Creating the context takes ~2:30 while restoring takes ~3 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
It's decompressing the archive I think, it takes many IO.
That would be my guess as well, the more we have running, the more load our CI servers have. Meaning it will obviously have an impact on other runs. |
It does, we have a docker layer cache. We store images. |
personal-info.cy.ts
)