Closed
Description
When I run robot tests (that uses https://github.com/Hi-Fi/robotframework-seleniumlibrary-java and htmlunit), I see the messages from htmlunit and I didn't find a way on how to turn them off.
Example:
$ mvn robotframework:run -Dincludes=testme
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< ru.mystamps:mystamps >------------------------
[INFO] Building My Stamps 0.3-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- robotframework-maven-plugin:1.4.7:run (default-cli) @ mystamps ---
==============================================================================
Robotframework
==============================================================================
Robotframework.Country
==============================================================================
Robotframework.Country.Access :: Verify access to country related pages (in...
==============================================================================
[ERROR] runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[http://127.0.0.1:8080/public/jquery/1.9.1/jquery.min.js] line=[4] lineSource=[null] lineOffset=[0]
[WARNING] CSS error: 'http://127.0.0.1:8080/public/bootstrap/3.4.1/css/bootstrap.min.css' [5:56309] Error in expression; ':' found after identifier "progid".
[WARNING] CSS error: 'http://127.0.0.1:8080/public/bootstrap/3.4.1/css/bootstrap.min.css' [5:114102] Error in expression; ':' found after identifier "progid".
[WARNING] CSS error: 'http://127.0.0.1:8080/public/bootstrap/3.4.1/css/bootstrap.min.css' [5:114645] Error in expression; ':' found after identifier "progid".
[WARNING] CSS error: 'http://127.0.0.1:8080/public/bootstrap/3.4.1/css/bootstrap.min.css' [5:115813] Invalid color "#000\9".
Anonymous user cannot create country [ERROR] runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[http://127.0.0.1:8080/public/jquery/1.9.1/jquery.min.js] line=[4] lineSource=[null] lineOffset=[0]
| PASS |
------------------------------------------------------------------------------
Opening a page of non-existing country show an error [ERROR] runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[http://127.0.0.1:8080/public/jquery/1.9.1/jquery.min.js] line=[4] lineSource=[null] lineOffset=[0]
| PASS |
------------------------------------------------------------------------------
Robotframework.Country.Access :: Verify access to country related ... | PASS |
2 critical tests, 2 passed, 0 failed
2 tests total, 2 passed, 0 failed
==============================================================================
...
I have the src/test/resources/logback-test.xml
file that turns them off but it didn't take into an action. Also, I'm not fully sure whether it's a plugin's responsibility or the robotframework-seleniumlibrary-java
.
How I can disable these messages?
Metadata
Metadata
Assignees
Labels
No labels