Skip to content

feat(tools): knobs #9913

feat(tools): knobs

feat(tools): knobs #9913

Triggered via pull request July 14, 2024 13:43
Status Failure
Total duration 5m 10s
Artifacts 1

tests.yml

on: pull_request
Matrix: Compile project
SSR Tests (Playwright)
1m 49s
SSR Tests (Playwright)
Lint files
45s
Lint files
Unit Tests (Web Test Runner)
1m 14s
Unit Tests (Web Test Runner)
Verify that build runs on Windows
4m 59s
Verify that build runs on Windows
Publish Playwright Report
11s
Publish Playwright Report
Validate successful build on main
3s
Validate successful build on main
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 10 warnings, and 1 notice
elements/pf-dropdown/test/pf-dropdown.e2e.ts:14:3 › pf-dropdown › ssr: elements/pf-dropdown/pf-dropdown.js#L31
1) elements/pf-dropdown/test/pf-dropdown.e2e.ts:14:3 › pf-dropdown › ssr ───────────────────────── Error: TypeError: this.host.addEventListener is not a function at elements/pf-dropdown/pf-dropdown.js:31 29 | _PfDropdown_instances.add(this); 30 | /** > 31 | * When disabled, the dropdown can still be toggled open and closed via keyboard, but menu items cannot be activated. | ^ 32 | */ 33 | this.disabled = false; 34 | /** at i.attachListeners (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:158:15) at new i (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:89:10) at i (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/decorators/provide.ts:76:38) at forEach (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1019:7) at Array.forEach (<anonymous>) at PfDropdown.__initialize [as _$Ev] (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1018:65) at new constructor (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1000:10) at new s (file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-element/src/lit-element.ts:122:1) at new PfDropdown (file:///__w/patternfly-elements/patternfly-elements/elements/pf-dropdown/pf-dropdown.js:31:5) at new LitElementRenderer (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/lit-element-renderer.ts:35:20) at getElementRenderer (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/element-renderer.ts:41:14) at renderTemplateResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:781:26) at renderTemplateResult.next (<anonymous>) at renderValue (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:652:12) at renderValue.next (<anonymous>) at renderTemplateResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:727:16) at renderTemplateResult.next (<anonymous>) at renderValue (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:652:12) at renderValue.next (<anonymous>) at render (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render.ts:44:10) at render.next (<anonymous>) at collectResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-result.ts:27:14) at ssr (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/ssr.ts:10:10) at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:14:10) 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 i.attachListeners (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:158:15) at i (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:89:10) at i (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/decorators/provide.ts:76:38) at forEach (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1019:7) at PfDropdown.__initialize (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/re
elements/pf-tabs/test/pf-tabs.e2e.ts:16:3 › pf-tabs › ssr: elements/pf-tabs/pf-tabs.js#L22
2) elements/pf-tabs/test/pf-tabs.e2e.ts:16:3 › pf-tabs › ssr ───────────────────────────────────── Error: TypeError: this.host.addEventListener is not a function at elements/pf-tabs/pf-tabs.js:22 20 | let PfTabs = class PfTabs extends LitElement { 21 | constructor() { > 22 | super(...arguments); | ^ 23 | _PfTabs_instances.add(this); 24 | /** 25 | * Aria Label for the left scroll button at i.attachListeners (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:158:15) at new i (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:89:10) at i (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/decorators/provide.ts:76:38) at forEach (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1019:7) at Array.forEach (<anonymous>) at PfTabs.__initialize [as _$Ev] (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1018:65) at new constructor (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1000:10) at new s (file:///__w/patternfly-elements/patternfly-elements/node_modules/lit-element/src/lit-element.ts:122:1) at new PfTabs (file:///__w/patternfly-elements/patternfly-elements/elements/pf-tabs/pf-tabs.js:22:5) at new LitElementRenderer (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/lit-element-renderer.ts:35:20) at getElementRenderer (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/element-renderer.ts:41:14) at renderTemplateResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:781:26) at renderTemplateResult.next (<anonymous>) at renderValue (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:652:12) at renderValue.next (<anonymous>) at renderTemplateResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:727:16) at renderTemplateResult.next (<anonymous>) at renderValue (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-value.ts:652:12) at renderValue.next (<anonymous>) at render (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render.ts:44:10) at render.next (<anonymous>) at collectResult (file:///__w/patternfly-elements/patternfly-elements/node_modules/@lit-labs/ssr/src/lib/render-result.ts:27:14) at ssr (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/ssr.ts:10:10) at renderGlobal (file:///__w/patternfly-elements/patternfly-elements/tools/pfe-tools/ssr/global.ts:14:10) 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 i.attachListeners (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:158:15) at i (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/controllers/context-provider.ts:89:10) at i (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/context/src/lib/decorators/provide.ts:76:38) at forEach (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1019:7) at PfTabs.__initialize (/__w/patternfly-elements/patternfly-elements/node_modules/@lit/reactive-element/src/reactive-element.ts:1018:65) at construct
elements/pf-tile/test/pf-tile.e2e.ts:14:3 › pf-tile › ssr: elements/pf-icon/pf-icon.ts#L222
3) elements/pf-tile/test/pf-tile.e2e.ts:14:3 › pf-tile › ssr ───────────────────────────────────── TypeError: this.dispatchEvent is not a function at elements/pf-icon/pf-icon.ts:222 220 | } catch (error: unknown) { 221 | this.#logger.error((error as IconResolveError).message); > 222 | this.dispatchEvent(new IconResolveError(set, icon, error as Error)); | ^ 223 | } 224 | } 225 | } at PfIcon.load (/__w/patternfly-elements/patternfly-elements/elements/pf-icon/pf-icon.ts:222:14)
elements/pf-tile/test/pf-tile.e2e.ts:14:3 › pf-tile › ssr: tools/pfe-tools/test/playwright/SSRPage.ts#L107
3) elements/pf-tile/test/pf-tile.e2e.ts:14:3 › pf-tile › ssr ───────────────────────────────────── Error: page.goto: Test ended. Call log: - navigating to "http://localhost:41839/extra-content.html", waiting until "load" at tools/pfe-tools/test/playwright/SSRPage.ts:107 105 | */ 106 | private async snapshot(url: string) { > 107 | const response = await this.page.goto(url, { waitUntil: 'load' }); | ^ 108 | if (response?.status() === 404) { 109 | throw new Error(`Not Found: ${url}`); 110 | } at SSRPage.snapshot (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:107:38) at SSRPage.snapshots (/__w/patternfly-elements/patternfly-elements/tools/pfe-tools/test/playwright/SSRPage.ts:95:20) at /__w/patternfly-elements/patternfly-elements/elements/pf-tile/test/pf-tile.e2e.ts:23:5
SSR Tests (Playwright)
Process completed with exit code 1.
Unit Tests (Web Test Runner)
The following actions uses node12 which is deprecated and will be forced to run on node16: mikepenz/action-junit-report@v2.8.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit Tests (Web Test Runner)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: mikepenz/action-junit-report@v2.8.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/
Validate successful build on main
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-ecosystem/action-add-labels@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
SSR Tests (Playwright)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
SSR Tests (Playwright)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Publish Playwright Report
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Publish Playwright Report
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/download-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Verify that build runs on Windows
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
3 failed elements/pf-dropdown/test/pf-dropdown.e2e.ts:14:3 › pf-dropdown › ssr ────────────────────────── elements/pf-tabs/test/pf-tabs.e2e.ts:16:3 › pf-tabs › ssr ────────────────────────────────────── elements/pf-tile/test/pf-tile.e2e.ts:14:3 › pf-tile › ssr ────────────────────────────────────── 27 passed (20.9s)

Artifacts

Produced during runtime
Name Size Digest
test-report Expired
6.03 MB