Skip to content

AB#127298 add Playwright smoke tests for deployment checks#223

Open
sebastianchristopher wants to merge 5 commits into
masterfrom
AB#127298
Open

AB#127298 add Playwright smoke tests for deployment checks#223
sebastianchristopher wants to merge 5 commits into
masterfrom
AB#127298

Conversation

@sebastianchristopher

Copy link
Copy Markdown
Contributor

No description provided.

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 deployment/ Node/Playwright test harness plus a reusable GitHub Actions workflow intended to run smoke checks against deployed environments.

Changes:

  • Introduces a Playwright-based smoke test that validates the deployed JWKS endpoint response shape.
  • Adds a dedicated deployment/ npm project (Playwright config, package manifests, node version, env example, gitignore, README).
  • Adds a new reusable workflow (Test Deployment) to run the deployment smoke tests in GitHub Actions.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
deployment/README.md Documents how to install and run the deployment smoke tests.
deployment/playwright.config.js Adds Playwright test runner configuration for deployment checks.
deployment/package.json Defines the deployment test package, scripts, and dev dependencies.
deployment/package-lock.json Locks Playwright/dotenv dependency tree for the deployment test package.
deployment/deployment.test.js Implements the JWKS smoke test executed by Playwright.
deployment/.nvmrc Pins the Node.js major version for running the deployment test package.
deployment/.gitignore Ignores generated Playwright artifacts and node_modules for the deployment test package.
deployment/.env.example Provides example environment variables for running deployment tests.
.github/workflows/test_deployment.yml Adds the workflow that waits for the deployed app and runs the smoke tests.
Files not reviewed (1)
  • deployment/package-lock.json: Generated file

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

Comment thread deployment/deployment.test.js Outdated
Comment thread deployment/deployment.test.js
Comment thread deployment/playwright.config.js
Comment thread deployment/.gitignore
Comment thread .github/workflows/test_deployment.yml Outdated
Comment thread .github/workflows/test_deployment.yml Outdated
Comment thread .github/workflows/test_deployment.yml
Comment thread .github/workflows/test_deployment.yml
sebastianchristopher and others added 4 commits June 26, 2026 15:50
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

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

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • deployment/package-lock.json: Generated file

Comment on lines +40 to +41
- name: Wait for the backend to start up and serve the index
run: curl -I --show-error --silent --retry 10 --retry-connrefused --retry-delay 10 ${{ env.URL }}
Comment thread deployment/.env.example
@@ -0,0 +1 @@
URL=<tool support url e.g. https://tools.canvas.ox.ac.uk/> No newline at end of file
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