Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive setup for end-to-end (e2e) testing using Playwright, along with various configuration and dependency updates. The changes include creating a new workflow for e2e tests, adding necessary configurations, and updating dependencies in several package files.
End-to-End Testing Setup:
.github/workflows/e2e-tests.yml
: Added a new GitHub Actions workflow for running e2e tests on specific paths and conditions. This includes setting up services, caching dependencies, and running tests.e2e/package.json
: Created a new package.json for the e2e tests with dependencies like@playwright/test
and scripts for running tests.e2e/playwright.config.ts
: Added Playwright configuration file to set up the local dev server, test directory, and browser settings.e2e/tests/auth/auth.spec.ts
: Added an e2e test for user authentication to verify the sign-in functionality.e2e/tsconfig.json
: Added a TypeScript configuration file for the e2e tests.Configuration and Dependency Updates:
client/.env.test
: Added environment variables for testing, includingNEXTAUTH_URL
andNEXT_PUBLIC_API_URL
.client/package.json
: Updated dependencies and removed an incorrect entry forzod
. [1] [2]pnpm-lock.yaml
: Updated to include new dependencies and configurations for e2e testing, including@playwright/test
,typescript
, andzod
. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]