Skip to content

Commit 9cea3df

Browse files
chore(deps): update @primer/primitives to 10.2.0 (#5440)
* chore(deps): update @primer/primitives to 10.2.0 * add tests * test(vrt): update snapshots --------- Co-authored-by: Katie Langerman <[email protected]> Co-authored-by: langermank <[email protected]>
1 parent 280871d commit 9cea3df

13 files changed

+87
-26
lines changed
11.9 KB
Loading
11.9 KB
Loading
12.4 KB
Loading
11.9 KB
Loading
11.7 KB
Loading
12.1 KB
Loading
12.6 KB
Loading
12.4 KB
Loading
12.1 KB
Loading

e2e/components/Button.test.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,4 +626,22 @@ test.describe('Button', () => {
626626
})
627627
}
628628
})
629+
630+
test.describe('Dev: Disabled variants', () => {
631+
for (const theme of themes) {
632+
test.describe(theme, () => {
633+
test('default @vrt', async ({page}) => {
634+
await visit(page, {
635+
id: 'components-button-devonly--disabled-button-variants',
636+
globals: {
637+
colorScheme: theme,
638+
},
639+
})
640+
641+
// Default state
642+
expect(await page.screenshot()).toMatchSnapshot(`Button.Disabled variants.${theme}.png`)
643+
})
644+
})
645+
}
646+
})
629647
})

0 commit comments

Comments
 (0)