mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(accordion): standalone waits before capturing screenshot (#25733)
This commit is contained in:
@@ -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`
|
||||
);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 119 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 119 KiB |
Reference in New Issue
Block a user