Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA: smoke tests for watcher examples #216

Open
Zidious opened this issue Jan 10, 2025 · 0 comments
Open

GHA: smoke tests for watcher examples #216

Zidious opened this issue Jan 10, 2025 · 0 comments
Labels
Jazzband Ticket about jazzband project

Comments

@Zidious
Copy link
Contributor

Zidious commented Jan 10, 2025

We need to spend some time getting smoke tests up and running for all of the various integrations.

We have a good start:

smoke-tests:
name: Smoke Tests
needs: lint
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
# We don't want to fail the whole matrix if one job fails
# Makes it harder to debug what went wrong if it ends early
fail-fast: false
matrix:
include:
- directory: cypress/basic
- directory: cypress/iframes
additional-steps: cd cypress/iframes && node server.js &
- directory: cypress/manual-mode
- directory: cypress/multi-page
- directory: playwright/basic
playwright: true
- directory: playwright/manual-mode
playwright: true
- directory: playwright/typescript-multi-page
playwright: true
- directory: playwright-test/basic
playwright: true
- directory: playwright-test/multi-page
playwright: true
- directory: puppeteer/basic
- directory: puppeteer/typescript-multi-page
- directory: wdio/test-runner/typescript
- directory: wdio/typescript-multi-page
- directory: wdio/v7/typescript-basic
# WDIO v7 does not work on Node > 16. Please refer to `setup.ts` for more information.
node-version: 16
- directory: webdriverjs/basic
- directory: webdriverjs/testing
- directory: webdriverjs/typescript-multi-page
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version || '20' }}
- name: Install Playwright
if: ${{ matrix.playwright }}
run: npx playwright install
- name: Additional steps
if: ${{ matrix.additional-steps }}
run: ${{ matrix.additional-steps }}
- name: Run tests
run: cd ${{ matrix.directory }} && npm install && npm test
env:
API_KEY: ${{ secrets.AXE_DEVHUB_API_KEY }}

We just need to get it all connected and verify it's working.

Zidious added a commit that referenced this issue Jan 10, 2025
Zidious added a commit that referenced this issue Jan 13, 2025
* ci: defer smoke-tests 

We have to do #216

* trigger ci
@dequejenn dequejenn added Jazzband Ticket about jazzband project NEEDS: grooming Ticket needs to be checked for complete requirements and all labels needed -priorities, sizing, docs labels Jan 14, 2025
@dequejenn dequejenn changed the title GHA: smoke tests GHA: smoke tests for watcher examples Jan 23, 2025
@dequejenn dequejenn removed the NEEDS: grooming Ticket needs to be checked for complete requirements and all labels needed -priorities, sizing, docs label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jazzband Ticket about jazzband project
Projects
None yet
Development

No branches or pull requests

2 participants