Example Test for Automated Testing Guidelines Causes Error (RA-980)

I’ve been trying to update the UI tests mentioned in this ticket:

As mentioned in the guideline, there is an existing test that should be used as an example: https://wiki.openmrs.org/display/docs/Automated+Testing+Guidelines

However, when I compile (mvn clean install) on openmrs-distro-referenceapplication, one of the errors is from that test. From further investigating, it seems that any test with @Category(BuildTests) will cause the same error to be reported.

Here is the full report from running mvn clean install:

Any help trying to stop these errors would be appreciated! I’ve already tried a couple of things, and have learned a lot about how OpenMRS works, but I think I’m at the point where I need some help. Thanks in advance!

I think the problem, or at least a problem regarding this, is that the Selenium dependancy is out of date with the current version of Firefox. I’m working out how to update the POM to change that. However, if someone else with more experience sees this and wants to make that change, it’d be swell. Thanks!

EDIT: Yep, that was it. I’ll open a ticket and submit a pull request. Cheers!

Ticket:

Pull Request: https://github.com/openmrs/openmrs-core/pull/1744

1 Like