Add E2E Testing GitHub Action with comprehensive documentation#1
Add E2E Testing GitHub Action with comprehensive documentation#1
Conversation
Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
Fixed in commit 9a789f6: Issue 1: npm cache error - Removed Issue 2: Marketplace ready - Added
The action can now be used directly from the Marketplace: - uses: SillyLittleTech/E2E@v1
with:
port: '4173'
node-version: '20'Updated README with usage examples, action inputs table, and marketplace publishing instructions. |
|
@copilot we don't need marketplace information directly in the readme, we can leave that out. you can yap to me about how to actually get started with marketplace in a comment here. |
|
@copilot additionally, we are still failing. |
Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
Removed marketplace info from README in commit e0a560b. Getting Started with GitHub Actions Marketplace:
The action will appear at: |
Co-authored-by: kiyarose <75678535+kiyarose@users.noreply.github.com>
... Fixed in commit 9b29826. The workflow file was trying to run in this action repository (which has no package.json). Renamed For users:
The action repository itself no longer has executable workflows, preventing the npm ci error. |
.github/workflowsdirectory structurecache: 'npm'from workflowaction.ymlfor GitHub Marketplace support with:.exampleextension to prevent execution in action repoOriginal prompt
Make an github actions repo based on ```name: E2E Testing Suite (Screenshots & Accessibility)
concurrency:
group: ${{ github.event_name == 'pull_request' && format('e2e-pr-{0}', github.event.pull_request.number) || format('e2e-{0}', github.ref) }}
cancel-in-progress: false # Don't cancel immediately - wait for timeout
permissions:
contents: write # needed to push to gh-pages
pages: write # deploy with actions/deploy-pages
id-token: write # required by actions/deploy-pages
pull-requests: write
issues: write
on:
push:
branches:
- main
pull_request:
jobs:
e2e-tests:
name: E2E Tests (Screenshots & A11y)
runs-on: ubuntu-latest
env:
PORT: 4173 # Port for preview server and Playwright tests
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.