Add error handling for request failures and responses #397
Annotations
2 errors and 2 notices
|
[webkit] › e2e/performance.test.ts:3:5 › Page load time should be less then 4000 ms:
e2e/util.ts#L55
1) [webkit] › e2e/performance.test.ts:3:5 › Page load time should be less then 4000 ms ───────────
Error: expect(locator).toBeVisible() failed
Locator: getByTestId('canvas-main')
Expected: visible
Received: undefined
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for getByTestId('canvas-main')
-
at util.ts:55
53 | await clearTable(page);
54 |
> 55 | await expect(page.getByTestId(MAIN_CANVAS)).toBeVisible({
| ^
56 | timeout: 10 * 1000,
57 | });
58 | }
at gotoHomePage (/home/runner/work/excel/excel/e2e/util.ts:55:47)
at /home/runner/work/excel/excel/e2e/performance.test.ts:5:3
|
|
[webkit] › e2e/performance.test.ts:3:5 › Page load time should be less then 4000 ms:
e2e/util.ts#L36
1) [webkit] › e2e/performance.test.ts:3:5 › Page load time should be less then 4000 ms ───────────
Error: Request failed: https://o4506851168092160.ingest.us.sentry.io/api/4506851171041280/envelope/?sentry_version=7&sentry_key=b292d91ba509038c141ecfc7d10e7bb7&sentry_client=sentry.javascript.react%2F10.71.0 - Load request cancelled
at util.ts:36
34 |
35 | page.on('requestfailed', (req) => {
> 36 | throw new Error(
| ^
37 | `Request failed: ${req.url()} - ${req.failure()?.errorText}`,
38 | );
39 | });
at _Page.<anonymous> (/home/runner/work/excel/excel/e2e/util.ts:36:11)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › e2e/performance.test.ts:3:5 › Page load time should be less then 4000 ms ────────────
3 skipped
248 passed (3.3m)
|
|
🎭 Playwright Run Summary
3 skipped
249 passed (4.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-prod-report
|
959 KB |
sha256:821c3f14ab71937da718ff796f0428507c0988139bc6d8f1a563a6f8118b0608
|
|
|
playwright-report
|
330 KB |
sha256:ec24440b92c12b84185820f7a32c6dc439fe36ebea8101ef4d1ae1d9b09552dd
|
|