Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfarrant committed Jan 10, 2025
1 parent b425448 commit 8bd9e3e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/react/src/Link/Link.visual.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ test.describe('Visual Comparison: Link', () => {
expect(await page.screenshot({fullPage: true})).toMatchSnapshot()
})

test('Link / Reversed', async ({page}) => {
await page.goto('http://localhost:6006/iframe.html?args=&id=components-link-features--reversed&viewMode=story')
test('Link / Arrow Start', async ({page}) => {
await page.goto('http://localhost:6006/iframe.html?args=&id=components-link-features--arrow-start&viewMode=story')

await page.waitForTimeout(500)
expect(await page.screenshot({fullPage: true})).toMatchSnapshot()
})

test('Link / No Arrow', async ({page}) => {
await page.goto('http://localhost:6006/iframe.html?args=&id=components-link-features--no-arrow&viewMode=story')

await page.waitForTimeout(500)
expect(await page.screenshot({fullPage: true})).toMatchSnapshot()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8bd9e3e

Please sign in to comment.