fix: ssr resizeobserver shim #10282
Annotations
10 errors and 1 notice
Run tests:
tools/pfe-tools/ssr/global.ts#L13
1) elements/pf-accordion/test/pf-accordion.e2e.ts:14:3 › pf-accordion › ssr ──────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-accordion/test/pf-accordion.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
2) elements/pf-avatar/test/pf-avatar.e2e.ts:14:3 › pf-avatar › ssr ───────────────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-avatar/test/pf-avatar.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
3) elements/pf-back-to-top/test/pf-back-to-top.e2e.ts:14:3 › pf-back-to-top › ssr ────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-back-to-top/test/pf-back-to-top.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
4) elements/pf-background-image/test/pf-background-image.e2e.ts:14:3 › pf-background-image › ssr ─
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-background-image/test/pf-background-image.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
5) elements/pf-badge/test/pf-badge.e2e.ts:14:3 › pf-badge › ssr ──────────────────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-badge/test/pf-badge.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
6) elements/pf-banner/test/pf-banner.e2e.ts:14:3 › pf-banner › ssr ───────────────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-banner/test/pf-banner.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
7) elements/pf-button/test/pf-button.e2e.ts:14:3 › pf-button › ssr ───────────────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-button/test/pf-button.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
8) elements/pf-card/test/pf-card.e2e.ts:14:3 › pf-card › ssr ─────────────────────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-card/test/pf-card.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
9) elements/pf-chip/test/pf-chip.e2e.ts:14:3 › pf-chip › ssr ─────────────────────────────────────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-chip/test/pf-chip.e2e.ts:23:5
|
Run tests:
tools/pfe-tools/ssr/global.ts#L13
10) elements/pf-clipboard-copy/test/pf-clipboard-copy.e2e.ts:14:3 › pf-clipboard-copy › ssr ──────
Error: TypeError: w.createTreeWalker is not a function
at tools/pfe-tools/ssr/global.ts:13
11 | // avoid tsconfig problems
12 | await import(['@patternfly', 'pfe-core', 'ssr-shims.js'].join('/'));
> 13 | const { ssr } = await import('./ssr.js');
| ^
14 | await Promise.all(importSpecifiers.map(x => import(x)));
15 | return ssr(html);
16 | }
at file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
expect(received).toEqual(expected) // deep equality
Expected: 200
Received: 500
at /__w/patternfly-elements/patternfly-elements/node_modules/lit-html/src/lit-html.ts:716:18
at renderGlobal (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:13:19)
at /__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:43:33
at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:112:10)
at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:9)
at /__w/patternfly-elements/patternfly-elements/elements/pf-clipboard-copy/test/pf-clipboard-copy.e2e.ts:23:5
|
Run tests
30 failed
elements/pf-accordion/test/pf-accordion.e2e.ts:14:3 › pf-accordion › ssr ───────────────────────
elements/pf-avatar/test/pf-avatar.e2e.ts:14:3 › pf-avatar › ssr ────────────────────────────────
elements/pf-back-to-top/test/pf-back-to-top.e2e.ts:14:3 › pf-back-to-top › ssr ─────────────────
elements/pf-background-image/test/pf-background-image.e2e.ts:14:3 › pf-background-image › ssr ──
elements/pf-badge/test/pf-badge.e2e.ts:14:3 › pf-badge › ssr ───────────────────────────────────
elements/pf-banner/test/pf-banner.e2e.ts:14:3 › pf-banner › ssr ────────────────────────────────
elements/pf-button/test/pf-button.e2e.ts:14:3 › pf-button › ssr ────────────────────────────────
elements/pf-card/test/pf-card.e2e.ts:14:3 › pf-card › ssr ──────────────────────────────────────
elements/pf-chip/test/pf-chip.e2e.ts:14:3 › pf-chip › ssr ──────────────────────────────────────
elements/pf-clipboard-copy/test/pf-clipboard-copy.e2e.ts:14:3 › pf-clipboard-copy › ssr ────────
elements/pf-code-block/test/pf-code-block.e2e.ts:14:3 › pf-code-block › ssr ────────────────────
elements/pf-dropdown/test/pf-dropdown.e2e.ts:14:3 › pf-dropdown › ssr ──────────────────────────
elements/pf-icon/test/pf-icon.e2e.ts:14:3 › pf-icon › ssr ──────────────────────────────────────
elements/pf-jump-links/test/pf-jump-links.e2e.ts:14:3 › pf-jump-links › ssr ────────────────────
elements/pf-label/test/pf-label.e2e.ts:14:3 › pf-label › ssr ───────────────────────────────────
elements/pf-modal/test/pf-modal.e2e.ts:18:3 › pf-modal › ssr ───────────────────────────────────
elements/pf-panel/test/pf-panel.e2e.ts:14:3 › pf-panel › ssr ───────────────────────────────────
elements/pf-popover/test/pf-popover.e2e.ts:14:3 › pf-popover › ssr ─────────────────────────────
elements/pf-progress/test/pf-progress.e2e.ts:14:3 › pf-progress › ssr ──────────────────────────
elements/pf-progress-stepper/test/pf-progress-stepper.e2e.ts:14:3 › pf-progress-stepper › ssr ──
elements/pf-select/test/pf-select.e2e.ts:14:3 › pf-select › ssr ────────────────────────────────
elements/pf-spinner/test/pf-spinner.e2e.ts:14:3 › pf-spinner › ssr ─────────────────────────────
elements/pf-switch/test/pf-switch.e2e.ts:14:3 › pf-switch › ssr ────────────────────────────────
elements/pf-table/test/pf-table.e2e.ts:14:3 › pf-table › ssr ───────────────────────────────────
elements/pf-tabs/test/pf-tabs.e2e.ts:16:3 › pf-tabs › ssr ──────────────────────────────────────
elements/pf-text-area/test/pf-text-area.e2e.ts:14:3 › pf-text-area › ssr ───────────────────────
elements/pf-text-input/test/pf-text-input.e2e.ts:14:3 › pf-text-input › ssr ────────────────────
elements/pf-tile/test/pf-tile.e2e.ts:14:3 › pf-tile › ssr ──────────────────────────────────────
elements/pf-timestamp/test/pf-timestamp.e2e.ts:15:3 › pf-timestamp › ssr ───────────────────────
elements/pf-tooltip/test/pf-tooltip.e2e.ts:14:3 › pf-tooltip › ssr ─────────────────────────────
|
Loading