Skip to content

test: E2E tests for parking space accessibility (Asana #1208010078664178)#580

Open
NinaEilers wants to merge 35 commits intobetafrom
test/parking-spaces-1208010078664178
Open

test: E2E tests for parking space accessibility (Asana #1208010078664178)#580
NinaEilers wants to merge 35 commits intobetafrom
test/parking-spaces-1208010078664178

Conversation

@NinaEilers
Copy link
Copy Markdown
Collaborator

@NinaEilers NinaEilers commented Feb 19, 2026

E2E tests for parking space accessibility bug.

Asana-Ticket: https://app.asana.com/0/1213356985075012/1208010078664178

Description

Tests to verify that accessible parking spaces with tags like:

  • amenity=parking_space
  • parking_space=disabled
  • disabled=designated

are displayed correctly (not as "Unnamed place").

Tests added

  • Accessible parking space should not show "Unnamed place"
  • Accessible parking space should show accessibility status
  • Accessible parking space should have correct ARIA structure
  • Parking space page should pass axe accessibility scan

Code Analysis Findings

  1. Category recognition missing: Tags parking_space=disabled, disabled=designated not recognized
  2. Accessibility logic incomplete in isWheelchairAccessible.ts:
    • wheelchair=yes/no/limited/designated works
    • capacity:disabled > 0 works
    • parking_space=disabled missing
    • disabled=designated missing
  3. Legacy logic not ported: Config table with 14 tag combinations not in new code

Test Results

  • 4 passed, 1 skipped

NinaEilers and others added 29 commits January 17, 2025 12:12
functions during recording and does not function during playback
and add some not-working to the tests working
delete test-1, test-5, test-11
and on berliner-toilet test
- Add .github/copilot-instructions.md with project overview
- Add .github/instructions/testing.instructions.md with:
  - Playwright test patterns (ARIA-first selectors)
  - Accessibility best practices (tab order, semantics)
  - Asana MCP integration workflow
  - CI test backlog linking
- Add e2e/darkmode-logo.spec.ts with 5 tests:
  - Logo visibility in light/dark mode
  - Contrast check for dark mode (documents bug)
  - Axe accessibility scans for both modes
- Update testing.instructions.md with dev server note

Asana: https://app.asana.com/1/1200321573365931/project/1213356985075012/task/1210099669460115
…8664178)

- Test that accessible parking spaces don't show 'Unnamed place'
- Test for accessibility indicators presence
- Test ARIA structure
- Axe accessibility scan
@opyh opyh changed the base branch from beta to feature/a11ymap-tests February 19, 2026 15:19
@opyh opyh changed the base branch from feature/a11ymap-tests to beta February 19, 2026 15:20
…arting with '#' will be ignored, and an empty message aborts the commit.
…tests, and some modifications to parking-spaces.spec.ts
…n', async ({ page }) => {

     await page.goto(baseURL);
     await dismissOnboarding(page);
…cting with elements. Also, commented out the check for both languages in the description, as it may not be reliable due to formatting and content variations.
…t for capacity:disabled > 0. The existing test for capacity:disabled = 1 has been retained as well, since it verifies that the tag is interpreted correctly in that case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants