Skip to content

๐Ÿ–ฅ๏ธ Front-Utility Tests

Frontend E2E tests for utility components and core UI flows.

๐Ÿ” What's Tested

These Playwright tests cover fundamental UI components that are used across the entire application:

Test Suite Description
Authentication Login, registration, logout, session persistence
Settings Profile editing, preferences tabs, password change
Files File upload, file list, drag & drop, file deletion
Select Components SearchSelect, SimpleSelect, currency pickers
Image Crop ImageEditModal, crop presets, zoom, rotation, format export

๐Ÿš€ Running

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

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

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

# Run a specific test file
./dev.py test front-utility auth

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

๐Ÿ“‚ Test Location

frontend/e2e/
โ”œโ”€โ”€ auth.spec.ts          # Login, register, logout
โ”œโ”€โ”€ settings.spec.ts      # Settings tabs and profile
โ”œโ”€โ”€ files.spec.ts         # File upload and management
โ”œโ”€โ”€ select.spec.ts        # Dropdown and search select
โ””โ”€โ”€ image-crop.spec.ts    # Image editing modal