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

test: adding tests #47

Closed
wants to merge 6 commits into from
Closed

test: adding tests #47

wants to merge 6 commits into from

Conversation

vvidday
Copy link
Contributor

@vvidday vvidday commented Aug 7, 2022

As more features are being added, it would be great if we can set up automated tests to verify the correctness of any changes and ensure new changes don't break current features.

This is a very rough draft using cypress which includes some basic tests for Lotion::split, Lotion::merge, Block::getCaretPos and Block::getCaretPosWithoutTags.

Would greatly appreciate any input/suggestions on the approach/organization etc or if anyone would like to suggest another testing library. Wanted to check on this approach before I proceed to write more tests covering the existing features.

Example run

test-draft

@greentfrapp
Copy link
Contributor

Hey @vvidday thanks for looking into this! I've actually been meaning to add E2E tests via Playwright but I have limited experience with that at the moment. Would love to chat about this!

@greentfrapp
Copy link
Contributor

Closing this - deprecated by #48

@vvidday vvidday deleted the test/initial branch August 23, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants