Skip to content

Commit

Permalink
chore: showcase spotlight reporter (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexplischke authored Jun 3, 2024
1 parent a4136b3 commit 452c82c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Description
<!--
Describe the big picture of your changes here to communicate to the maintainers
why we should accept this pull request. If it fixes a bug or resolves a feature
request, be sure to link to that issue.
-->
17 changes: 8 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,29 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Saucectl RUN
uses: saucelabs/saucectl-run-action@v3
- name: Run saucectl
uses: saucelabs/saucectl-run-action@v4
with:
concurrency: 10

playwright-cucumberjs:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: examples/cucumber/package-lock.json

- name: Install dependencies
- name: Install Dependencies
working-directory: examples/cucumber
run: npm ci

- name: Saucectl RUN - Config Driven
uses: saucelabs/saucectl-run-action@v3
- name: Run saucectl
uses: saucelabs/saucectl-run-action@v4
with:
working-directory: ./examples/cucumber/
12 changes: 8 additions & 4 deletions .sauce/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ suites:
- name: "Firefox Win"
platformName: "Windows 11"
screenResolution: "1440x900"
testMatch: ['.*.js']
testMatch: [".*.js"]
params:
browserName: "firefox"
project: "firefox" # Runs the project that's defined in `playwright.config.js`
project: "firefox" # Runs the project that's defined in `playwright.config.js`
- name: "Chromium Mac"
platformName: "macOS 12"
screenResolution: "1440x900"
testMatch: ['.*.js']
testMatch: [".*.js"]
params:
browserName: "chromium"
project: "chromium"
- name: "Webkit Win"
platformName: "Windows 11"
screenResolution: "1440x900"
testMatch: ['.*.js']
testMatch: [".*.js"]
params:
browserName: "webkit"
project: "webkit"
Expand All @@ -42,3 +42,7 @@ suites:
# match:
# - console.log
# directory: ./artifacts/

reporters:
spotlight: # Prints an overview of failed or otherwise interesting jobs.
enabled: true
4 changes: 4 additions & 0 deletions examples/cucumber/.sauce/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ npm:
- "typescript" # typescript support
- "ts-node" # typescript support
# You can append your npm dependencies

reporters:
spotlight: # Prints an overview of failed or otherwise interesting jobs.
enabled: true

0 comments on commit 452c82c

Please sign in to comment.