Skip to content

Commit 59fefdc

Browse files
Increase test coverage
Increases branch coverage to 90.51% (merged unit + E2E), fixing CI coverage threshold enforcement.
1 parent 016b222 commit 59fefdc

File tree

179 files changed

+8005
-251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+8005
-251
lines changed

.github/workflows/android.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ jobs:
108108
uses: actions/upload-artifact@v4
109109
with:
110110
name: coverage-unit
111-
path: coverage/lcov.info
111+
path: |
112+
coverage/lcov.info
113+
coverage/coverage-final.json
112114
113115
web-screenshots:
114116
name: Web | Screenshots
@@ -398,11 +400,11 @@ jobs:
398400
--temp-dir .nyc_output \
399401
--report-dir coverage/e2e \
400402
--reporter=lcov \
403+
--reporter=json \
401404
--reporter=text-summary
402-
echo "==> Merging unit + E2E LCOV for Codecov..."
403-
npx lcov-result-merger \
404-
"coverage/{lcov.info,e2e/lcov.info}" \
405-
coverage/lcov-merged.info
405+
echo "==> Merging unit + E2E coverage with nextcov..."
406+
npx nextcov merge coverage coverage/e2e -o coverage/merged --reporters lcov
407+
cp coverage/merged/lcov.info coverage/lcov-merged.info
406408
end=$(date +%s)
407409
echo "- coverage merge: $((end-start))s" >> $GITHUB_STEP_SUMMARY
408410
@@ -419,7 +421,7 @@ jobs:
419421
- name: Enforce coverage threshold
420422
env:
421423
COVERAGE_MIN: "90"
422-
COVERAGE_FILE: "coverage/lcov.info"
424+
COVERAGE_FILE: "coverage/lcov-merged.info"
423425
run: node scripts/check-coverage-threshold.mjs
424426

425427
- name: Enforce coverage paths

.maestro/subflows/common-navigation.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,22 @@ tags:
2929
visible:
3030
text: "Home"
3131
timeout: ${TIMEOUT}
32-
- tapOn:
33-
text: "Play"
32+
- retry:
33+
maxRetries: 3
34+
commands:
35+
- tapOn:
36+
id: "tab-play"
37+
optional: true
38+
- tapOn:
39+
text: "Play"
40+
optional: true
41+
- tapOn:
42+
point: "25%,95%"
43+
optional: true
44+
- waitForAnimationToEnd
45+
- extendedWaitUntil:
46+
visible: "Playlist"
47+
timeout: ${TIMEOUT}
3448
- extendedWaitUntil:
3549
visible: "Playlist"
3650
timeout: ${TIMEOUT}

PLANS.md

Lines changed: 256 additions & 95 deletions

THIRD_PARTY_NOTICES.md

Lines changed: 37 additions & 7 deletions
4.71 KB
11.4 KB
6.08 KB
8.85 KB
7.62 KB
5.56 KB

0 commit comments

Comments
 (0)