Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 3cacd0d

Browse files
committed
Update snapshots
1 parent df9d651 commit 3cacd0d

File tree

3 files changed

+62
-37
lines changed

3 files changed

+62
-37
lines changed

lib/a11y-snapshot/__snapshots__/aom.test.js.snap

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ exports[`chromium / 1`] = `
263263
<text>.Copyright ©2021Material-UI.</text>
264264
</paragraph>
265265
</contentinfo>
266+
<Iframe>Netlify Drawer</Iframe>
266267
<alert></alert>
267268
</WebArea>;
268269

@@ -8132,6 +8133,15 @@ exports[`chromium /components/slider 1`] = `
81328133
brightness, or applying image filters.
81338134
</text>
81348135
</paragraph>
8136+
<list>
8137+
<listitem level="1">
8138+
<text>📦</text>
8139+
<link>22 kB gzipped</link>
8140+
<text>
8141+
(but only +8 kB when used together with other Material-UI components).
8142+
</text>
8143+
</listitem>
8144+
</list>
81358145
<list>
81368146
<listitem level="1">
81378147
<link>Feedback</link>
@@ -8937,12 +8947,6 @@ exports[`chromium /components/slider 1`] = `
89378947
Unstyled
89388948
<text>Unstyled</text>
89398949
</heading>
8940-
<list>
8941-
<listitem level="1">
8942-
<text>📦</text>
8943-
<link>5.6 kB gzipped</link>
8944-
</listitem>
8945-
</list>
89468950
<paragraph>
89478951
<text>
89488952
The slider also comes with an unstyled version. It's ideal for doing
@@ -14006,6 +14010,19 @@ exports[`firefox / 1`] = `
1400614010
<text>. Copyright © 2021 Material-UI.</text>
1400714011
</paragraph>
1400814012
</landmark>
14013+
<iframe>
14014+
Netlify Drawer
14015+
<document>
14016+
Netlify Drawer
14017+
<button>
14018+
Open Netlify Drawer
14019+
<img>Logo</img>
14020+
</button>
14021+
<text>
14022+
<alert></alert>
14023+
</text>
14024+
</document>
14025+
</iframe>
1400914026
<text>
1401014027
<alert></alert>
1401114028
</text>
@@ -22413,6 +22430,17 @@ exports[`firefox /components/slider 1`] = `
2241322430
brightness, or applying image filters.
2241422431
</text>
2241522432
</paragraph>
22433+
<list>
22434+
<listitem>
22435+
📦 22 kB gzipped (but only +8 kB when used together with other Material-UI
22436+
components).
22437+
<text>📦</text>
22438+
<link>22 kB gzipped</link>
22439+
<text>
22440+
(but only +8 kB when used together with other Material-UI components).
22441+
</text>
22442+
</listitem>
22443+
</list>
2241622444
<list>
2241722445
<listitem>
2241822446
Feedback
@@ -23038,13 +23066,6 @@ exports[`firefox /components/slider 1`] = `
2303823066
Unstyled
2303923067
<text>Unstyled</text>
2304023068
</heading>
23041-
<list>
23042-
<listitem>
23043-
📦 5.6 kB gzipped
23044-
<text>📦</text>
23045-
<link>5.6 kB gzipped</link>
23046-
</listitem>
23047-
</list>
2304823069
<paragraph>
2304923070
<text>
2305023071
The slider also comes with an unstyled version. It's ideal for doing

lib/a11y-snapshot/deploy.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
{
2-
"id": "60ace37930e1530008ee81ae",
2+
"id": "60addd62d113510008f6c8a6",
33
"site_id": "64f32322-7c26-4008-b886-60800cd747b0",
4-
"build_id": "60ace37930e1530008ee81ac",
4+
"build_id": "60addd62d113510008f6c8a4",
55
"state": "ready",
66
"name": "material-ui",
77
"url": "http://material-ui.netlify.app",
88
"admin_url": "https://app.netlify.com/sites/material-ui",
9-
"deploy_url": "http://next--material-ui.netlify.app",
10-
"deploy_ssl_url": "https://next--material-ui.netlify.app",
11-
"created_at": "2021-05-25T11:46:01.666Z",
12-
"updated_at": "2021-05-25T12:08:38.048Z",
13-
"commit_ref": "bb0bbe22d77dabe69cd6cd64971158aaa70068c4",
14-
"review_id": null,
9+
"deploy_url": "http://deploy-preview-26446--material-ui.netlify.app",
10+
"deploy_ssl_url": "https://deploy-preview-26446--material-ui.netlify.app",
11+
"created_at": "2021-05-26T05:32:18.522Z",
12+
"updated_at": "2021-05-26T05:40:48.588Z",
13+
"commit_ref": "83eadf9e0c137ba632dc3f457d635de6ee276289",
14+
"review_id": 26446,
1515
"skipped": null,
1616
"locked": null,
17-
"branch": "next",
18-
"commit_url": "https://github.com/mui-org/material-ui/commit/bb0bbe22d77dabe69cd6cd64971158aaa70068c4",
17+
"branch": "feat/list-item-improvement",
18+
"commit_url": "https://github.com/mui-org/material-ui/commit/83eadf9e0c137ba632dc3f457d635de6ee276289",
1919
"log_access_attributes": {
2020
"type": "firebase",
21-
"url": "https://netlify-builds1.firebaseio.com/builds/60ace37930e1530008ee81ac/log",
22-
"endpoint": "https://netlify-builds1.firebaseio.com",
23-
"path": "/builds/60ace37930e1530008ee81ac/log",
24-
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjE2MjE5NDcwMDQsImQiOnsidWlkIjoiIn19._ziNReuE4SoEklqDRiK7YG2D_SAkVN0YZM6uDNVEXCw"
21+
"url": "https://netlify-builds2.firebaseio.com/builds/60addd62d113510008f6c8a4/log",
22+
"endpoint": "https://netlify-builds2.firebaseio.com",
23+
"path": "/builds/60addd62d113510008f6c8a4/log",
24+
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjE2MjIwMDgyMzEsImQiOnsidWlkIjoiIn19.1wm-vLWwDw2vuTLmctsan27v1f-bnM-ytIEuC7L6UzY"
2525
},
26-
"title": "[test] Flush scheduled effects before user event returns (#26447)",
27-
"review_url": null,
26+
"title": "[List] extract button from ListItem to ListItemButton",
27+
"review_url": "https://github.com/mui-org/material-ui/pull/26446",
2828
"published_at": null,
29-
"context": "branch-deploy",
30-
"deploy_time": 697,
29+
"context": "deploy-preview",
30+
"deploy_time": 501,
3131
"public": true,
3232
"plugin_state": "success"
3333
}

lib/a11y-snapshot/screen-reader.test.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,27 +242,31 @@ describe("nvda", () => {
242242
await expect(() => page.keyboard.press("Enter"))
243243
.toMatchSpeechInlineSnapshot(`
244244
"dialog"
245-
"Select hours. Selected time is 12:00 AM, list"
246245
"dialog"
247246
"Select hours. Selected time is 12:00 AM, list"
248-
"12 hours, 12 of 12"
249247
`);
250248

251249
await expect(() =>
252250
page.keyboard.press("ArrowUp")
253-
).toMatchSpeechInlineSnapshot(`"1 hours, 1 of 12"`);
251+
).toMatchSpeechInlineSnapshot(`"Select hours. Selected time is 1:00 AM"`);
254252

255253
await expect(() =>
256254
page.keyboard.press("ArrowDown")
257-
).toMatchSpeechInlineSnapshot(`"12 hours, 12 of 12"`);
255+
).toMatchSpeechInlineSnapshot(
256+
`"Select hours. Selected time is 12:00 AM"`
257+
);
258258

259259
await expect(() =>
260260
page.keyboard.press("End")
261-
).toMatchSpeechInlineSnapshot(`"11 hours, 11 of 12"`);
261+
).toMatchSpeechInlineSnapshot(
262+
`"Select hours. Selected time is 11:00 AM"`
263+
);
262264

263265
await expect(() =>
264266
page.keyboard.press("Home")
265-
).toMatchSpeechInlineSnapshot(`"12 hours, 12 of 12"`);
267+
).toMatchSpeechInlineSnapshot(
268+
`"Select hours. Selected time is 12:00 AM"`
269+
);
266270

267271
await expect(() =>
268272
page.keyboard.press("Escape")

0 commit comments

Comments
 (0)