Hello here!
I was trying to create a simulation of how we might check for XSS vulnerabilities in Reference Application 2.x, using selenium and cucumber, following the QA documentation guide.
However, I am failing to run tests from my local instance of OpenMRS using the SDK. I keep on getting an error, jakarta.ws.rs.ProcessingException: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message when I changed the webapp.url to point to https://localhost:8080/openmrs/ i the test.properties file. But, however, using the qa-server works fine.
Is there a certificate i need to first install in chrome? How can i manually change the IP adress and the port where chrome driver is listening. (Please correct me if these arent the right solutions to this problem)
Sounds good, Have left a comment on the github which am thingking the error could have been from, Instantiating a driver inside a class is implicitly and arg
You do not need to change neither the IP address nor the port. You need to ensure your chrome driver version your using is compatible with the chrome version(chrome driver version should be the same as that of the chrome browser) your running on your PC.
@jnsereko have you made any change in the module before running npm run refapp2FindPatient ?
Yes @kdaud, but I staged them first.
Except for the test.properties file and the src/test/resources/chromedriver The QA-server is working fine but the local instance is not.
I also tried using firefox but am getting the same error.
Hello @jnsereko , any progress on your local testing, probably building all three modules(uitestframework, refapp distro, qaframework) at once can save you perhaps, this enhances building of required dependencies