-
Notifications
You must be signed in to change notification settings - Fork 71
Add Playwright end-to-end tests for core website functionality using Chromium #115
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: GeekTrainer <6109729+GeekTrainer@users.noreply.github.com>
Co-authored-by: GeekTrainer <6109729+GeekTrainer@users.noreply.github.com>
@copilot update the Playwright tests to ensure only WebKit is used. We don't need to worry about other browsers |
Co-authored-by: GeekTrainer <6109729+GeekTrainer@users.noreply.github.com>
Updated the Playwright configuration to use only WebKit browser. Changes made:
Commit: 2e318d0 |
@copilot let's update this to only use Chromium instead |
Co-authored-by: GeekTrainer <6109729+GeekTrainer@users.noreply.github.com>
Updated the Playwright configuration to use only Chromium browser. Changes made:
Commit: 5f32c3f |
This PR implements comprehensive Playwright end-to-end tests for the Tailspin Shelter website to ensure core functionality works correctly and help streamline future PR merging.
What's Added
Test Infrastructure
client/playwright.config.ts
) that uses the existingscripts/start-app.sh
to automatically start both Flask backend (port 5100) and Astro frontend (port 4321) before running testsclient/e2e-tests/
) containing all test files as requestedclient/package.json
for easy test executionTest Coverage (12 tests total)
Homepage Tests (
homepage.spec.ts
):About Page Tests (
about.spec.ts
):Dog Details Tests (
dog-details.spec.ts
):API Integration Tests (
api-integration.spec.ts
):Key Features
scripts/start-app.sh
as requiredclient/package.json
onlyclient/e2e-tests/
directoryAvailable Commands
All 12 tests are configured to run with Chromium, providing confidence in the website's core functionality and helping ensure future changes don't break existing features.
Fixes #114.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.