[daily-playwright] Add tests for Appointments page and detail view - #16804
Draft
github-actions[bot] wants to merge 1 commit into
Draft
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Deploying care-preview with
|
| Latest commit: |
092cc61
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f7d4beb9.care-preview-a7w.pages.dev |
| Branch Preview URL: | https://daily-playwright-2026-09-11.care-preview-a7w.pages.dev |
| page, | ||
| }) => { | ||
| // Look for keyboard shortcut indicators | ||
| const shortcutIndicators = page.getByText(/shift|ctrl|cmd/i); |
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
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.
Overview
Incremental Playwright E2E test coverage for the Appointments feature. This addresses a major gap in the test suite by adding comprehensive tests for appointment listing, filtering, and detail view navigation.
Changes
New test file:
tests/appointments/appointments.spec.ts(288 lines)Test Coverage (12 test cases)
Appointments Management Suite (10 tests)
Appointment Detail Suite (2 tests)
11. ✅ Detail page navigation is accessible
12. ✅ Back navigation returns to appointments list
Test Approach
getByRole,getByLabel,getByText) with graceful fallbacksTest Files Affected
src/pages/Appointments/AppointmentsPage.tsx→ now testedsrc/pages/Appointments/AppointmentDetail.tsx→ now testedHow to Run Tests
Run only Appointments tests
npx playwright test tests/appointments/appointments.spec.tsRun specific test
Run in UI mode for debugging
npx playwright test tests/appointments/appointments.spec.ts --uiRun in headed mode to see browser
npx playwright test tests/appointments/appointments.spec.ts --headedCoverage Impact
Related Issues
Addresses coverage gap identified in: #aw_tracking_issue_001
Quality Checklist
waitForLoadState)Future Work
This PR addresses the highest-priority untested area. Next targets:
See tracking issue #aw_tracking_issue_001 for full coverage roadmap.
Automated improvement by Daily Playwright Test Improver | Workflow §34557378860