Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mherman22@kuntakinte:~/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests$ npm run refapp2VisitNote
- > [email protected] refapp2VisitNote
- > mvn test -Dcucumber.filter.tags='@selenium and @visitNote'
- [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 178, 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 ]---------------------------------
- Downloading from central: https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml
- Downloaded from central: https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml (2.4 kB at 502 B/s)
- [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 /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ qaframework-bdd-tests ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 87 source files to /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/target/classes
- [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/java/org/openmrs/contrib/qaframework/helper/Page.java: Some input files use or override a deprecated API.
- [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/main/java/org/openmrs/contrib/qaframework/helper/Page.java: Recompile with -Xlint:deprecation for details.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qaframework-bdd-tests ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 49 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ qaframework-bdd-tests ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 36 source files to /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/target/test-classes
- [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/java/org/openmrs/contrib/qaframework/automation/ServiceSteps.java: /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/java/org/openmrs/contrib/qaframework/automation/ServiceSteps.java uses or overrides a deprecated API.
- [WARNING] /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/java/org/openmrs/contrib/qaframework/automation/ServiceSteps.java: Recompile with -Xlint:deprecation for details.
- [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: /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/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.
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 40873
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:08:16 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:08:16 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:08:16 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 59016
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:12:06 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:12:06 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:12:06 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 50537
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:12:39 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:12:39 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:12:39 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 40448
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:16:54 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:16:54 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:16:54 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 36911
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:17:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:17:18 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:17:18 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 49904
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:20:28 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:20:28 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:20:28 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 35750
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:20:49 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:20:49 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:20:49 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Running locally...
- Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 43414
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Feb 06, 2023 9:24:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected upstream dialect: W3C
- Feb 06, 2023 9:24:46 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 104
- Feb 06, 2023 9:24:46 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
- INFO: Found CDP implementation for version 108 of 104
- Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1,057.425 sec <<< FAILURE!
- Editing a Visit Note(Visit Note Management) Time elapsed: 278.411 sec <<< ERROR!
- org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 60.000
- (Session info: chrome=108.0.5359.94)
- Build info: version: '4.4.0', revision: 'e5c75ed026a'
- System info: host: 'kuntakinte', ip: '192.168.43.219', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '1.8.0_352'
- Driver info: org.openqa.selenium.chrome.ChromeDriver
- Command: [53fda3e5c8bbf1e06b64e45fe87fd52b, clickElement {id=565a517b-3a87-4802-b95e-0dccdec5e512}]
- Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 108.0.5359.94, chrome: {chromedriverVersion: 108.0.5359.71 (1e0e3868ee06..., userDataDir: /tmp/.com.google.Chrome.yDveH4}, goog:chromeOptions: {debuggerAddress: localhost:44293}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: LINUX, proxy: Proxy(), se:cdp: ws://localhost:44293/devtoo..., se:cdpVersion: 108.0.5359.94, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
- Element: [[ChromeDriver: chrome on LINUX (53fda3e5c8bbf1e06b64e45fe87fd52b)] -> css selector: visitbyencountertype > ul > li:nth-child(1) > a]
- Session ID: 53fda3e5c8bbf1e06b64e45fe87fd52b
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
- at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
- at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
- at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
- at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:167)
- at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:142)
- at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:547)
- at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:257)
- at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:78)
- at org.openmrs.contrib.qaframework.helper.Page.clickOn(Page.java:225)
- at org.openmrs.contrib.qaframework.page.ClinicianFacingPatientDashboardPage.goToRecentVisits(ClinicianFacingPatientDashboardPage.java:115)
- at org.openmrs.contrib.qaframework.automation.VisitNoteSteps.loadVisitNotePage(VisitNoteSteps.java:68)
- at ✽.a user clicks visit note link from a patient dashboard(file:///home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/resources/features/refapp-2.x/07-visit/visitNote.feature:7)
- Deleting a Visit Note(Visit Note Management) Time elapsed: 298.915 sec <<< ERROR!
- org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 60.000
- (Session info: chrome=108.0.5359.94)
- Build info: version: '4.4.0', revision: 'e5c75ed026a'
- System info: host: 'kuntakinte', ip: '192.168.43.219', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '1.8.0_352'
- Driver info: org.openqa.selenium.chrome.ChromeDriver
- Command: [3a096bd314c493d853d45f7de1d8010f, clickElement {id=e1ae5625-e249-46f3-bcd1-1bc288a9632f}]
- Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 108.0.5359.94, chrome: {chromedriverVersion: 108.0.5359.71 (1e0e3868ee06..., userDataDir: /tmp/.com.google.Chrome.d52ZUu}, goog:chromeOptions: {debuggerAddress: localhost:35499}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: LINUX, proxy: Proxy(), se:cdp: ws://localhost:35499/devtoo..., se:cdpVersion: 108.0.5359.94, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
- Element: [[ChromeDriver: chrome on LINUX (3a096bd314c493d853d45f7de1d8010f)] -> css selector: visitbyencountertype > ul > li:nth-child(1) > a]
- Session ID: 3a096bd314c493d853d45f7de1d8010f
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
- at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
- at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
- at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
- at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
- at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:167)
- at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:142)
- at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:547)
- at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:257)
- at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:78)
- at org.openmrs.contrib.qaframework.helper.Page.clickOn(Page.java:225)
- at org.openmrs.contrib.qaframework.page.ClinicianFacingPatientDashboardPage.goToRecentVisits(ClinicianFacingPatientDashboardPage.java:115)
- at org.openmrs.contrib.qaframework.automation.VisitNoteSteps.loadVisitNotePage(VisitNoteSteps.java:68)
- at ✽.a user clicks visit note link from a patient dashboard(file:///home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/openmrs-contrib-qaframework/qaframework-bdd-tests/src/test/resources/features/refapp-2.x/07-visit/visitNote.feature:7)
- Results :
- Tests in error:
- Editing a Visit Note(Visit Note Management): timeout: Timed out receiving message from renderer: 60.000(..)
- Deleting a Visit Note(Visit Note Management): timeout: Timed out receiving message from renderer: 60.000(..)
- Tests run: 4, Failures: 0, Errors: 2, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 18:03 min
- [INFO] Finished at: 2023-02-06T21:25:47+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 /home/mherman22/Documents/git-repositories/git-openmrs/openmrsQA/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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement