Skip to content

bug: E2E failures after PR #997 — database filter/sort tests and accessibility contrast violation #998

@sw-factory-automations

Description

@sw-factory-automations

Description

After merging PR #997 (feat: extend axe-core accessibility audit to database view pages), 4 E2E tests fail when run against the live site (https://memo.software-factory.dev):

  • 3 failures in e2e/database-views.spec.ts — database filter/sort interactions
  • 1 failure in e2e/accessibility.spec.ts — color contrast violation on workspace settings page

PR #997 modified table-view.tsx (added role="columnheader" wrappers) and calendar-view.tsx (restructured ARIA grid). The database-views filter/sort failures may be related to the table-view ARIA changes or may be pre-existing flakiness on the live site.

Failures

1. database-views.spec.ts — "add a filter and verify rows are filtered"

  • prop2Cell(page, 1) expected text "World" but got empty string
  • Cell at [role="gridcell"][data-col] nth(3) resolved but had no text content
  • Suggests cell values are not rendering or persisting correctly in the table view

2. database-views.spec.ts — "remove a filter pill and verify all rows reappear"

3. database-views.spec.ts — "switch between views and verify each retains its own sort/filter state"

  • Timeout during fillCelllocator.fill: Target page, context or browser has been closed
  • Cascading failure from cell interaction issues

4. accessibility.spec.ts — "workspace settings has no critical or serious axe violations"

Acceptance Criteria

  • All 3 database-views.spec.ts filter/sort tests pass against the live site
  • accessibility.spec.ts workspace settings test passes (fix text-destructive contrast ratio)
  • pnpm lint && pnpm typecheck && pnpm test pass

Technical Notes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions