Skip to content

Frontend playwright tests#1310

Open
henrychoy wants to merge 4 commits into
devfrom
frontend-tests
Open

Frontend playwright tests#1310
henrychoy wants to merge 4 commits into
devfrom
frontend-tests

Conversation

@henrychoy

@henrychoy henrychoy commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Add playwright tests for frontend. Basic tests for creating/editing/deleting resources.

  • from the src/frontend folder, run npm install to install playwright
  • Tests are under the src/frontend/tests folder
  • Run tests manually with commands below from src/frontend using development mode db. headed allows you to see the browser when tests are running.
    • npm run test:e2e
    • npm run test:e2e:headed
  • Run tests manually on a separate db just for testing. This may be the better option since your dev db doesnt get polluted. Please stop your dev flask server before running this.
    • npm run test:e2e:with-backend
    • npm run test:e2e:with-backend:headed
  • you can run an individual test file like this:
    • npm run test:e2e:with-backend -- queues.spec.ts
  • Or you can run a specific test with the title:
    • npm run test:e2e:with-backend -- -g "create queue"
  • Added github workflow to run tests when submitting PR

@henrychoy henrychoy requested a review from keithmanville June 15, 2026 17:17
@henrychoy henrychoy self-assigned this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant