Repository navigation
test: add end-to-end (e2e) tests for web - #145
Closed
harishr-testmuai wants to merge 1 commit into
Closed
harishr-testmuai wants to merge 1 commit into
harishr-testmuai wants to merge 1 commit into
Conversation
Author
|
The tests are written in plain English with Kane CLI. Disclosure: I work at TestMu AI, which makes Kane CLI. Happy to move the folder or trim the recorded files if you'd prefer a lighter footprint. We give open source projects free licenses to create, run and maintain their test suites; it's an initiative to promote open source contributions from our side. If that would help Many Notes, email me at harishr@testmuai.com. |
Owner
|
Thanks for the PR. I'd rather keep the project on a single test stack, so I'm sticking with Pest only, including its browser testing once the app stabilizes. Thanks again for the effort. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two browser tests under
e2e/kane/, written in plain English:vault_test.mdregisters a user, checks the Starter Vault is listed, then creates a "Work" vault.note_test.mdregisters a user, creates a "Journal" vault and a "Standup" note, types into the editor, reloads and checks the text was saved.The Pest suite covers the backend well; these add an end to end (e2e) test for web and mobile style check of the signup, vault and editor autosave flow through the browser. They run against a fresh
brufdev/many-notes:latestcontainer (the README has the commands). I ran each test several times from a clean container and they passed every time. No app code is touched.