Skip to content

Commit c3017fd

Browse files
committed
docs: update CLAUDE.md with registration-guard profile and Playwright testing
- Add registration-guard profile to Configuration Profiles section - Update Testing Strategy to reflect Playwright as the primary E2E framework with Selenide as legacy
1 parent 6583b42 commit c3017fd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,19 @@ This is a Spring Boot demo application showcasing the [Spring User Framework](ht
5858
4. **Testing Strategy**:
5959
- Unit tests for individual components
6060
- Integration tests using `@IntegrationTest` annotation (combines Spring Boot test setup)
61-
- UI tests with Selenide for end-to-end testing
61+
- E2E tests with Playwright (`playwright/tests/`) — primary UI test framework
62+
- Legacy UI tests with Selenide (`src/test/java/.../user/ui/`)
6263
- API tests using MockMvc for REST endpoints
6364

6465
### Important Conventions
6566

6667
1. **No Custom User Entity**: This demo uses the framework's User entity directly. Custom user data goes in separate entities (like UserProfile).
6768

68-
2. **Configuration Profiles**:
69+
2. **Configuration Profiles**:
6970
- `local`: Development with local database
7071
- `test`: Integration testing with H2
7172
- `docker-keycloak`: OIDC integration with Keycloak
73+
- `registration-guard`: Enables domain-restricted registration (form/passwordless only)
7274

7375
3. **Template Organization**: All Thymeleaf templates are in `src/main/resources/templates/` with subdirectories for user management (`email/`, `password/`, etc.)
7476

0 commit comments

Comments
 (0)