From f70deeddb932c97f554274f62211b6250c351c22 Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Tue, 8 Sep 2026 05:48:24 +0300 Subject: [PATCH] Fix v17.6.5 E2E version expectation --- .../workflows/fix-v1765-test-expectation.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/fix-v1765-test-expectation.yml diff --git a/.github/workflows/fix-v1765-test-expectation.yml b/.github/workflows/fix-v1765-test-expectation.yml new file mode 100644 index 0000000..447efa1 --- /dev/null +++ b/.github/workflows/fix-v1765-test-expectation.yml @@ -0,0 +1,35 @@ +name: Fix Caterium v17.6.5 E2E expectation + +on: + push: + branches: + - feature/v17.6.5-stability + paths: + - .github/workflows/fix-v1765-test-expectation.yml + +permissions: + contents: write + +jobs: + patch: + if: github.actor != 'github-actions[bot]' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Update expected performance version + run: | + python3 - <<'PY' + from pathlib import Path + p=Path('tests/app.spec.mjs') + s=p.read_text() + old="expect(result.version).toBe('17.6.4');" + assert s.count(old)==1, s.count(old) + p.write_text(s.replace(old,"expect(result.version).toBe('17.6.5');")) + PY + - name: Commit test expectation + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add tests/app.spec.mjs + git commit -m "Update v17.6.5 E2E version expectation" + git push