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

End-to-end tests for core flows #302

Open
th0rgall opened this issue Jan 26, 2023 · 1 comment
Open

End-to-end tests for core flows #302

th0rgall opened this issue Jan 26, 2023 · 1 comment

Comments

@th0rgall
Copy link
Contributor

We have Playwright set up for our project now, as well as a local Firebase emulators development environment that can be automated.

The following sequential e2e test flow would be extremely valuable:

**User 1:**

1. Create account
2. Verify account
3. Add garden
4. Log out

**User 2**
1. Create account
2. Verify account
3. On the map, click the garden of User 1
4. Ask to chat with User 1
6. Send a message to User 1

**User 1**
1. Log back in
1. Go to chat pane 
2. Read incoming chat

This verifies, both on the frontend and backend:

  • that people can create accounts
  • that they can create a garden
  • that they can send a message to another garden
  • and that that message can be read.

which is the core of WTMG!

It would be good to have this run as part of CI too.

@th0rgall
Copy link
Contributor Author

th0rgall commented Feb 24, 2023

We could also look into https://www.cypress.io/app/#browser_testing for this.

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

No branches or pull requests

1 participant