Use the following public website for your automation task.
The following tools/libraries can be used:
- Selenium
- Language of your choice that supports Selenium
Organize your solution in a zip archive and send it back. Note! Please remove all the compiled/built data, if any.
Use the standard user and password (they are prone to change, think how to obtain them)
- Log in with the standard user
- Add the first and the last item in the cart, verify the correct items are added
- Remove the first item and add previous to the last item to the cart, verify the content again
- Go to checkout
- Finish the order
- Verify order is placed
- Verify cart is empty
- Logout from the system
- Log in with the standard user
- Verify when for sorting it is selected "Price (high to low)"
- Then the items are sorted in the correct manner
- Logout from the system
Implement the tasks written in Variant 1 and do the following as well
- Add an ability to filter tests for the test execution
- Add custom HTML report for the test execution
- Tests will be executed on multiple environments (dev, testing, staging, etc..), add necessary configurations.
- Chrome and Firefox should be supported browsers
- Support different browser resolutions