Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mherman22@mherman22:~/newForks/openmrs-contrib-qaframework$ npm run refapp2Conditions
- > openmrs-contrib-qaframework@0.1.0 refapp2Conditions /home/mherman22/newForks/openmrs-contrib-qaframework
- > mvn test -Dcucumber.filter.tags='@selenium and @conditions'
- [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 194, 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] --- maven-java-formatter-plugin:0.4:format (default) @ qaframework ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 92
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 92 file(s)
- [INFO] Approximate time taken: 1s
- [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 /home/mherman22/newForks/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 45 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: /home/mherman22/newForks/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.
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 24161
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:52:07 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 4510
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:52:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 24040
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:52:20 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 10605
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:52:30 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 31776
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:52:34 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 18206
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:54:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 31299
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:54:43 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Running locally...
- Starting ChromeDriver 93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}) on port 29121
- Only local connections are allowed.
- Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
- ChromeDriver was started successfully.
- Oct 25, 2021 1:56:52 PM org.openqa.selenium.remote.ProtocolHandshake createSession
- INFO: Detected dialect: W3C
- Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 288.396 sec <<< FAILURE!
- Edit first active condition(Patient's Conditions Managment) Time elapsed: 131.193 sec <<< ERROR!
- org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.openmrs.contrib.qaframework.helper.Page$1@7c060929 (tried for 120 second(s) with 500 milliseconds interval)
- Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
- System info: host: 'mherman22', ip: '192.168.43.144', os.name: 'Linux', os.arch: 'amd64', os.version: '5.11.0-37-generic', java.version: '1.8.0_292'
- Driver info: org.openqa.selenium.chrome.ChromeDriver
- Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 93.0.4577.82, chrome: {chromedriverVersion: 93.0.4577.63 (ff5c0da2ec0ad..., userDataDir: /tmp/.com.google.Chrome.B7zkdl}, goog:chromeOptions: {debuggerAddress: localhost:35937}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), 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}
- Session ID: e230c66ab7a7c0b6befb78e9e3f176f8
- at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
- at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
- at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
- at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
- at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
- at ✽.User edits active(file:///home/mherman22/newForks/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/12-condition/conditions.feature:35)
- Edit first inactive condition(Patient's Conditions Managment) Time elapsed: 130.232 sec <<< ERROR!
- org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.cssSelector: #INACTIVE i.icon-pencil.edit-action.ng-scope (tried for 120 second(s) with 500 milliseconds interval)
- Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
- System info: host: 'mherman22', ip: '192.168.43.144', os.name: 'Linux', os.arch: 'amd64', os.version: '5.11.0-37-generic', java.version: '1.8.0_292'
- Driver info: org.openqa.selenium.chrome.ChromeDriver
- Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 93.0.4577.82, chrome: {chromedriverVersion: 93.0.4577.63 (ff5c0da2ec0ad..., userDataDir: /tmp/.com.google.Chrome.f4DiMs}, goog:chromeOptions: {debuggerAddress: localhost:37451}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), 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}
- Session ID: ed1f4bb357630f1d0a5ea51736c98d39
- at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
- at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
- at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
- at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
- at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
- at ✽.User edits inactive(file:///home/mherman22/newForks/openmrs-contrib-qaframework/src/test/resources/features/refapp-2.x/12-condition/conditions.feature:41)
- Results :
- Tests in error:
- Edit first active condition(Patient's Conditions Managment): Expected condition failed: waiting for org.openmrs.contrib.qaframework.helper.Page$1@7c060929 (tried for 120 second(s) with 500 milliseconds interval)(..)
- Edit first inactive condition(Patient's Conditions Managment): Expected condition failed: waiting for visibility of element located by By.cssSelector: #INACTIVE i.icon-pencil.edit-action.ng-scope (tried for 120 second(s) with 500 milliseconds interval)(..)
- Tests run: 4, Failures: 0, Errors: 2, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 04:56 min
- [INFO] Finished at: 2021-10-25T13:56:53+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 /home/mherman22/newForks/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
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! openmrs-contrib-qaframework@0.1.0 refapp2Conditions: `mvn test -Dcucumber.filter.tags='@selenium and @conditions'`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the openmrs-contrib-qaframework@0.1.0 refapp2Conditions 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! /home/mherman22/.npm/_logs/2021-10-25T10_56_53_314Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement