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

Improving the readability of test results #625

Open
Keonik1 opened this issue Jun 1, 2023 · 0 comments
Open

Improving the readability of test results #625

Keonik1 opened this issue Jun 1, 2023 · 0 comments

Comments

@Keonik1
Copy link

Keonik1 commented Jun 1, 2023

@adrianth
Now, when calling macro, the call string of this macro in the log is AFTER all the actions that are performed in this macro, which is extremely inconvenient.

Example:
Macro open github.com
MyTest.yaml:

- description: Open gihub page
  macro: OpenGithub

OpenGithub.yaml:

description: Open gihub main page
actions:
  - description: Open gihub main page
    action: org.getopentest.selenium.NavigateTo
    args:
      url: https://gihub.com

As a result, first the action of Open gihub main page will be in the log, and only then the line with the Macro: Open gihub page.
Like this:

Actor Action Description Duration Seg. Result
WEB Open gihub main page 500 ms 1 pased
WEB Macro: Open gihub page 510 ms 1 pased

In small macros, this is not terrible, but in large ones that cause other macros, this already creates a huge confusion.

I would like to have the following two entries in the log:
Start Macro: <description>
Finish Macro: <description>
Like this:

Actor Action Description Duration Seg. Result
WEB Start Macro: Open gihub page 0 ms 1 pased
WEB Open gihub main page 500 ms 1 pased
WEB Finish Macro: Open gihub page 510 ms 1 pased
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

No branches or pull requests

1 participant