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

Testing #17

Open
evanplaice opened this issue Dec 23, 2019 · 1 comment
Open

Testing #17

evanplaice opened this issue Dec 23, 2019 · 1 comment
Labels
discussion Discuss a topic

Comments

@evanplaice
Copy link
Member

evanplaice commented Dec 23, 2019

Description

Vanilla web components need to be tested

After some experimentation, it looks like E2E testing will be the ideal choice. It'll likely be Cypress.io any maybe testing-library to supplement.

Notes

  • Jest + JSDOM isn't sufficient

References

@evanplaice evanplaice added the discussion Discuss a topic label Dec 23, 2019
@evanplaice evanplaice added the hold Blocked by a missing requirement label Jan 8, 2020
@evanplaice evanplaice removed the hold Blocked by a missing requirement label Jun 22, 2020
@evanplaice
Copy link
Member Author

evanplaice commented Jun 22, 2020

Correction, JSDOM won't work for elements that are visual-heavy (ex wc-codemirror). Testing will require a full rendering engine, meaning some form of E2E browser testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discuss a topic
Projects
None yet
Development

No branches or pull requests

1 participant