Skip to content

Initial setup #1

Merged
munderseth merged 4 commits into
mainfrom
initial-setup-pr
Jun 1, 2026
Merged

Initial setup #1
munderseth merged 4 commits into
mainfrom
initial-setup-pr

Conversation

@munderseth

@munderseth munderseth commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Initial Playwright setup

@munderseth munderseth changed the title Initial setup pr Initial setup Jun 1, 2026
@munderseth munderseth marked this pull request as ready for review June 1, 2026 22:11
Copilot AI review requested due to automatic review settings June 1, 2026 22:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Initial Playwright test-runner setup for a JavaScript repository, including a sample smoke test, reporting configuration, and CI workflow.

Changes:

  • Added a hello-world Playwright spec and a Playwright configuration with HTML + JUnit reporting.
  • Introduced npm project scaffolding (package.json/lockfile) plus .env and .gitignore conventions for local runs.
  • Added a GitHub Actions workflow to run Playwright in CI and publish artifacts.

Reviewed changes

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

Show a summary per file
File Description
tests/hello-world.spec.js Adds a basic smoke test for the configured base URL.
README.md Documents local setup, scripts, reporting outputs, and CI behavior.
playwright.config.js Configures Playwright runner defaults, baseURL, artifacts, and reporters.
package.json Defines scripts and devDependencies for Playwright + dotenv.
package-lock.json Locks dependency versions for reproducible installs.
.gitignore Ignores node modules, reports, artifacts, and local env files.
.github/workflows/ci.yml Runs tests on GitHub Actions and uploads reports/artifacts.
.env.example Provides an example BASE_URL configuration.

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

Comment thread tests/hello-world.spec.js Outdated
Comment on lines +3 to +7
test('hello world smoke test', async ({ page, baseURL }) => {
await page.goto(baseURL);
await page.waitForTimeout(5000);
await expect(page).toHaveTitle(/Example Domain/);
await expect(page.getByRole('heading', { name: 'Example Domain' })).toBeVisible();
Comment thread .github/workflows/ci.yml
Comment on lines +4 to +7
push:
branches:
- main
pull_request:
Comment thread .github/workflows/ci.yml
Comment on lines +7 to +8
pull_request:
workflow_dispatch:
Comment thread .github/workflows/ci.yml
Comment on lines +33 to +37
- name: Setup Testspace client
uses: testspace-com/setup-testspace@v1
with:
domain: samples.stridespace.com

Comment thread .github/workflows/ci.yml
Comment on lines +38 to +39
- name: Publish results to Testspace
run: testspace test-results/junit/results.xml

Copilot AI left a comment

Copy link
Copy Markdown

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 6 out of 8 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/ci.yml Outdated
Comment on lines +36 to +41
- name: Setup Testspace client
uses: testspace-com/setup-testspace@v1
with:
domain: samples.stridespace.com
# Optional for public repositories; required for private repositories.
token: ${{ secrets.TESTSPACE_TOKEN }}
Comment thread .github/workflows/ci.yml
Comment on lines +43 to +47
- name: Publish results to Testspace
env:
# Optional for public repositories; required for private repositories.
TESTSPACE_TOKEN: ${{ secrets.TESTSPACE_TOKEN }}
run: testspace test-results/junit/results.xml
@munderseth munderseth merged commit 3257bc3 into main Jun 1, 2026
2 checks passed
@munderseth munderseth deleted the initial-setup-pr branch June 1, 2026 22:34
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