Skip to main content

Posts

Cypress UI Automation - part 5

  Conclusion : The project provided me with a chance to explore our old java automation and provided me the chance to provide my input in creating an automation script from scratch. Cypress Limitation Although Cypress has a limitation of not being able to accept more than 1 super domain within a test, there's a workaround, depending on how complex the system under test is. This project provided me with the opportunity to explore new technology and automation tools, new ideas and ways of thinking. A very challenging project but enjoyed it all the way. If I had more time, I would try and implement contract testing as stated in stage 3 of the test strategy,  API testing (for pulling data from the test environment to avoid data errors after the stage test environment database refreshed. Updating our test data after a database refreshed can be time-consuming) in stage 2 of the Test Strategy document. I would work and collaborate with Developers to learn and develop a Un...

Cypress UI Automation - part 6

  Appendix Test Plan Introduction Document Purpose To set out the plan for the migration of our existing java test automation into JavaScript using cypress. Test Scenarios Giftshop Tests Search spec (Test file) Old Feature/ Shop   Old Scenario   Old Total steps/ Lines of Code   New it tests   New lines of Code   Comments Search Product - Giftshop Search Results should display product 6 Search Results 5 The old code had 3 verifications and all these needed to be One ‘it’ test with one assertion.       Should Validate the product name 4         Should find and select another product colour 7         Product n...