Skip to content

feat!: ssr

feat!: ssr #9650

Triggered via pull request May 20, 2024 07:33
Status Failure
Total duration 1m 15s
Artifacts

tests.yml

on: pull_request
Matrix: Compile project
Lint files
31s
Lint files
Run test suite (Web Test Runner)
57s
Run test suite (Web Test Runner)
Run SSR Tests (Playwright)
56s
Run SSR Tests (Playwright)
Validate successful build on main
3s
Validate successful build on main
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 1 notice
elements/pf-accordion/test/pf-accordion.e2e.ts:14:3 › pf-accordion › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
1) elements/pf-accordion/test/pf-accordion.e2e.ts:14:3 › pf-accordion › ssr ────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-accordion/test/pf-accordion.e2e.ts:23:5
elements/pf-avatar/test/pf-avatar.e2e.ts:14:3 › pf-avatar › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
2) elements/pf-avatar/test/pf-avatar.e2e.ts:14:3 › pf-avatar › ssr ─────────────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-avatar/test/pf-avatar.e2e.ts:23:5
elements/pf-back-to-top/test/pf-back-to-top.e2e.ts:14:3 › pf-back-to-top › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
3) elements/pf-back-to-top/test/pf-back-to-top.e2e.ts:14:3 › pf-back-to-top › ssr ──────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-back-to-top/test/pf-back-to-top.e2e.ts:23:5
elements/pf-background-image/test/pf-background-image.e2e.ts:14:3 › pf-background-image › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
4) elements/pf-background-image/test/pf-background-image.e2e.ts:14:3 › pf-background-image › ssr ─ Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-background-image/test/pf-background-image.e2e.ts:23:5
elements/pf-badge/test/pf-badge.e2e.ts:14:3 › pf-badge › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
5) elements/pf-badge/test/pf-badge.e2e.ts:14:3 › pf-badge › ssr ────────────────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-badge/test/pf-badge.e2e.ts:23:5
elements/pf-banner/test/pf-banner.e2e.ts:14:3 › pf-banner › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
6) elements/pf-banner/test/pf-banner.e2e.ts:14:3 › pf-banner › ssr ─────────────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-banner/test/pf-banner.e2e.ts:23:5
elements/pf-button/test/pf-button.e2e.ts:14:3 › pf-button › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
7) elements/pf-button/test/pf-button.e2e.ts:14:3 › pf-button › ssr ─────────────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-button/test/pf-button.e2e.ts:23:5
elements/pf-card/test/pf-card.e2e.ts:14:3 › pf-card › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
8) elements/pf-card/test/pf-card.e2e.ts:14:3 › pf-card › ssr ───────────────────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-card/test/pf-card.e2e.ts:23:5
elements/pf-chip/test/pf-chip.e2e.ts:14:3 › pf-chip › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
9) elements/pf-chip/test/pf-chip.e2e.ts:14:3 › pf-chip › ssr ───────────────────────────────────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-chip/test/pf-chip.e2e.ts:23:5
elements/pf-clipboard-copy/test/pf-clipboard-copy.e2e.ts:14:3 › pf-clipboard-copy › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L85
10) elements/pf-clipboard-copy/test/pf-clipboard-copy.e2e.ts:14:3 › pf-clipboard-copy › ssr ────── Error: Internal Server Error expect(received).toEqual(expected) // deep equality Expected: 200 Received: 500 at tools/pfe-tools/test/playwright/SSRPage.ts:85 83 | private async snapshot(url: string) { 84 | const response = await this.page.goto(url, { waitUntil: 'load' }); > 85 | expect(response?.status(), { message: await response?.text() }).toEqual(200); | ^ 86 | const snapshot = await this.page.screenshot({ fullPage: true }); 87 | expect(snapshot).toMatchSnapshot(`${this.config.tagName}-${basename(url)}.png`); 88 | } at SSRPage.snapshot (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:85:69) at SSRPage.snapshots (/home/runner/work/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:75:9) at /home/runner/work/patternfly-elements/patternfly-elements/elements/pf-clipboard-copy/test/pf-clipboard-copy.e2e.ts:23:5
Lint files
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run test suite (Web Test Runner)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, mikepenz/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run test suite (Web Test Runner)
The following actions uses node12 which is deprecated and will be forced to run on node16: mikepenz/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run SSR Tests (Playwright)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Validate successful build on main
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-ecosystem/action-add-labels@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Validate successful build on main
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/action-add-labels@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🎭 Playwright Run Summary
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 ─────────────────────────────