remove: broken Playwright E2E testing infrastructure
- Remove playwright.config.ts (references non-existent docker/docker-compose.yaml) - Remove tests/e2e/ directory with broken test files - Remove @playwright/test dependency from package.json - Update documentation to remove E2E test references: - docs/architecture/PROJECT_STRUCTURE.md - docs/implementation/IMPLEMENTATION_SUMMARY.md - README.md - CONTRIBUTING.md - E2E tests were non-functional due to missing Docker setup - Focus on working unit and integration tests instead
This commit is contained in:
@@ -46,7 +46,6 @@ git remote add upstream https://github.com/original-owner/meds.git
|
||||
bun install
|
||||
cp .env.example .env
|
||||
# Edit .env with your development values
|
||||
docker compose -f docker/docker-compose.yaml up -d
|
||||
```
|
||||
|
||||
#### 3. Create Feature Branch
|
||||
@@ -313,22 +312,13 @@ bun test --coverage
|
||||
# Run integration tests
|
||||
bun run test:integration
|
||||
|
||||
# Run E2E tests with Playwright
|
||||
bun run test:e2e
|
||||
|
||||
# Run E2E tests in UI mode
|
||||
bun run test:e2e:ui
|
||||
|
||||
# Debug E2E tests
|
||||
bun run test:e2e:debug
|
||||
|
||||
# Run all tests (unit + integration + e2e)
|
||||
# Run all tests (unit + integration)
|
||||
bun run test:all
|
||||
```
|
||||
|
||||
### E2E Testing
|
||||
|
||||
E2E tests use Playwright and are located in `tests/e2e/`. When adding new features:
|
||||
Integration tests are located in `tests/integration/`. When adding new features:
|
||||
|
||||
```typescript
|
||||
// Use custom fixtures for authenticated testing
|
||||
@@ -442,7 +432,6 @@ We follow [Semantic Versioning](https://semver.org/):
|
||||
### Required Tools
|
||||
|
||||
- **Node.js 18+** or **Bun 1.0+**
|
||||
- **Docker and Docker Compose**
|
||||
- **Git**
|
||||
- **Code Editor** (VS Code recommended)
|
||||
|
||||
@@ -473,10 +462,6 @@ bun test # Run tests
|
||||
bun test:coverage # Run tests with coverage
|
||||
bun test:watch # Run tests in watch mode
|
||||
|
||||
# Docker
|
||||
docker compose -f docker/docker-compose.yaml up -d # Start services
|
||||
docker compose -f docker/docker-compose.yaml logs # View logs
|
||||
docker compose -f docker/docker-compose.yaml down # Stop services
|
||||
```
|
||||
|
||||
## 🆘 Getting Help
|
||||
|
||||
Reference in New Issue
Block a user