feat(collapse): add the collapse #2659
pr.yml
on: pull_request
e2e-tests
/
merge-reports
0s
Annotations
24 errors and 1 notice
[singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/collapse/playground › 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/collapse/playground › should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
class="container p-3"
id="root"
>
<div
class="collapse show"
>
"Visible content"
</div/>
</div>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-collapse-playground.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-c3060-ld-have-a-consistent-markup-singleBrowser-react-chromium/bootstrap-collapse-playground-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/collapse/playground › 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/collapse/playground › should have a consistent markup
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<body>
<div
class="container p-3"
id="root"
>
<div
class="collapse show"
>
"Visible content"
</div/>
</div>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-collapse-playground.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-c3060-ld-have-a-consistent-markup-singleBrowser-react-chromium-retry1/bootstrap-collapse-playground-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/collapse/default › 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/collapse/default › should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
class="container p-3"
id="root"
>
<button
class="btn btn-primary m-2"
type="button"
>
"Open collapse"
</button>
<button
class="btn btn-primary m-2"
type="button"
>
"Close collapse"
</button>
<button
class="btn btn-primary m-2"
type="button"
>
"Toggle collapse"
</button>
<div
class="collapse show"
>
<div>
"Visible content"
</div>
</div>
</div>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-collapse-default.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-37025-ld-have-a-consistent-markup-singleBrowser-react-chromium/bootstrap-collapse-default-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/collapse/default › 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/collapse/default › should have a consistent markup
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<body>
<div
class="container p-3"
id="root"
>
<button
class="btn btn-primary m-2"
type="button"
>
"Open collapse"
</button>
<button
class="btn btn-primary m-2"
type="button"
>
"Close collapse"
</button>
<button
class="btn btn-primary m-2"
type="button"
>
"Toggle collapse"
</button>
<div
class="collapse show"
>
<div>
"Visible content"
</div>
</div>
</div>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-collapse-default.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-37025-ld-have-a-consistent-markup-singleBrowser-react-chromium-retry1/bootstrap-collapse-default-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.
|
build / build
Process completed with exit code 1.
|
e2e-tests / Test (9/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (9/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 (8/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (8/10)
The operation was canceled.
|
e2e-tests / Test (6/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (6/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 (10/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (10/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 (5/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (5/10)
The operation was canceled.
|
e2e-tests / Test (4/10)
The job was canceled because "_7" failed.
|
e2e-tests / Test (4/10)
The operation was canceled.
|
🎭 Playwright Run Summary
2 failed
[singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/collapse/playground › should have a consistent markup
[singleBrowser:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/collapse/default › should have a consistent markup
1 skipped
100 passed (2.3m)
|