-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Browser console logs #3092
Browser console logs #3092
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3092 +/- ##
============================================
- Coverage 89.36% 89.35% -0.01%
Complexity 6112 6112
============================================
Files 825 825
Lines 16721 16717 -4
Branches 1082 1081 -1
============================================
- Hits 14942 14938 -4
Misses 1648 1648
Partials 131 131
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
vividus-plugin-web-app/src/main/java/org/vividus/selenium/logging/BrowserLogManager.java
Show resolved
Hide resolved
|
||
=== Browser logs steps | ||
|
||
This set of steps allows you to validate the https://developer.mozilla.org/en-US/docs/Web/API/console[browser's console logging messages]. |
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.
This set of steps allows you to validate the https://developer.mozilla.org/en-US/docs/Web/API/console[browser's console logging messages]. | |
This set of steps allows to validate the https://developer.mozilla.org/en-US/docs/Web/API/console[browser console logging messages]. |
|
||
This set of steps allows you to validate the https://developer.mozilla.org/en-US/docs/Web/API/console[browser's console logging messages]. | ||
|
||
:log-levels: List of the comma-separated mesagges' levels. The supported levels are: ERRORS, WARNINGS. |
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.
:log-levels: List of the comma-separated mesagges' levels. The supported levels are: ERRORS, WARNINGS. | |
:log-levels: List of the comma-separated messages levels. The supported levels are: ERRORS, WARNINGS. |
|
||
==== Validate log entries absence | ||
|
||
Step validates the absence of log entries of desired level in the browser's console. |
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.
Step validates the absence of log entries of desired level in the browser's console. | |
Validates the absence of log entries of the desired level in the browser console. |
|
||
==== Validate specific log entries absence | ||
|
||
Step validates absence of specific log entries of desired level in the browser's console. |
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.
Step validates absence of specific log entries of desired level in the browser's console. | |
Validates the absence of specific log entries of the desired level in the browser console. |
Then there are no browser console $logLevels by regex '$pattern' | ||
---- | ||
* `$logLevels` - {log-levels} | ||
* `$pattern` - The pattern to match log entry message. |
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.
* `$pattern` - The pattern to match log entry message. | |
* `$pattern` - The regular expression to match log entry messages. |
|
||
==== Validate specific log entries presence | ||
|
||
Step validates the presence of specific log entries of desired level in the browser's console. |
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.
Step validates the presence of specific log entries of desired level in the browser's console. | |
Validates the presence of specific log entries of the desired level in the browser console. |
Then there are browser console $logLevels by regex '$pattern' | ||
---- | ||
* `$logLevels` - {log-levels} | ||
* `$pattern` - The pattern to match log entry message. |
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.
* `$pattern` - The pattern to match log entry message. | |
* `$pattern` - The regular expression to match log entry messages. |
Kudos, SonarCloud Quality Gate passed! |
No description provided.