Closed tsluyter closed 2 years ago
EDIT: Removed, top post has current, proper details.
I've gotten the local JuiceShop tests to work! To do this, I had to make a few changes:
websiteLink
to "http://juice-shop:3000/#/".caps.setVersion()
calls.For my personal purposes, I have changed testng.xml so it would only run the Selenium Grid-based tests for JuiceShop.
Now mvn test
works and only gives a failure on one test (Firefox, make payment)
@tsluyter Thanks a lot for starting this conversation and raising ticket, I have made a lot of changes as per your suggestion in the code base and have also updated the Readme with all the steps to run the tests in local. Also have updated the medium-blog by adding the steps to run the tests. Appreciate your feedback.
Thank you for all your hard work! I'll go read the blog post and the README.md again.
The README is awesome, thank you! And so's the update to your blog post. Thank you!
It seems that I, without any Dev background, need a little bit more documentation on how to actually run the tests in an unattended fashion.
Assume that I fire up the Selenium Grid (confirmed that the UI is available on :4444, with three browsers waiting for instructions). How would I then get the Grid to perform tests against either the locally running JuiceShop, or a remotely hosted on?
If I strip testng.xml down to the Selenium Grid tests, I do see jobs queued on the SGrid UI, but the browsers themselves don't appear to be getting the assignments. Instead, there's a three minute timeout, after which the queued jobs go away again.
Logs from mvn test
Logs from selenium-hub, after three minutes
Setup:
Original message: Removed. I was severely misunderstanding things.