Files
orangecat/tests
Georgy Butaev 594ad19462 feat(integration): support FleetWave real customer + FleetCrown as customer of OrangeCat
- Applied missing stakeholder_relationships migration (table + RLS + indexes) so the 8-kind stakeholder API (incl 'customer') works in prod.
- Inserted live relations: OrangeCat customer-> FleetCrown, and links to FleetWave project.
- Created 'FleetWave' project (the real customer) with shared wallet, descriptions highlighting the one-is-customer-of-the-other model.
- Renamed legacy 'Cockpit'->'FleetCrown', 'Orange Cat'->'OrangeCat' in data + code comments.
- Updated README, CLAUDE.md, stakeholders API comments, ProfileProjectsTab to document the live FleetWave / OrangeCat / FleetCrown integration for good UX.
- Wallet shared, websites set, profiles as projects.
- Makes the platform ready for FleetWave (and thus all customers); the economic graph now functions end-to-end with FleetCrown.

Paired with changes in sibling cockpit repo.
2026-06-02 16:10:37 +02:00
..
2026-05-19 19:01:49 +02:00
2026-05-19 19:01:49 +02:00

Tests Directory

This directory contains all test files organized by type and purpose.

Directory Structure

  • auth/ - Authentication-related tests
  • e2e/ - End-to-end tests using Playwright
  • manual/ - Manual testing scripts and utilities
  • security/ - Security-focused tests
  • setup/ - Test setup and configuration

Test Types

  • Unit Tests: Located in __tests__/ directories next to source files
  • Integration Tests: API and service integration tests
  • E2E Tests: Full user journey tests using Playwright
  • Security Tests: Security vulnerability and policy tests
  • Manual Tests: Scripts for manual testing scenarios

Running Tests

# All tests
npm test

# Unit tests only
npm run test:unit

# Integration tests
npm run test:integration

# E2E tests
npm run test:e2e

# Security tests
npm run test:security

# Auth tests
npm run test:auth

Test Configuration

  • jest.config.js - Jest configuration
  • playwright.config.ts - Playwright E2E configuration
  • setup.ts - Global test setup
  • TestWrapper.tsx - React testing utilities