-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Niko Heikkilä edited this page Nov 7, 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
- Can be mostly automated using Playwright
All mentioned cases in 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.