Commit bca0f00
committed
test(integration): verify account portal serves clerk-js v6
Why:
The AP E2E tests exercise sign-in/sign-up flows against staging Core 3
but never actually assert which clerk-js version the AP serves. If Core 3
started serving the wrong major version, these tests would still pass.
What changed:
Added testAPClerkJsVersion helper in common.ts that navigates to the AP,
waits for clerk-js to load, and checks window.Clerk.version starts with
the expected major version. Called from the v6 test file with '6'.1 parent a8c64cc commit bca0f00
2 files changed
Lines changed: 25 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
229 | 249 | | |
230 | 250 | | |
231 | 251 | | |
| |||
0 commit comments