Skip to content

Commit bd95d2c

Browse files
committed
Update snapshots
1 parent b20d708 commit bd95d2c

11 files changed

Lines changed: 11 additions & 0 deletions
27.6 KB
Loading

packages/react/src/NavList/NavList.visual.spec.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ test.describe('Visual Comparison: NavList', () => {
7070
await expect(page).toHaveScreenshot({fullPage: true})
7171
})
7272

73+
test('NavList / With Visuals', async ({page}) => {
74+
await page.goto(
75+
'http://localhost:6006/iframe.html?args=&id=components-navlist-features--with-visuals&viewMode=story',
76+
{waitUntil: 'networkidle'},
77+
)
78+
await page.locator('body.sb-show-main').waitFor({state: 'visible'})
79+
80+
await page.waitForTimeout(500)
81+
await expect(page).toHaveScreenshot({fullPage: true})
82+
})
83+
7384
test('NavList / Dark Mode', async ({page}) => {
7485
await page.goto(
7586
'http://localhost:6006/iframe.html?args=&id=components-navlist-features--dark-mode&viewMode=story',
Loading
365 Bytes
Loading
-4.08 KB
Loading
-658 Bytes
Loading
55 Bytes
Loading
-1.09 KB
Loading
301 Bytes
Loading
22.4 KB
Loading

0 commit comments

Comments
 (0)