Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Testing/Validation of Gallery Component Pages #199

Open
chiaramooney opened this issue Feb 22, 2022 · 4 comments
Open

Automate Testing/Validation of Gallery Component Pages #199

chiaramooney opened this issue Feb 22, 2022 · 4 comments
Milestone

Comments

@chiaramooney
Copy link
Contributor

Currently when we need to validate a release, we update gallery to the latest RNW version and then manually walk through the pages to confirm that all of the components are working and rendering correctly. Instead, it would be great to automate this process by using some kind of UI testing platform - such as Jest - to iterate through the pages and test the controls. We should then add this testing to our pipelines, so we can catch regressions as they come.

@ghost ghost added the Needs: triage 🔍 label Feb 22, 2022
@chrisglein chrisglein added enhancement New feature or request and removed Needs: triage 🔍 labels Feb 24, 2022
@chrisglein chrisglein added this to the Backlog milestone Feb 24, 2022
@chrisglein
Copy link
Member

Goal would be to update the "test updated gallery app" checklist item from here with something that mostly runs itself.

@chrisglein
Copy link
Member

Update from @chiaramooney: we have snapshot testing for gallery and upgrades/builds against canary, latest, and preview but we are still missing interactive E2E tests

@chiaramooney
Copy link
Contributor Author

Next goal is to get interactive E2E testing done. We will need to do some initial setup here to get WebDriverIO/WinAppDriver setup and flow of navigating to a particular component that we want to test (est. ~half a week of work). From there it should take us 1-2 days per component we are trying to add interactive testing for.

@chrisglein
Copy link
Member

Next goal is to get interactive E2E testing done. We will need to do some initial setup here to get WebDriverIO/WinAppDriver setup and flow of navigating to a particular component that we want to test (est. ~half a week of work). From there it should take us 1-2 days per component we are trying to add interactive testing for.

There are ~30 components for Gallery today, so that could be 30-60 days based on this estimate. Can you suggest a prioritization for what would be the best return? For example a P1/P2/P3 list. So maybe we have ~3 days of initial setup, then we go after 10 components for a total of ~20 days of investment for much better test coverage.

@chiaramooney chiaramooney removed their assignment Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants