End-to-End Testing

WIP

Robust End-to-End testing of our entire platform serves as the backbone of our productivity.

Proposed Architecture

hackers.data.ts
organizers.data.ts
sponsors.data.ts
dashboard.page.ts
application-form.page.ts
profile.page.ts
something-dialog.component.ts
some-other-compound-component-that-exists-in-multiple-pages.component.ts
hacker.actions.spec.ts
organizer.actions.spec.ts
dashboard.visual.spec.ts
application-form.visual.spec.ts
playwright.config.ts

Screen sizes to test:

  • Desktop
  • Tablet
  • Mobile (320px)

Run Tests

Terminal
pnpm nx e2e docs-e2e --verbose

Generate Tests (Codegen)

Terminal
pnpm exec playwright codegen

Select DESKTOP, TABLET, and/or MOBILE in the 'Projects' tab on the top left of the Playwright UI.

View Tests in CI

On this page

Made with 💚 for Hackers by Hackers