mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
test(metadata): expand end-to-end scenarios and assertions
This commit is contained in:
@@ -20,6 +20,11 @@ on:
|
||||
required: false
|
||||
type: number
|
||||
default: 45
|
||||
vitest-args:
|
||||
description: "Optional extra args forwarded to vitest (for shard/testNamePattern reruns)"
|
||||
required: false
|
||||
type: string
|
||||
default: ""
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
@@ -65,7 +70,12 @@ jobs:
|
||||
|
||||
- name: Run e2e suite
|
||||
shell: bash
|
||||
run: pnpm run test:e2e -- ${{ inputs.suite-id }}
|
||||
run: |
|
||||
if [ -n "${{ inputs.vitest-args }}" ]; then
|
||||
pnpm run test:e2e -- ${{ inputs.suite-id }} ${{ inputs.vitest-args }}
|
||||
else
|
||||
pnpm run test:e2e -- ${{ inputs.suite-id }}
|
||||
fi
|
||||
|
||||
- name: Publish test report annotations
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user