Automation Take-Home Test¶ ↑
Purpose:
-
To measure the candidate's ability to build robust tests using the PageObject gem as a base.
-
To measure the candidate's overall code quality
Deliverables:
-
Return the generated project folder in a zip file
-
Include instructions on how to run the tests and install any required libraries
Required Tools in Generated Gemfile:
-
RSpec for the test framework
-
Watir-drops gem for the test code (this gem enables you to implement the Page Objects)
-
Rake for launching tests / tasks
-
Pry for debugging (optional)
-
chromedriver executable for controlling a Chrome browser (if not installed, follow instructions here)
Browser the test needs to run on:
-
Chrome
Time:
-
3 days from the time the candidate receives the email with the test instructions.
-
You can contact avery.roswell@loblaw.ca OR justin.commu@loblaw.ca via email for any questions or clarifications
Tests scenarios:
Goto loblaws.ca
1) Search for apples and sort the search results from highest price to lowest price. Confirm that the web site has sorted the price correctly.
2) As a new user to the site, add an item to your cart and verify it was added successfully. The site should ask you to pick a store, so you will need to handle that :).
3) As a new user to the site, click ‘Start A New Order’ and select a store that allows online shopping, confirm that the homepage displays the correct store.