Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$ npm run refapp2ClinicalVisit
- > openmrs-contrib-qaframework@0.1.0 refapp2ClinicalVisit
- > mvn test -Dcucumber.filter.tags='@selenium and @clinicalVisit'
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.contrib:qaframework:jar:1.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 182, 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 >-------------------
- [INFO] Building OpenMRS QA Framework 1.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node and npm) @ qaframework ---
- [INFO] Node v15.8.0 is already installed.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ qaframework ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 48 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-chromedriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-chromedriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-chromedriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-mac-firefoxdriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-linux-firefoxdriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.8:run (make-windows-firefoxdriver-executable) @ qaframework ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qaframework ---
- [INFO] Surefire report directory: /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/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.
- 1637832311611 geckodriver INFO Listening on 127.0.0.1:15347
- 1637832311848 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileBnsLyK"
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- 1637832312595 Marionette INFO Marionette enabled
- console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofileBnsLyK/search.json.mozlz4", (void 0)))
- 1637832313683 Marionette INFO Listening on port 45821
- 1637832313765 RemoteAgent WARN TLS certificate errors will be ignored for this session
- Nov 25, 2021 12:25:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
- JavaScript error: resource://gre/actors/AutoCompleteChild.jsm, line 125: Error: Invalid autocomplete selectedIndex
- JavaScript error: resource://gre/modules/LoginManagerChild.jsm, line 194: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Invalid autocomplete selectedIndex" {file: "resource://gre/actors/AutoCompleteChild.jsm" line: 125}]'[JavaScript Error: "Invalid autocomplete selectedIndex" {file: "resource://gre/actors/AutoCompleteChild.jsm" line: 125}]' when calling method: [nsIAutoCompletePopup::selectedIndex]
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment.min.js?cache=1637783803561, line 6: unreachable code after return statement
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: , line 0: uncaught exception: Object
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: , line 0: uncaught exception: Object
- JavaScript warning: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/moment-with-locales.min.js?cache=1637783803561, line 1: unreachable code after return statement
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- JavaScript error: https://qa-refapp.openmrs.org/openmrs/ms/uiframework/resource/uicommons/scripts/jquery-1.12.4.min.js?cache=1637783803561, line 4: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- 1637832436212 Marionette INFO Stopped listening on port 45821
- ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
- Running locally...
- 1637832436766 geckodriver INFO Listening on 127.0.0.1:11181
- 1637832436782 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileKLEOop"
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- ATTENTION: default value of option mesa_glthread overridden by environment.
- 1637832437481 Marionette INFO Marionette enabled
- console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofileKLEOop/search.json.mozlz4", (void 0)))
- 1637832438583 Marionette INFO Listening on port 38051
- 1637832438604 RemoteAgent WARN TLS certificate errors will be ignored for this session
- Nov 25, 2021 12:27:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- 1637832438629 Marionette INFO Stopped listening on port 38051
- console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource.
- console.error: Region.jsm: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
- console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 419))
- Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 128.946 sec <<< FAILURE!
- Clinical Visit(Clinical Visit Management) Time elapsed: 128.209 sec <<< FAILURE!
- java.lang.AssertionError: expected null, but was:<[[FirefoxDriver: firefox on LINUX (0df5de02-2f6e-44ef-a1df-46e79766cf7a)] -> css selector: #visits-list li.menu-item.viewVisitDetails span.menu-date]>
- at org.junit.Assert.fail(Assert.java:89)
- at org.junit.Assert.failNotNull(Assert.java:756)
- at org.junit.Assert.assertNull(Assert.java:738)
- at org.junit.Assert.assertNull(Assert.java:748)
- at org.openmrs.contrib.qaframework.automation.ClinicalVisitSteps.systemEndsPatientVisit(ClinicalVisitSteps.java:291)
- at ✽.the system ends the patient visit(file:///media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/14-clinicalVisit/clinicalVisit.feature:46)
- Results :
- Failed tests: Clinical Visit(Clinical Visit Management): expected null, but was:<[[FirefoxDriver: firefox on LINUX (0df5de02-2f6e-44ef-a1df-46e79766cf7a)] -> css selector: #visits-list li.menu-item.viewVisitDetails span.menu-date]>
- Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 02:11 min
- [INFO] Finished at: 2021-11-25T12:27:19+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project qaframework: There are test failures.
- [ERROR]
- [ERROR] Please refer to /media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework/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
- irynah@irynah-HP-Spectre-x360-Convertible-13-aw0xxx:/media/irynah/DATA/0PROJECTS/OpenMRS-projects/openmrs-contrib-qaframework$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement