According to the log, the test is unable to collect the respective artifacts from distro and uitestframework module required for the build. You may need to ensure you build uitestframework first and then distro-referenceapplication ensuring their respective builds are successful then run the test again
i deleted the artifacts of distro and uitestframework and built openmrs-contrib-uitestframework followed by distro-referenceapplication and they built successfully, then ran the test ( npm run vitalsAndTriagingTest) test against the openmrs-contrib-qaframework.
However, i get a new blocker as shown below :
> openmrs-contrib-qaframework@0.1.0 vitalsAndTriagingTest
> mvn test -Dcucumber.filter.tags='@selenium and @vitals'
[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 143, 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] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.340 s
[INFO] Finished at: 2021-08-09T02:10:34-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "and". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/LifecyclePhaseNotFoundException