Skip to content

feat: Create tree component #2828

feat: Create tree component

feat: Create tree component #2828

Triggered via pull request November 4, 2024 15:26
Status Failure
Total duration 6m 16s
Artifacts 6

pr.yml

on: pull_request
Matrix: e2e-tests / e2e-tests
Matrix: validate-os / validate-os
e2e-tests  /  merge-reports
0s
e2e-tests / merge-reports
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 7 notices
[singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup: e2e/samplesMarkup.singlebrowser-e2e-spec.ts#L37
1) [singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup Error: Snapshot comparison failed: <body> <div class="container p-3" id="root" > <ul class="au-tree state.className {{ }}" role="tree" > <li aria-expanded="true" aria-selected="false" role="treeitem" > <span class="au-tree-item" > <button aria-label="Toggle Node 1" class="au-tree-expand-button au-tree-expand-button-expanded" /> "Node 1" </span> <ul role="group" > <li aria-expanded="false" aria-selected="false" role="treeitem" > <span class="au-tree-item" > <button aria-label="Toggle Node 1.1" class="au-tree-expand-button" /> "Node 1.1" </span> </li> </ul> <ul role="group" > <li aria-selected="false" role="treeitem" > <span class="au-tree-item" > <span class="au-tree-expand-button-placeholder" /> "Node 1.2" </span> </li> </ul> </li> </ul> </div> </body> Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-tree-basic.html Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-e1d94-ld-have-a-consistent-markup-singleBrowser-react-chromium/bootstrap-tree-basic-actual.html 35 | await expect.poll(async () => (await page.locator('#root').innerHTML()).trim().length).toBeGreaterThan(0); 36 | await samplesExtraAction[sampleKey]?.(page); > 37 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${sampleKey.toLowerCase()}.html`); | ^ 38 | }); 39 | }); 40 | } at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts:37:54
[singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup: e2e/samplesMarkup.singlebrowser-e2e-spec.ts#L37
1) [singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: <body> <div class="container p-3" id="root" > <ul class="au-tree state.className {{ }}" role="tree" > <li aria-expanded="true" aria-selected="false" role="treeitem" > <span class="au-tree-item" > <button aria-label="Toggle Node 1" class="au-tree-expand-button au-tree-expand-button-expanded" /> "Node 1" </span> <ul role="group" > <li aria-expanded="false" aria-selected="false" role="treeitem" > <span class="au-tree-item" > <button aria-label="Toggle Node 1.1" class="au-tree-expand-button" /> "Node 1.1" </span> </li> </ul> <ul role="group" > <li aria-selected="false" role="treeitem" > <span class="au-tree-item" > <span class="au-tree-expand-button-placeholder" /> "Node 1.2" </span> </li> </ul> </li> </ul> </div> </body> Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-tree-basic.html Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-e1d94-ld-have-a-consistent-markup-singleBrowser-react-chromium-retry1/bootstrap-tree-basic-actual.html 35 | await expect.poll(async () => (await page.locator('#root').innerHTML()).trim().length).toBeGreaterThan(0); 36 | await samplesExtraAction[sampleKey]?.(page); > 37 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${sampleKey.toLowerCase()}.html`); | ^ 38 | }); 39 | }); 40 | } at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts:37:54
e2e-tests / Test (6/10)
Process completed with exit code 1.
e2e-tests / Test (8/10)
The job was canceled because "_6" failed.
e2e-tests / Test (8/10)
The operation was canceled.
e2e-tests / Test (10/10)
The job was canceled because "_6" failed.
e2e-tests / Test (10/10)
The operation was canceled.
e2e-tests / Test (9/10)
The job was canceled because "_6" failed.
e2e-tests / Test (9/10)
The operation was canceled.
🎭 Playwright Run Summary
1 skipped 104 passed (2.2m)
🎭 Playwright Run Summary
102 passed (2.7m)
🎭 Playwright Run Summary
108 passed (2.7m)
🎭 Playwright Run Summary
105 passed (2.5m)
🎭 Playwright Run Summary
105 passed (2.8m)
🎭 Playwright Run Summary
108 passed (2.5m)
🎭 Playwright Run Summary
1 failed [singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup 2 skipped 99 passed (2.4m)

Artifacts

Produced during runtime
Name Size
e2e-test-1 Expired
212 KB
e2e-test-2 Expired
209 KB
e2e-test-3 Expired
192 KB
e2e-test-4 Expired
217 KB
e2e-test-5 Expired
191 KB
e2e-test-7 Expired
116 KB