Above are some automation test samples that I wrote and tested from my experience.
test 1
Includes the following tests for https://www.evomag.ro/ website:
- 'Should have the correct page title'
- 'Should contain a cart button'
- 'Should open EvoMag Noutati page'
- 'Should have a working search'
test 2
Includes the following tests for https://www.pcgarage.ro/ website:
- 'Should have the logo on the main page'
- 'Should open pcgarage gaming section'
- 'Should search for a product'
test 3
Includes the following tests for https://www.libris.ro/ website:
- 'Should have a login menu open'
- 'Should login on libris.ro'
- 'Should log out on libris.ro'
- 'Should login on libris.ro with wrong username'
- 'Should login on libris.ro with wrong password'
- 'Should login again on libris.ro'
- 'Should find a product with searchbox'
- 'Should add a product to favorites'
- 'Take a Screenshot'