* improves time limit checks * consistently check for presence of patch fields * fix variable shadowing in test * allow idempotent pinning operations with time limit expired * new utility function for post limit time check * fix style issue * Add missing E2E CI files and delivery-platform migration for release-10.11 - Add calculate-playwright-results and calculate-cypress-results GitHub Actions (referenced by e2e-tests-playwright-template.yml and e2e-tests-cypress-template.yml but never backported to release-10.11) - Add e2e-tests/playwright/merge.config.mjs (required by merge-reports step) - Add run-specs Makefile target and server.run_specs.sh (required by run-failed-tests job) - Fix merge-shard-results step: pin @playwright/test version and add fallback for when no blob reports exist (json reporter output used directly) - Remove pull_request trigger from e2e-tests-ci.yml (delivery-platform migration) - Remove dead e2e-fulltests-ci.yml and e2e-tests-ci-template.yml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
51 строка
1.7 KiB
YAML
51 строка
1.7 KiB
YAML
name: Calculate Cypress Results
|
|
description: Calculate Cypress test results with optional merge of retest results
|
|
author: Mattermost
|
|
|
|
inputs:
|
|
original-results-path:
|
|
description: Path to the original Cypress results directory (e.g., e2e-tests/cypress/results)
|
|
required: true
|
|
retest-results-path:
|
|
description: Path to the retest Cypress results directory (optional - if not provided, only calculates from original)
|
|
required: false
|
|
write-merged:
|
|
description: Whether to write merged results back to the original directory (default true)
|
|
required: false
|
|
default: "true"
|
|
|
|
outputs:
|
|
# Merge outputs
|
|
merged:
|
|
description: Whether merge was performed (true/false)
|
|
|
|
# Calculation outputs (same as calculate-cypress-test-results)
|
|
passed:
|
|
description: Number of passed tests
|
|
failed:
|
|
description: Number of failed tests
|
|
pending:
|
|
description: Number of pending/skipped tests
|
|
total_specs:
|
|
description: Total number of spec files
|
|
commit_status_message:
|
|
description: Message for commit status (e.g., "X failed, Y passed (Z spec files)")
|
|
failed_specs:
|
|
description: Comma-separated list of failed spec files (for retest)
|
|
failed_specs_count:
|
|
description: Number of failed spec files
|
|
failed_tests:
|
|
description: Markdown table rows of failed tests (for GitHub summary)
|
|
total:
|
|
description: Total number of tests (passed + failed)
|
|
pass_rate:
|
|
description: Pass rate percentage (e.g., "100.00")
|
|
color:
|
|
description: Color for webhook based on pass rate (green=100%, yellow=99%+, orange=98%+, red=<98%)
|
|
test_duration:
|
|
description: Wall-clock test duration (earliest start to latest end across all specs, formatted as "Xm Ys")
|
|
|
|
runs:
|
|
using: node24
|
|
main: dist/index.js
|