hngprojects / hng_boilerplate_golang_web

Apache License 2.0
77 stars 49 forks source link

test: e2e footer landing page test #357

Open Abigail-cloud opened 1 month ago

Abigail-cloud commented 1 month ago

Description

An Automation test to check for elements in the landing page and checking out the various link navigations. ​

Related Issue (Link to Github issue)

How Has This Been Tested?

  1. Install playwright: npm init playwright@latest
  2. Running the test: npx playwright test
  3. HTML Test Report: npx playwright show-report ​

    Screenshots (if appropriate - Postman, etc):

    Types of changes

    • [x] Bug fix (non-breaking change which fixes an issue)
    • [x] Breaking change (fix or feature that would cause existing functionality to change) ​

      Checklist:

    • [x] I have added tests to cover my changes.
    • [x] All new and existing tests passed.