mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-04 21:02:35 +08:00
## Description Adds Playwright E2E testing infrastructure with project configuration and a login flow test. This is Phase 1 of the Playwright E2E suite, kept minimal with only the core setup and login component. Ref: Discussion #13500, PR #13067 ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? - Verified all imports resolve correctly (`login-flow-ui-validation.spec.ts` only imports `Login` from `@components/ui`) - Ran login flow test locally against a running Chatwoot instance ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works --------- Co-authored-by: Sony Mathew <sony@chatwoot.com> Co-authored-by: Sony Mathew <2040199+sony-mathew@users.noreply.github.com>
12 lines
287 B
Plaintext
12 lines
287 B
Plaintext
# Playwright Test Configuration
|
|
|
|
# Base URL for the Chatwoot instance under test
|
|
BASE_URL=http://localhost:3000
|
|
|
|
# Admin credentials
|
|
TEST_USER_EMAIL=admin@chatwoot.com
|
|
TEST_USER_PASSWORD="Password123@#"
|
|
|
|
# Add additional variables as needed by specific test suites
|
|
# VARIABLE_NAME=value
|