Skip to content

Commit 28c12c7

Browse files
joshfarrantgithub-actions[bot]
authored andcommitted
github-actions[bot] Regenerated snapshots
1 parent d8741b5 commit 28c12c7

38 files changed

+423
-402
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: ActionMenu', () => {
10+
test('ActionMenu / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-actionmenu--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
1017
test('ActionMenu / Single Selection', async ({page}) => {
1118
await page.goto(
1219
'http://localhost:6006/iframe.html?args=&id=components-actionmenu-features--single-selection&viewMode=story',
@@ -121,11 +128,4 @@ test.describe('Visual Comparison: ActionMenu', () => {
121128
await page.waitForTimeout(1000)
122129
expect(await page.screenshot()).toMatchSnapshot()
123130
})
124-
125-
test('ActionMenu / Default', async ({page}) => {
126-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-actionmenu--default&viewMode=story')
127-
128-
await page.waitForTimeout(500)
129-
expect(await page.screenshot()).toMatchSnapshot()
130-
})
131131
})

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: AnchorNav', () => {
10+
test('AnchorNav / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-anchornav--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
17+
test('AnchorNav / Playground', async ({page}) => {
18+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-anchornav--playground&viewMode=story')
19+
20+
await page.waitForTimeout(1000)
21+
expect(await page.screenshot()).toMatchSnapshot()
22+
})
23+
1024
test('AnchorNav / Fewer anchor links', async ({page}) => {
1125
await page.goto(
1226
'http://localhost:6006/iframe.html?args=&id=components-anchornav-features--fewer-anchor-links&viewMode=story',
@@ -102,18 +116,4 @@ test.describe('Visual Comparison: AnchorNav', () => {
102116
await page.waitForTimeout(500)
103117
expect(await page.screenshot()).toMatchSnapshot()
104118
})
105-
106-
test('AnchorNav / Default', async ({page}) => {
107-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-anchornav--default&viewMode=story')
108-
109-
await page.waitForTimeout(500)
110-
expect(await page.screenshot()).toMatchSnapshot()
111-
})
112-
113-
test('AnchorNav / Playground', async ({page}) => {
114-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-anchornav--playground&viewMode=story')
115-
116-
await page.waitForTimeout(1000)
117-
expect(await page.screenshot()).toMatchSnapshot()
118-
})
119119
})

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,38 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: Avatar', () => {
10-
test('Avatar / Sizes', async ({page}) => {
11-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar-features--sizes&viewMode=story')
10+
test('Avatar / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar--default&viewMode=story')
1212

1313
await page.waitForTimeout(500)
1414
expect(await page.screenshot()).toMatchSnapshot()
1515
})
1616

17-
test('Avatar / Shapes', async ({page}) => {
18-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar-features--shapes&viewMode=story')
17+
test('Avatar / Playground', async ({page}) => {
18+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar--playground&viewMode=story')
1919

2020
await page.waitForTimeout(500)
2121
expect(await page.screenshot()).toMatchSnapshot()
2222
})
2323

24-
test('Avatar / Responsive Sizes', async ({page}) => {
25-
await page.goto(
26-
'http://localhost:6006/iframe.html?args=&id=components-avatar-features--responsive-sizes&viewMode=story',
27-
)
24+
test('Avatar / Sizes', async ({page}) => {
25+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar-features--sizes&viewMode=story')
2826

2927
await page.waitForTimeout(500)
3028
expect(await page.screenshot()).toMatchSnapshot()
3129
})
3230

33-
test('Avatar / Playground', async ({page}) => {
34-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar--playground&viewMode=story')
31+
test('Avatar / Shapes', async ({page}) => {
32+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar-features--shapes&viewMode=story')
3533

3634
await page.waitForTimeout(500)
3735
expect(await page.screenshot()).toMatchSnapshot()
3836
})
3937

40-
test('Avatar / Default', async ({page}) => {
41-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-avatar--default&viewMode=story')
38+
test('Avatar / Responsive Sizes', async ({page}) => {
39+
await page.goto(
40+
'http://localhost:6006/iframe.html?args=&id=components-avatar-features--responsive-sizes&viewMode=story',
41+
)
4242

4343
await page.waitForTimeout(500)
4444
expect(await page.screenshot()).toMatchSnapshot()

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: Bento', () => {
10+
test('Bento / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-bento--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
1017
test('Bento / Layout Example 1', async ({page}) => {
1118
await page.goto(
1219
'http://localhost:6006/iframe.html?args=&id=components-bento-features--layout-example-1&viewMode=story',
@@ -55,13 +62,6 @@ test.describe('Visual Comparison: Bento', () => {
5562
expect(await page.screenshot()).toMatchSnapshot()
5663
})
5764

58-
test('Bento / Default', async ({page}) => {
59-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-bento--default&viewMode=story')
60-
61-
await page.waitForTimeout(500)
62-
expect(await page.screenshot()).toMatchSnapshot()
63-
})
64-
6565
test('Bento / Heading With Emphasized Text', async ({page}) => {
6666
await page.goto(
6767
'http://localhost:6006/iframe.html?args=&id=components-bento-item--heading-with-emphasized-text&viewMode=story',

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: Box', () => {
10+
test('Box / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-box--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
1017
test('Box / Padding', async ({page}) => {
1118
await page.goto('http://localhost:6006/iframe.html?args=&id=components-box-features--padding&viewMode=story')
1219

@@ -138,11 +145,4 @@ test.describe('Visual Comparison: Box', () => {
138145
await page.waitForTimeout(6000)
139146
expect(await page.screenshot()).toMatchSnapshot()
140147
})
141-
142-
test('Box / Default', async ({page}) => {
143-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-box--default&viewMode=story')
144-
145-
await page.waitForTimeout(500)
146-
expect(await page.screenshot()).toMatchSnapshot()
147-
})
148148
})

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: Breadcrumbs', () => {
10+
test('Breadcrumbs / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-breadcrumbs--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
17+
test('Breadcrumbs / Playground', async ({page}) => {
18+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-breadcrumbs--playground&viewMode=story')
19+
20+
await page.waitForTimeout(500)
21+
expect(await page.screenshot()).toMatchSnapshot()
22+
})
23+
1024
test('Breadcrumbs / Accent variant', async ({page}) => {
1125
await page.goto('http://localhost:6006/iframe.html?args=&id=components-breadcrumbs-features--accent&viewMode=story')
1226

@@ -35,17 +49,4 @@ test.describe('Visual Comparison: Breadcrumbs', () => {
3549
expect(await page.screenshot()).toMatchSnapshot()
3650
})
3751
})
38-
test('Breadcrumbs / Playground', async ({page}) => {
39-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-breadcrumbs--playground&viewMode=story')
40-
41-
await page.waitForTimeout(500)
42-
expect(await page.screenshot()).toMatchSnapshot()
43-
})
44-
45-
test('Breadcrumbs / Default', async ({page}) => {
46-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-breadcrumbs--default&viewMode=story')
47-
48-
await page.waitForTimeout(500)
49-
expect(await page.screenshot()).toMatchSnapshot()
50-
})
5152
})

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: Button', () => {
10+
test('Button / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-button--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
17+
test('Button / Playground', async ({page}) => {
18+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-button--playground&viewMode=story')
19+
20+
await page.waitForTimeout(500)
21+
expect(await page.screenshot()).toMatchSnapshot()
22+
})
23+
1024
test('Button / Primary', async ({page}) => {
1125
await page.goto('http://localhost:6006/iframe.html?args=&id=components-button-features--primary&viewMode=story')
1226

@@ -192,18 +206,4 @@ test.describe('Visual Comparison: Button', () => {
192206
await page.waitForTimeout(500)
193207
expect(await page.screenshot()).toMatchSnapshot()
194208
})
195-
196-
test('Button / Playground', async ({page}) => {
197-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-button--playground&viewMode=story')
198-
199-
await page.waitForTimeout(500)
200-
expect(await page.screenshot()).toMatchSnapshot()
201-
})
202-
203-
test('Button / Default', async ({page}) => {
204-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-button--default&viewMode=story')
205-
206-
await page.waitForTimeout(500)
207-
expect(await page.screenshot()).toMatchSnapshot()
208-
})
209209
})

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: CTABanner', () => {
10+
test('CTABanner / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-ctabanner--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
17+
test('CTABanner / Playground', async ({page}) => {
18+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-ctabanner--playground&viewMode=story')
19+
20+
await page.waitForTimeout(500)
21+
expect(await page.screenshot()).toMatchSnapshot()
22+
})
23+
1024
test('CTABanner / With Border', async ({page}) => {
1125
await page.goto(
1226
'http://localhost:6006/iframe.html?args=&id=components-ctabanner-features--with-border&viewMode=story',
@@ -51,18 +65,4 @@ test.describe('Visual Comparison: CTABanner', () => {
5165
await page.waitForTimeout(500)
5266
expect(await page.screenshot()).toMatchSnapshot()
5367
})
54-
55-
test('CTABanner / Playground', async ({page}) => {
56-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-ctabanner--playground&viewMode=story')
57-
58-
await page.waitForTimeout(500)
59-
expect(await page.screenshot()).toMatchSnapshot()
60-
})
61-
62-
test('CTABanner / Default', async ({page}) => {
63-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-ctabanner--default&viewMode=story')
64-
65-
await page.waitForTimeout(500)
66-
expect(await page.screenshot()).toMatchSnapshot()
67-
})
6868
})

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: CTAForm', () => {
10-
test('CTAForm / With No Confirm', async ({page}) => {
11-
await page.goto(
12-
'http://localhost:6006/iframe.html?args=&id=components-ctaform-features--with-no-confirm&viewMode=story',
13-
)
10+
test('CTAForm / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-ctaform--default&viewMode=story')
1412

1513
await page.waitForTimeout(500)
1614
expect(await page.screenshot()).toMatchSnapshot()
@@ -23,8 +21,10 @@ test.describe('Visual Comparison: CTAForm', () => {
2321
expect(await page.screenshot()).toMatchSnapshot()
2422
})
2523

26-
test('CTAForm / Default', async ({page}) => {
27-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-ctaform--default&viewMode=story')
24+
test('CTAForm / With No Confirm', async ({page}) => {
25+
await page.goto(
26+
'http://localhost:6006/iframe.html?args=&id=components-ctaform-features--with-no-confirm&viewMode=story',
27+
)
2828

2929
await page.waitForTimeout(500)
3030
expect(await page.screenshot()).toMatchSnapshot()

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ import {test, expect} from '@playwright/test'
77

88
// eslint-disable-next-line i18n-text/no-en
99
test.describe('Visual Comparison: Card', () => {
10+
test('Card / Default', async ({page}) => {
11+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-card--default&viewMode=story')
12+
13+
await page.waitForTimeout(500)
14+
expect(await page.screenshot()).toMatchSnapshot()
15+
})
16+
17+
test('Card / Playground', async ({page}) => {
18+
await page.goto('http://localhost:6006/iframe.html?args=&id=components-card--playground&viewMode=story')
19+
20+
await page.waitForTimeout(500)
21+
expect(await page.screenshot()).toMatchSnapshot()
22+
})
23+
1024
test('Card / Minimal', async ({page}) => {
1125
await page.goto('http://localhost:6006/iframe.html?args=&id=components-card-features--minimal&viewMode=story')
1226

@@ -119,18 +133,4 @@ test.describe('Visual Comparison: Card', () => {
119133
await page.waitForTimeout(500)
120134
expect(await page.screenshot()).toMatchSnapshot()
121135
})
122-
123-
test('Card / Default', async ({page}) => {
124-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-card--default&viewMode=story')
125-
126-
await page.waitForTimeout(500)
127-
expect(await page.screenshot()).toMatchSnapshot()
128-
})
129-
130-
test('Card / Playground', async ({page}) => {
131-
await page.goto('http://localhost:6006/iframe.html?args=&id=components-card--playground&viewMode=story')
132-
133-
await page.waitForTimeout(500)
134-
expect(await page.screenshot()).toMatchSnapshot()
135-
})
136136
})

0 commit comments

Comments
 (0)