Skip to content

🚀 Demonstrating process flow for implementing end-to-end automated tests (Playwright) against a Shopfront application. Public Github Project with Issues/PR's/Bugs included! ✨

License

Notifications You must be signed in to change notification settings

tooniez/e2e-test-automation-shopfront-exercise

Repository files navigation

Technical Assessment: End-to-End Test Automation

Description

This project demonstrates my ability in setting up and executing end-to-end automated tests for an online shopping web application.

Tasks

  • Test Plan: Write a brief test plan outlining important end-to-end test scenarios for the application. Explain the reasons for your choices. #3
  • Test Automation Framework: Choose a test automation framework suitable for this application. Explain why you have chosen it over others. #2
  • Automated Test Creation: Write automated test scripts for at least two scenarios.
  • Test Reporting: After executing the tests, generate a report indicating whether each test has passed or failed. #11
  • Maintenance: Write a brief explanation of how you would maintain these tests as the application grows and evolves. 12

Project

A Github public project was created to demonstrate roughly the type of Issues/Pull Requests to establish the foundations of an Automated E2E Test Framework.

Milestones

Test Scripts

3 example test scripts were created as part of this exercise

  • login #10
  • products/cart, recorded user flow with Codegen #14

Test Reporting

In this exercise, this repository is configured using 2 Github Actions. Each action is configured with a Workflow Dispatch option enabling the option to trigger manually.

  1. Build and Test
  • runs the Shopfront test suite on Push to any branch
  • runs test suite with junit reporter
  • posts test results as comment in Pull Request
  1. CI - Shopfront E2E Test Suite
  • run the Shopfront test suite on Pull Request against main branch
  • runs the test suite with default HTML reporter
  • uploads test report to action for download

Maintenance

See our CONTRIBUTING for brief details related maintenance of test this framework

Submission Guidelines

  • Upload the source code and documentation to a repository on GitHub.
  • Share the test reports in any preferred format.
  • Email the completed work to the hiring manager/tech lead.

Additional Information

If you have any questions or need clarifications, feel free to reach out in this repository or this ama 📧

📝 License

Copyright © 2023 tooniez.
This project is MIT licensed.

About

🚀 Demonstrating process flow for implementing end-to-end automated tests (Playwright) against a Shopfront application. Public Github Project with Issues/PR's/Bugs included! ✨

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks