test(accordion): standalone waits before capturing screenshot (#25733)

This commit is contained in:
Sean Perkins
2022-08-10 22:42:43 -04:00
committed by GitHub
parent de20541486
commit ae3cf144a6
3 changed files with 3 additions and 2 deletions

View File

@@ -11,10 +11,11 @@ test.describe('accordion: standalone', () => {
expect(results.violations).toEqual([]);
});
// TODO(FW-1842) Re-enable when flakiness has been addressed.
test.skip('should not have visual regressions', async ({ page }) => {
test('should not have visual regressions', async ({ page }) => {
await page.goto(`/src/components/accordion/test/standalone`);
await page.waitForChanges();
expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(
`accordion-standalone-${page.getSnapshotSettings()}.png`
);

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 119 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 119 KiB