Skip to content

12525 Automated JSF Frontend Playwright Tests#12526

Open
srmanda-cs wants to merge 8 commits into
IQSS:developfrom
uncch-rdmc:12525-automated-jsf-frontend-playwright-tests
Open

12525 Automated JSF Frontend Playwright Tests#12526
srmanda-cs wants to merge 8 commits into
IQSS:developfrom
uncch-rdmc:12525-automated-jsf-frontend-playwright-tests

Conversation

@srmanda-cs

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
This PR introduces a GitHub Action that pulls the kunai-runner frontend testing repository and runs it against a containerized version of Dataverse.

Which issue(s) this PR closes:

Special notes for your reviewer:
Workflow triggers, folder restrictions, etc are all preferences of upstream

Suggestions on how to test this:
Running the GitHub Action should give you a very clear picture of the tests.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
N/A

Is there a release notes update needed for this change?:
N/A

Additional documentation:
N/A

Copilot AI review requested due to automatic review settings July 7, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new GitHub Actions workflow to run automated Playwright-based JSF frontend tests against a containerized Dataverse instance, leveraging the external uncch-rdmc/kunai-runner test suite.

Changes:

  • Introduces a CI workflow that builds and starts the Dataverse container stack via Maven and waits for API readiness.
  • Checks out uncch-rdmc/kunai-runner, installs Node/Playwright dependencies, and runs Playwright tests against http://localhost:8080.
  • Uploads Playwright artifacts (report + traces/videos/screenshots) and Dataverse container logs for debugging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/container_jsf_frontend_tests.yml Outdated
Comment thread .github/workflows/container_jsf_frontend_tests.yml Outdated
Comment on lines +217 to +222
- name: Checkout kunai-runner
uses: actions/checkout@v6
with:
repository: uncch-rdmc/kunai-runner
path: kunai-runner

@srmanda-cs srmanda-cs Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. This is upstream's decision to make. It's probably a good decision too. More manual work, but outsourcing QA to an external repository is never a good idea

Comment thread .github/workflows/container_jsf_frontend_tests.yml
Comment thread .github/workflows/container_jsf_frontend_tests.yml
Comment thread .github/workflows/container_jsf_frontend_tests.yml Outdated
Comment thread .github/workflows/container_jsf_frontend_tests.yml
srmanda-cs and others added 3 commits July 7, 2026 15:52
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Removed commented-out code for creating a Playwright test user and uploading Playwright test results.
@pdurbin pdurbin moved this to In Review 🔎 in IQSS Dataverse Project Jul 8, 2026
@pdurbin pdurbin self-assigned this Jul 8, 2026
@pdurbin pdurbin added this to the 6.12 milestone Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review 🔎

Development

Successfully merging this pull request may close these issues.

Feature Request: Automated JSF Frontend Playwright Tests

3 participants