Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Testplane E2E
name: E2E Tests (driven by Testplane)

on:
pull_request:
Expand All @@ -22,10 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 20
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: "npm"

- name: Install dependencies
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: "e2e: Run Testplane"
id: "testplane"
continue-on-error: true
run: npm run test-e2e
run: npm run test-e2e-testplane

- name: "e2e: Stop browser docker image"
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: REPL E2E Tests
name: E2E Tests (driven by Mocha)

on:
pull_request:
Expand All @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
node-version: [22.18.0, 24.13.0]

steps:
- uses: actions/checkout@v4
Expand All @@ -36,4 +36,4 @@ jobs:
run: npm run build

- name: Run REPL e2e tests
run: npm run test-e2e -- --grep "REPL e2e"
run: npm run test-e2e-mocha
13 changes: 9 additions & 4 deletions .github/workflows/standalone-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
env:
DOCKER_IMAGE_NAME: html-reporter-browsers
INTEGRATION_BROWSER_VERSION: "138.0"

strategy:
matrix:
Expand All @@ -28,17 +29,21 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.testplane
key: ${{ runner.os }}-testplane-${{ matrix.browser }}
restore-keys: |
${{ runner.os }}-testplane-${{ matrix.browser }}-
${{ runner.os }}-testplane-
key: ${{ runner.os }}-testplane-browsers-${{ matrix.browser }}-${{ env.INTEGRATION_BROWSER_VERSION }}

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Preload Chrome browser
if: ${{ matrix.browser == 'chrome' }}
timeout-minutes: 10
env:
BROWSER: ${{ matrix.browser }}
run: TS_NODE_TRANSPILE_ONLY=1 node scripts/run-node-without-type-stripping.js -r ts-node/register scripts/preload-standalone-browser.ts

- name: "Prepare screenshot tests: Cache browser docker image"
if: ${{ matrix.browser == 'chrome' }}
uses: actions/cache@v3
Expand Down
Loading
Loading