-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Henri Sjöblom edited this page Nov 10, 2024
·
5 revisions
Before creating a PR, the app will be tested manually and automatically before merging. We have a GitHub pipeline, that runs type-checks and runs automatic Playwright tests.
- Playwright E2E tests
- Hoppscotch and Postman.
Authentication and authorization
- Errors are displayed when logging in / creating a new user
- Validation works
- User is redirected to logging in if enters a page that needs authorization
- Automated using Playwright.
All cases in the description happen.
API endpoints security
Check that user can only access their info on all routers.
Create requests using Hoppscotch / Postman or alternative app
User can only access their own information
Chat Page
- Verify the Chat page loads correctly.
- Verify that a new thread can be created and a message can be sent.
- Verify that a thread can be deleted.
- Automated using Playwright.
All cases in the description happen.
Flash cards
- Creating new flashcards work
- Flash cards can be played
- Results are saved in db
- History shows created flashcard
- Flash card can be played from history
- History can be deleted
- Automated using Playwright.
All cases in the description happen.
Settings Page
- Verify name and email can be updated
- Verify password can be changed
- Verify default cards settings can be uptaded
- Automated using Playwright.
All cases in the description happen.