-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[TS_SELENIUM] Increase logging of tests steps #13686
Comments
That logs look better. And currently there are primarily substeps need to be logged, to make it possible to localize particular failing operation:
In the logs substeps might have high-level clear description like:
And it would be nice to write implementation specific info like |
@dmytro-ndp Also I am -1 for using something like "got to workspaceUrl" and etc instead of methods name because it will complicate debugging But also I agree that your marks look better |
I was thinking we could implement something like four basic levels. When executing tests, one should be able to select which logging level he want (by env var?). Maybe a plus would be, if the log messages were prepended by filename & method name from where they were called, but I have no idea how easy/complicated that would be. |
@rhopp @dmytro-ndp What do you think about this? |
What about adding xpath to the "DEBUG" level ? |
I would say, that as a general rule of thumb, on the |
@rhopp |
@Ohrimenko1988: newer variant mush closer to what was asked here.
|
@dmytro-ndp Of course, this is just a draft |
Nice ;-) I like that ;-) |
Done |
For now we have tests output which reports just for failed or passed tests and stack trace.
It will be helpful to have more information about processes which happen in the tests. It will simplify debugging and searching a root reason in the case of failure.
Also it will give relevant information for the person who launches tests locally, because it will show what test doing at that moment.
The text was updated successfully, but these errors were encountered: