-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathapplication-playwright-test.yml
More file actions
37 lines (33 loc) · 1.74 KB
/
application-playwright-test.yml
File metadata and controls
37 lines (33 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Playwright Test Profile Configuration
# This profile enables the Test API controller for Playwright E2E tests
# IMPORTANT: This profile should NEVER be active in production
# Disable password reset emails - tests use Test API for token retrieval
app:
mail:
sendPasswordResetEmail: false
spring:
datasource:
# Use local development database - same as 'local' profile
# Note: Credentials are hardcoded for test profile as this connects to a local development database only.
# This profile is protected by @Profile annotation and should never be active in production.
password: springuser
url: jdbc:mariadb://localhost:3306/springuser?createDatabaseIfNotExist=true
driverClassName: org.mariadb.jdbc.Driver
username: springuser
# Enable test API endpoints by adding them to unprotected URIs
user:
mfa:
enabled: false
registration:
# Disable email sending since tests use Test API for token retrieval
sendVerificationEmail: false
googleEnabled: false
facebookEnabled: false
security:
# Test API endpoints are handled by TestApiSecurityConfig with IP whitelist restriction
unprotectedURIs: /,/index.html,/favicon.ico,/apple-touch-icon-precomposed.png,/css/*,/js/*,/js/user/*,/js/event/*,/js/utils/*,/img/**,/user/registration,/user/resendRegistrationToken,/user/resetPassword,/user/registrationConfirm,/user/changePassword,/user/savePassword,/oauth2/authorization/*,/login,/user/login,/user/login.html,/swagger-ui.html,/swagger-ui/**,/v3/api-docs/**,/event/,/event/list.html,/event/**,/about.html,/error,/error.html
logging:
level:
com.digitalsanctuary.spring.demo.test.api: DEBUG
com.digitalsanctuary.spring.demo.service: DEBUG
com.digitalsanctuary.spring.user.service.UserEmailService: DEBUG