Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nextjs-app-v14/test/visual/nextjs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('NextJS Aperture App', () => {
{ url: '/components/card', name: 'Card' },
{ url: '/components/checkbox', name: 'Checkbox' },
{ url: '/components/checkbox-group', name: 'Checkbox Group' },
{ url: '/components/chip', name: 'Chip' },
{ url: '/components/chip', name: 'Chip', pauseBeforeScreenshot: true },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure if this pause will be enough to prevent each spinner screenshot being slightly different.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I was thinking that as well. Do you reckon it would need to be longer?

{ url: '/components/cookie-banner', name: 'Cookie Banner' },
{ url: '/components/divider', name: 'Divider' },
{ url: '/integrations/uncontrolled-form', name: 'Uncontrolled Form' },
Expand All @@ -25,7 +25,7 @@ describe('NextJS Aperture App', () => {
{ url: '/components/notification', name: 'Notification' },
{ url: '/components/radio', name: 'Radio' },
{ url: '/components/radio-group', name: 'Radio Group' },
{ url: '/components/spinner', name: 'Spinner' },
{ url: '/components/spinner', name: 'Spinner', pauseBeforeScreenshot: true },
{ url: '/components/switch', name: 'Switch' },
{ url: '/components/select', name: 'Select' },
{ url: '/components/tag', name: 'Tag' },
Expand Down
Loading