feat(collapse): add the collapse #2661
Annotations
3 errors and 1 notice
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/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
|
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/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
|
|
|
This job failed
Loading