Vai al contenuto

๐Ÿ‘ฅ Front-User Tests

Frontend E2E tests for user-facing broker and multi-user features.

๐Ÿ” What's Tested

These Playwright tests cover the broker management UI and multi-user collaboration features:

Test Suite Description
Brokers Broker CRUD (create, edit, delete), broker list, broker detail page
Multi-User Multiple user accounts, visibility rules, data isolation
Sharing Broker sharing modal, RBAC roles (Owner, Editor, Viewer), share percentage

๐Ÿš€ Running

# Run all front-user tests
./dev.py test front-user all

# List the units (actions), each with its description
./dev.py test front-user --help

# List the Playwright tests of every unit, without running them (Vitest files are not listed)
./dev.py test front-user all --list

# Run a specific test file
./dev.py test front-user brokers

# Run with visible browser
./dev.py test front-user all --headed

๐Ÿ“‚ Test Location

frontend/e2e/
โ”œโ”€โ”€ brokers.spec.ts       # Broker CRUD operations
โ”œโ”€โ”€ multi-user.spec.ts    # Multi-user scenarios
โ””โ”€โ”€ sharing.spec.ts       # Broker sharing & RBAC