Skip to content
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

𝗛𝗶𝗱𝗲 𝗖𝗼𝗺𝗺𝗮𝗻𝗱 𝗟𝗼𝗴𝘀 𝗗𝘆𝗻𝗮𝗺𝗶𝗰𝗮𝗹𝗹𝘆 #30713

Open
Mohammad-Abohasan opened this issue Dec 4, 2024 · 1 comment
Labels
existing workaround type: feature New feature that does not currently exist type: performance 🏃‍♀️ Performance related

Comments

@Mohammad-Abohasan
Copy link

Mohammad-Abohasan commented Dec 4, 2024

What would you like?

𝗣𝗿𝗼𝗯𝗹𝗲𝗺
Heavy command logs often lead to severe performance degradation, making test runs unbearably slow, particularly in CI/CD.

𝗦𝗼𝗹𝘂𝘁𝗶𝗼𝗻
By dynamically hiding the command logs preceding the last N commands, I minimized clutter, cleaned up my test logs, and — 𝐦𝐨𝐬𝐭 𝐢𝐦𝐩𝐨𝐫𝐭𝐚𝐧𝐭𝐥𝐲 — significantly optimized the execution time for all test cases!

Why is this needed?

This improvement not only enhanced test execution but also increased overall productivity and could be a game-changer for Cypress users.

Other

Check out my implementation!
👉🏻 https://gist.github.com/Mohammad-Abohasan/04221457202ecfcfe3721174c28d1279

Screenshot 2024-11-30 at 12 04 02 AM

commands

e2e

cypress config

@jennifer-shehane jennifer-shehane added type: feature New feature that does not currently exist type: performance 🏃‍♀️ Performance related existing workaround labels Dec 4, 2024
@jennifer-shehane
Copy link
Member

@Mohammad-Abohasan Thanks for sharing the workaround. We'd love to optimize the command log also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
existing workaround type: feature New feature that does not currently exist type: performance 🏃‍♀️ Performance related
Projects
None yet
Development

No branches or pull requests

2 participants