/playzon

Primary LanguageTypeScript

Playwright Tests CircleCI

playzon

Conditions

  • timebox to ~2 hours
  • write tests in javascript or python, in a framework of your choosing
  • must use page objects
  • must pass all tests
  • must include a README with documentation
  • could run on ci?

E2E Testcases

Select one specific product on https://amazon.com and:

  • verify product(s) can be added to cart
  • search by product name/text and verify the expected product is found
  • search by product id (ASIN) and verify the expected product is found
  • stretch goal: time permitting, whatever test you think appropriate/important
    • Add snapshot testing to verify the product page looks as expected
    • Add cookies to standardize login flow and other settings
    • Run in Github Actions and CircleCI

Install

npm install

Run Tests

npm test

More information on running tests

Writing Tests

More information on writing tests

☝️ Our implementation uses the page object model