fix: enable mock server for E2E tests to fix sidebar rendering failures #4551
ci.yml
on: pull_request
Build Core
3m 28s
Test
13m 50s
Build Docs
8s
E2E Tests
3m 6s
Annotations
6 errors, 1 warning, and 1 notice
|
E2E Tests
Process completed with exit code 1.
|
|
[chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile:
e2e/mobile-performance.spec.ts#L23
1) [chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeLessThan(expected)
Expected: < 5000
Received: 6185
21 |
22 | // Page should load within 5 seconds even under 4× CPU throttle
> 23 | expect(loadTime).toBeLessThan(5000);
| ^
24 | });
25 |
26 | test('no layout shifts on mobile viewport', async ({ page }) => {
at /home/runner/work/objectui/objectui/e2e/mobile-performance.spec.ts:23:22
|
|
[chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile:
e2e/mobile-performance.spec.ts#L23
1) [chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeLessThan(expected)
Expected: < 5000
Received: 9317
21 |
22 | // Page should load within 5 seconds even under 4× CPU throttle
> 23 | expect(loadTime).toBeLessThan(5000);
| ^
24 | });
25 |
26 | test('no layout shifts on mobile viewport', async ({ page }) => {
at /home/runner/work/objectui/objectui/e2e/mobile-performance.spec.ts:23:22
|
|
[chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile:
e2e/mobile-performance.spec.ts#L23
1) [chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile
Error: expect(received).toBeLessThan(expected)
Expected: < 5000
Received: 6406
21 |
22 | // Page should load within 5 seconds even under 4× CPU throttle
> 23 | expect(loadTime).toBeLessThan(5000);
| ^
24 | });
25 |
26 | test('no layout shifts on mobile viewport', async ({ page }) => {
at /home/runner/work/objectui/objectui/e2e/mobile-performance.spec.ts:23:22
|
|
Test
Process completed with exit code 1.
|
|
packages/plugin-gantt/src/ObjectGantt.test.tsx > ObjectGantt > renders with object provider:
packages/plugin-gantt/src/ObjectGantt.test.tsx#L86
TestingLibraryElementError: Unable to find an element by: [data-testid="gantt-task"]
Ignored nodes: comments, script, style
<body>
<div>
<div>
<div
class="flex items-center justify-center h-96"
>
<div
class="text-muted-foreground"
>
Loading Gantt chart...
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:109:15
❯ packages/plugin-gantt/src/ObjectGantt.test.tsx:86:19
|
|
E2E Tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › e2e/mobile-performance.spec.ts:12:3 › Mobile Performance Benchmarks › page loads within performance budget on mobile
38 skipped
39 passed (2.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-output
Expired
|
10 MB |
sha256:6504915bbd5dc4af14c33115a8e8043a86c5b6b35ca66fc8173c8d272a230f36
|
|