-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feature: Add additional tests & fix e2e pipeline #336
Conversation
Size Change: 0 B Total Size: 63.5 kB ℹ️ View Unchanged
|
Hey @Firestorm980 👋 This is really cool!!! Is there any reason this is still marked as draft? 🤔 from what I can tell this is all passing and working as indended |
@fabiankaegy Just that I was still actively adding tests. I think if we got it updated with the base branch though, we can take out of draft and review. |
Okay cool :) Updated and reviewing now. We can always add more tests in separate PR's :) |
Passing run #917 ↗︎
Details:
Review all test suite changes for PR #336 ↗︎ |
Description of the Change
Tests overhaul for the repo. This fixes an issue with e2e testing on GitHub workflows as well as adds many additional automated tests to Cypress for components that didn't previously have them. Should help identify if there are any breaking changes in the future.
How to test the Change
npm start-test-env
to start the WP environmentnpm cypress:run
Workflow testing should be checked using the repos GitHub actions. Using the
act
package locally with Cypress appears to have some outstanding issues, unfortunately, but they are unrelated to these changes.Changelog Entry
Added - Tests for
ColorSettings
,Counter
,RichTextCharacterLimit
,PostTitle
,PostFeaturedImage
,PostMeta
Added - More standardized testing commands (in line with our other repos)
Fixed - e2e tests only working sporadically in the GitHub workflow.
Credits
Props @Firestorm980
Checklist: