Skip to content

Commit

Permalink
Update snapshots for next (#2420)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <action@github.com>
  • Loading branch information
github-actions[bot] and actions-user committed May 25, 2021
1 parent 3ec3544 commit df9d651
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
24 changes: 12 additions & 12 deletions lib/a11y-snapshot/deploy.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"id": "60ab9484dbd14d0007fa88e5",
"id": "60ace37930e1530008ee81ae",
"site_id": "64f32322-7c26-4008-b886-60800cd747b0",
"build_id": "60ab9484dbd14d0007fa88e3",
"build_id": "60ace37930e1530008ee81ac",
"state": "ready",
"name": "material-ui",
"url": "http://material-ui.netlify.app",
"admin_url": "https://app.netlify.com/sites/material-ui",
"deploy_url": "http://next--material-ui.netlify.app",
"deploy_ssl_url": "https://next--material-ui.netlify.app",
"created_at": "2021-05-24T11:56:52.845Z",
"updated_at": "2021-05-24T12:08:26.175Z",
"commit_ref": "93af82cd21780ecfa3639ac1efae75803ad96c6a",
"created_at": "2021-05-25T11:46:01.666Z",
"updated_at": "2021-05-25T12:08:38.048Z",
"commit_ref": "bb0bbe22d77dabe69cd6cd64971158aaa70068c4",
"review_id": null,
"skipped": null,
"locked": null,
"branch": "next",
"commit_url": "https://github.com/mui-org/material-ui/commit/93af82cd21780ecfa3639ac1efae75803ad96c6a",
"commit_url": "https://github.com/mui-org/material-ui/commit/bb0bbe22d77dabe69cd6cd64971158aaa70068c4",
"log_access_attributes": {
"type": "firebase",
"url": "https://netlify-builds5.firebaseio.com/builds/60ab9484dbd14d0007fa88e3/log",
"endpoint": "https://netlify-builds5.firebaseio.com",
"path": "/builds/60ab9484dbd14d0007fa88e3/log",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjE2MjE4NjA2MTcsImQiOnsidWlkIjoiIn19.IjK6i6FBHZj3wwnYMQs1ayVu5-OtMr8o-A5qxWN2FSk"
"url": "https://netlify-builds1.firebaseio.com/builds/60ace37930e1530008ee81ac/log",
"endpoint": "https://netlify-builds1.firebaseio.com",
"path": "/builds/60ace37930e1530008ee81ac/log",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjE2MjE5NDcwMDQsImQiOnsidWlkIjoiIn19._ziNReuE4SoEklqDRiK7YG2D_SAkVN0YZM6uDNVEXCw"
},
"title": "[core] Batch small changes (#26434)",
"title": "[test] Flush scheduled effects before user event returns (#26447)",
"review_url": null,
"published_at": null,
"context": "branch-deploy",
"deploy_time": 684,
"deploy_time": 697,
"public": true,
"plugin_state": "success"
}
16 changes: 6 additions & 10 deletions lib/a11y-snapshot/screen-reader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,31 +242,27 @@ describe("nvda", () => {
await expect(() => page.keyboard.press("Enter"))
.toMatchSpeechInlineSnapshot(`
"dialog"
"Select hours. Selected time is 12:00 AM, list"
"dialog"
"Select hours. Selected time is 12:00 AM, list"
"12 hours, 12 of 12"
`);

await expect(() =>
page.keyboard.press("ArrowUp")
).toMatchSpeechInlineSnapshot(`"Select hours. Selected time is 1:00 AM"`);
).toMatchSpeechInlineSnapshot(`"1 hours, 1 of 12"`);

await expect(() =>
page.keyboard.press("ArrowDown")
).toMatchSpeechInlineSnapshot(
`"Select hours. Selected time is 12:00 AM"`
);
).toMatchSpeechInlineSnapshot(`"12 hours, 12 of 12"`);

await expect(() =>
page.keyboard.press("End")
).toMatchSpeechInlineSnapshot(
`"Select hours. Selected time is 11:00 AM"`
);
).toMatchSpeechInlineSnapshot(`"11 hours, 11 of 12"`);

await expect(() =>
page.keyboard.press("Home")
).toMatchSpeechInlineSnapshot(
`"Select hours. Selected time is 12:00 AM"`
);
).toMatchSpeechInlineSnapshot(`"12 hours, 12 of 12"`);

await expect(() =>
page.keyboard.press("Escape")
Expand Down

0 comments on commit df9d651

Please sign in to comment.