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

#207: Add timestamp to txt output #236

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

AlexGuironnetRTE
Copy link
Contributor

Hello,

This is my attempt at adding the timestamp info to the txt output. I wasn't sure where to place it, I went with "first thing on the line" but I'm not sure I understood the padding system correctly.

Here is what it looks like:

              [0.168s]  cy:request (K): GET http://localhost:XXXX/status
                                        Status: 200
                                        Response body: STARTING
              [0.172s]  cy:command (K): its	.body
              [0.181s]  cy:command (K): cypress-recurse	value STARTING
              [0.184s]  cy:command (K): wait	1000, {log: true}
              [1.188s]  cy:command (K): cypress-recurse	remaining **2938** ms and **4** attempts
       [1707770826394]  cy:command (K): cypress-recurse	value STARTING
       [1707770826397]  cy:command (K): wait	1000, {log: true}
       [1707770827403]  cy:command (K): cypress-recurse	remaining **2952** ms and **4** attempts
       [1707770827418]  cy:request (K): GET http://localhost:XXXX/emulator/status
                                        Status: 200
                                        Response body: STARTING

If there's anything I can improve, let me know!

@AlexGuironnetRTE AlexGuironnetRTE marked this pull request as draft February 13, 2024 09:51
@AlexGuironnetRTE AlexGuironnetRTE force-pushed the 207_txtOutput branch 2 times, most recently from de73f9c to 41d9c07 Compare February 21, 2024 12:08
@AlexGuironnetRTE AlexGuironnetRTE marked this pull request as ready for review February 21, 2024 13:45
@archfz archfz merged commit ad34c87 into archfz:master Feb 24, 2024
1 check passed
@archfz
Copy link
Owner

archfz commented Feb 24, 2024

Released in 6.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants