Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Deniss-Air:qaframework-bdd-tests juliet$ npm run refapp2OpenConceptLab
- > openmrs-contrib-qaframework@0.1.0 refapp2OpenConceptLab /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests
- > mvn test -Dcucumber.filter.tags='@selenium and @openConceptLab'
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.contrib:qaframework-bdd-tests:jar:1.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 183, column 21
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] -------------< org.openmrs.contrib:qaframework-bdd-tests >--------------
- [INFO] Building qaframework-bdd-tests 1.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework-bdd-tests ---
- [INFO] Node v15.8.0 is already installed.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework-bdd-tests ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework-bdd-tests ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework-bdd-tests ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 53 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework-bdd-tests ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-chromedriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-chromedriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-firefoxdriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-firefoxdriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-firefoxdriver-executable) @ qaframework-bdd-tests ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qaframework-bdd-tests ---
- [INFO] Surefire report directory: /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.contrib.qaframework.RunTest
- Running locally...
- log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
- log4j:WARN Please initialize the log4j system properly.
- 1643841689656 geckodriver INFO Listening on 127.0.0.1:28303
- 1643841690214 mozrunner::runner INFO Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "--marionette" "-foreground" "-no-remote" "-profile" "/var/folders/fg/gzbqmc0d0qz0nwq3k8qkc5f80000gn/T/rust_mozprofile797ash"
- 1643841692274 Marionette INFO Marionette enabled
- _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
- _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
- console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /var/folders/fg/gzbqmc0d0qz0nwq3k8qkc5f80000gn/T/rust_mozprofile797ash/search.json.mozlz4", (void 0)))
- console.error: BackgroundUpdate:
- _reasonsToNotScheduleUpdates: Failed to check for Maintenance Service Registry Key: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIUpdateProcessor.getServiceRegKeyExists]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: resource://gre/modules/BackgroundUpdate.jsm :: _reasonsToNotScheduleUpdates :: line 243" data: no]
- 1643841697507 Marionette INFO Listening on port 56795
- 1643841697625 RemoteAgent WARN TLS certificate errors will be ignored for this session
- Feb 03, 2022 1:41:37 AM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- JavaScript error: https://qa-refapp.op1643841723612 Marionette WARN Ignoring event 'DOMContentLoaded' because document has an invalid readyState of 'complete'.
- enmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-ui-1.9.2.custom.min.js?cache=1643813999744, line 2: TypeError: t is null
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- 1643841875858 Marionette INFO Stopped listening on port 56795
- Running locally...
- 1643841876113 geckodriver INFO Listening on 127.0.0.1:48589
- 1643841876204 mozrunner::runner INFO Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "--marionette" "-foreground" "-no-remote" "-profile" "/var/folders/fg/gzbqmc0d0qz0nwq3k8qkc5f80000gn/T/rust_mozprofileF8nyqR"
- 1643841877212 Marionette INFO Marionette enabled
- _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
- _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
- console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /var/folders/fg/gzbqmc0d0qz0nwq3k8qkc5f80000gn/T/rust_mozprofileF8nyqR/search.json.mozlz4", (void 0)))
- console.error: BackgroundUpdate:
- _reasonsToNotScheduleUpdates: Failed to check for Maintenance Service Registry Key: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIUpdateProcessor.getServiceRegKeyExists]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: resource://gre/modules/BackgroundUpdate.jsm :: _reasonsToNotScheduleUpdates :: line 243" data: no]
- 1643841879796 Marionette INFO Listening on port 57144
- 1643841879820 RemoteAgent WARN TLS certificate errors will be ignored for this session
- Feb 03, 2022 1:44:39 AM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://qa-refapp.openmrs.org"
- 1643841896956 Marionette INFO Stopped listening on port 57144
- ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
- Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 211.695 sec <<< FAILURE!
- OCL MANAGEMENT(OCL Subscription module) Time elapsed: 209.774 sec <<< ERROR!
- java.lang.NoClassDefFoundError: org.openqa.selenium.WebDriverException
- at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:603)
- at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:362)
- at org.openqa.selenium.remote.RemoteWebDriver.findElementsByXPath(RemoteWebDriver.java:456)
- at org.openqa.selenium.By$ByXPath.findElements(By.java:389)
- at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:320)
- at org.openmrs.contrib.qaframework.automation.Steps.textExists(Steps.java:66)
- at org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps.systemLoadsOpenConceptLabSuccessPage(OpenConceptLabSteps.java:94)
- at ✽.the system loads Open Concept Lab Success page(file:///Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/resources/features/refapp-2.x/16-openConceptLab/openConceptLab.feature:18)
- OCL MANAGEMENT(OCL Subscription module) Time elapsed: 209.807 sec <<< ERROR!
- java.lang.NoClassDefFoundError: org.openqa.selenium.WebDriverException
- at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:603)
- at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:639)
- at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:643)
- at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:479)
- at org.openmrs.contrib.qaframework.automation.Steps.quit(Steps.java:53)
- at org.openmrs.contrib.qaframework.automation.OpenConceptLabSteps.destroy(OpenConceptLabSteps.java:44)
- Results :
- Tests in error:
- OCL MANAGEMENT(OCL Subscription module): org.openqa.selenium.WebDriverException
- OCL MANAGEMENT(OCL Subscription module): org.openqa.selenium.WebDriverException
- Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 03:38 min
- [INFO] Finished at: 2022-02-03T01:44:58+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project qaframework-bdd-tests: There are test failures.
- [ERROR]
- [ERROR] Please refer to /Users/juliet/Desktop/openmrs-contrib-qaframework/qaframework-bdd-tests/target/surefire-reports for the individual test results.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! openmrs-contrib-qaframework@0.1.0 refapp2OpenConceptLab: `mvn test -Dcucumber.filter.tags='@selenium and @openConceptLab'`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the openmrs-contrib-qaframework@0.1.0 refapp2OpenConceptLab script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm WARN Local package.json exists, but node_modules missing, did you mean to install?
- npm ERR! A complete log of this run can be found in:
- npm ERR! /Users/juliet/.npm/_logs/2022-02-02T22_44_58_635Z-debug.log
- Deniss-Air:qaframework-bdd-tests juliet$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement