feat: Create tree component #2844
pr.yml
on: pull_request
e2e-tests
/
merge-reports
0s
Annotations
25 errors and 4 notices
[singleBrowser:svelte: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:svelte: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"
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"
tabindex="0"
type="button"
/>
"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"
tabindex="-1"
type="button"
/>
"Node 1.1"
</span>
</li>
<li
aria-expanded="false"
aria-selected="false"
role="treeitem"
>
<span
class="au-tree-item"
>
<button
aria-label="Toggle Node 1.2"
class="au-tree-expand-button"
tabindex="-1"
type="button"
/>
"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-svelte-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:svelte: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:svelte: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"
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"
tabindex="0"
type="button"
/>
"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"
tabindex="-1"
type="button"
/>
"Node 1.1"
</span>
</li>
<li
aria-expanded="false"
aria-selected="false"
role="treeitem"
>
<span
class="au-tree-item"
>
<button
aria-label="Toggle Node 1.2"
class="au-tree-expand-button"
tabindex="-1"
type="button"
/>
"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-svelte-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 (7/10)
Process completed with exit code 1.
|
e2e-tests / Test (4/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (4/10)
The operation was canceled.
|
e2e-tests / Test (6/10)
The job was canceled because "_7" failed.
|
[singleBrowser:angular: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:angular: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"
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"
tabindex="0"
type="button"
/>
"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"
tabindex="-1"
type="button"
/>
"Node 1.1"
</span>
</li>
<li
aria-expanded="false"
aria-selected="false"
role="treeitem"
>
<span
class="au-tree-item"
>
<button
aria-label="Toggle Node 1.2"
class="au-tree-expand-button"
tabindex="-1"
type="button"
/>
"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-angular-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:angular: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:angular: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"
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"
tabindex="0"
type="button"
/>
"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"
tabindex="-1"
type="button"
/>
"Node 1.1"
</span>
</li>
<li
aria-expanded="false"
aria-selected="false"
role="treeitem"
>
<span
class="au-tree-item"
>
<button
aria-label="Toggle Node 1.2"
class="au-tree-expand-button"
tabindex="-1"
type="button"
/>
"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-angular-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
|
[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
2) [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"
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"
tabindex="0"
type="button"
/>
"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"
tabindex="-1"
type="button"
/>
"Node 1.1"
</span>
</li>
<li
aria-expanded="false"
aria-selected="false"
role="treeitem"
>
<span
class="au-tree-item"
>
<button
aria-label="Toggle Node 1.2"
class="au-tree-expand-button"
tabindex="-1"
type="button"
/>
"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
2) [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"
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"
tabindex="0"
type="button"
/>
"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"
tabindex="-1"
type="button"
/>
"Node 1.1"
</span>
</li>
<li
aria-expanded="false"
aria-selected="false"
role="treeitem"
>
<span
class="au-tree-item"
>
<button
aria-label="Toggle Node 1.2"
class="au-tree-expand-button"
tabindex="-1"
type="button"
/>
"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)
The operation was canceled.
|
e2e-tests / Test (3/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (3/10)
The operation was canceled.
|
e2e-tests / Test (9/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (9/10)
The operation was canceled.
|
e2e-tests / Test (2/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (2/10)
The operation was canceled.
|
e2e-tests / Test (10/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (10/10)
The operation was canceled.
|
e2e-tests / Test (1/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (1/10)
The operation was canceled.
|
e2e-tests / Test (8/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (8/10)
The operation was canceled.
|
e2e-tests / Test (5/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (5/10)
The operation was canceled.
|
🎭 Playwright Run Summary
1 failed
[singleBrowser:svelte:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup
1 skipped
103 passed (2.2m)
|
🎭 Playwright Run Summary
106 passed (2.4m)
|
🎭 Playwright Run Summary
2 failed
[singleBrowser:angular:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup
[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
96 passed (2.5m)
|
🎭 Playwright Run Summary
105 passed (2.7m)
|