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

Voyager integration tests #74

Open
sdumetz opened this issue Aug 1, 2024 · 0 comments
Open

Voyager integration tests #74

sdumetz opened this issue Aug 1, 2024 · 0 comments

Comments

@sdumetz
Copy link
Member

sdumetz commented Aug 1, 2024

To reliably keep adding features without breaking the growing userbase it becomes urgent to have some sort of integration testing that checks updates for regression before deployment

Puppeteer should be able to handle this.

While most tests should focus on functionality and should be easy to implement with the profusion of accessibility properties provided by Voyager, an image snapshot comparison tool will ultimately be necessary to check for proper render state. jest-image-snapshot is a popular candidate. The more lightweight chai-screenshot would help reuse previous work on puppeteer/mocha/chai integration tests from other projects. It uses pixelmatch under the hood, which seems OK for our case.

@sdumetz sdumetz added this to eCorpus Aug 1, 2024
@sdumetz sdumetz converted this from a draft issue Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: features
Development

No branches or pull requests

1 participant