Skip to content

feat(#4034): add Playwright E2E test suite for AI Catalog browse page - #4035

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4034-boost-e2e-playwright
Open

feat(#4034): add Playwright E2E test suite for AI Catalog browse page#4035
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4034-boost-e2e-playwright

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Add a Playwright end-to-end test suite covering the AI Catalog browse page core user flows against the dev server with fixture data.

New files:

  • playwright.config.ts: Playwright configuration with webServer that
    starts yarn start, targeting the NFS app on localhost:3000.
  • e2e-tests/ai-catalog-browse.spec.ts: 10 serial tests covering
    browse page load, search with URL ?q= param, sidebar filter,
    AND-combined filters, clear filters, card navigation to entity
    detail, empty filtered state, pagination controls, and axe-core
    accessibility audits (unfiltered + filtered).
  • e2e-tests/utils/translations.ts: Translation helper loading
    i18n keys from the plugin ref.ts so tests use translation keys
    rather than hardcoded strings.
  • e2e-tests/utils/accessibility.ts: Accessibility helper using
    @axe-core/playwright with wcag2a and wcag2aa tags.

Modified files:

  • package.json: added test:e2e script, @playwright/test 1.61.1,
    and @axe-core/playwright ^4.10.0 as devDependencies.
  • .gitignore: added Playwright output directories.

Note: lint-staged pre-commit hook failed because ESLint's parser config does not cover the e2e-tests/ and playwright.config.ts files (they are outside the workspace's ESLint scope). The post-script runs an authoritative lint check on the runner.


Closes #4034

Post-script verification

  • Branch is not main/master (agent/4034-boost-e2e-playwright)
  • Secret scan passed (gitleaks — e649ae6b5509265254181bdfc68ecfc4d71ed86b..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Add a Playwright end-to-end test suite covering the AI Catalog browse
page core user flows against the dev server with fixture data.

New files:
- playwright.config.ts: Playwright configuration with webServer that
  starts `yarn start`, targeting the NFS app on localhost:3000.
- e2e-tests/ai-catalog-browse.spec.ts: 10 serial tests covering
  browse page load, search with URL ?q= param, sidebar filter,
  AND-combined filters, clear filters, card navigation to entity
  detail, empty filtered state, pagination controls, and axe-core
  accessibility audits (unfiltered + filtered).
- e2e-tests/utils/translations.ts: Translation helper loading
  i18n keys from the plugin ref.ts so tests use translation keys
  rather than hardcoded strings.
- e2e-tests/utils/accessibility.ts: Accessibility helper using
  @axe-core/playwright with wcag2a and wcag2aa tags.

Modified files:
- package.json: added test:e2e script, @playwright/test 1.61.1,
  and @axe-core/playwright ^4.10.0 as devDependencies.
- .gitignore: added Playwright output directories.

Note: lint-staged pre-commit hook failed because ESLint's
parser config does not cover the e2e-tests/ and playwright.config.ts
files (they are outside the workspace's ESLint scope). The
post-script runs an authoritative lint check on the runner.

Closes #4034
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Jul 28, 2026
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Jul 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

@gabemontero

gabemontero commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@HusneShabbir - this fullsend PR by way of @rohitkrai03 github issue feels like a building blocker for building e2e's for RHDHPLAN-1505 related features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent PR ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

boost: Add E2E test suite with Playwright for AI Catalog browse page

1 participant