-
Notifications
You must be signed in to change notification settings - Fork 0
Part 6 pw #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Part 6 pw #50
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… service readiness checks
…ated steps and enhanced Supabase integration
…ing steps for Supabase CLI and Playwright integration
…ing steps for Supabase CLI and Playwright integration
…ow for Supabase integration
…ow for Supabase integration
… and updating npm ci command
… and updating npm ci command
…onal execution for E2E triggers
|
This pull request introduces end-to-end (E2E) testing capabilities using Playwright, integrates Supabase for local testing, and enhances the Angular application with debugging utilities and test coverage. Key changes include new workflows for E2E testing, updates to the Angular project configuration, and the addition of Playwright tests and helpers. E2E Testing Integration
Playwright Tests and Helpers
Supabase Integration
Angular Application Enhancements
Dependency Updates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 end-to-end (E2E) testing capabilities using Playwright, along with minor refactoring and dependency updates. The changes include setting up a GitHub Actions workflow for E2E testing, adding Playwright configurations, creating an example test, and updating the Angular project configuration to support Playwright. Additionally, there are minor updates to improve code readability in the
AdminApiService.E2E Testing Setup:
.github/workflows/e2e-tests.yml: Added a GitHub Actions workflow to run E2E tests with a local Supabase instance and Playwright. This includes setting up dependencies, starting services, running tests, and uploading test results.playwright.config.ts: Added Playwright configuration to define test settings, browser projects, and a local web server for testing.e2e/example.spec.ts: Added an example Playwright test to verify the page title and handle cookie consent.Angular Project Configuration:
angular.json: Added a newe2etarget to the Angular project configuration for running Playwright tests in different environments (e.g., local, production).package.json: Added Playwright-related scripts (e2e,e2e:local) and dependencies (@playwright/test,playwright-ng-schematics,ts-node). [1] [2] [3]Code Refactoring:
src/app/admin/_services/admin-api.service.ts: Improved code readability by formatting long lines, using consistent arrow function syntax, and adding commas for better diffing. [1] [2] [3] [4] [5] [6] [7]TypeScript Configuration:
e2e/tsconfig.json: Added a TypeScript configuration file for thee2edirectory, extending the basetsconfig.json.