Commit 35f1228
fix(ci): prevent consent test duplication across main and consent projects
Main projects now explicitly exclude consent tests with testIgnore, while
consent-specific projects run only consent tests with testMatch. This prevents
the 14 consent tests from running twice (once in main, once in consent projects).
Before:
- Main projects: 129 tests (including 14 consent)
- Consent projects: 14 tests
- Total: 143 tests per browser (14 duplicates)
After:
- Main projects: 115 tests (excluding consent)
- Consent projects: 14 tests
- Total: 129 tests per browser (no duplicates)
Note: Current codebase has 129 tests vs baseline's 118 (+11) due to:
- Added waitlist.spec.ts (+10)
- Added tests in homepage-mode-detection (+1) and purchase-flow (+2)
- Removed _debug/chunk-loading-probe.spec.ts (-2)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 381c1e9 commit 35f1228
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
| |||
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
0 commit comments