arimgibson / Deadname-Remover

An easy to use Firefox and Chrome plugin to automatically remove and replace deadnames
MIT License
120 stars 30 forks source link

✅(v2.0.0) Add tests for name removal on variety of sites #535

Open arimgibson opened 2 years ago

arimgibson commented 2 years ago

Description

In order to ensure the extension's functionality and compatibility with multiple sites and browsers, end-to-end testing should be integrated using Cypress. At least 3 initial tests should focus on the extension's functionality on sites where content is static and the Shadow DOM/Virtual DOM/Web Components are not being utilitized. Other tests should cover situations where the text on the site changes as the user interacts with it (Twitter feed, for example) and sites that utilize the Shadow DOM, React (non-SSR), Vue (non-SSR), etc. Proper test coverage requires ensuring compatibility with several of the most popular frameworks for developing front-end applications.

Problem

WIthout proper testing in place, the extension's functionality is not dependable. Updates may break certain features, and having a testing framework in place is a good way to prevent breaking changes.

Next Steps

Notes

If you are interested in completing a pull request for this issue, please tag @arimgibson to get approval first. This ensures that multiple people aren't working on the same PR at the same time, and helps to make sure you get credit for your work.