From e03209c7d438886b388dec5c344077bf006950d2 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 4 Feb 2020 17:26:02 +0800 Subject: [PATCH] :white_check_mark: update snapshot close #20779 --- .../__snapshots__/components.test.js.snap | 6 +++++ .../__tests__/__snapshots__/demo.test.js.snap | 24 +++++++++++++++++++ .../__tests__/__snapshots__/demo.test.js.snap | 23 ++++++++++++++++++ .../__snapshots__/index.test.js.snap | 1 + .../__snapshots__/Table.filter.test.js.snap | 4 ++++ 5 files changed, 58 insertions(+) diff --git a/components/config-provider/__tests__/__snapshots__/components.test.js.snap b/components/config-provider/__tests__/__snapshots__/components.test.js.snap index 4558dd8d2a..02116aff49 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.js.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.js.snap @@ -7511,6 +7511,7 @@ exports[`ConfigProvider components Menu configProvider 1`] = ` aria-haspopup="true" aria-owns="bamboo$Menu" class="config-menu-submenu-title" + role="button" style="padding-left:24px" title="bamboo" > @@ -7564,6 +7565,7 @@ exports[`ConfigProvider components Menu normal 1`] = ` aria-haspopup="true" aria-owns="bamboo$Menu" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" title="bamboo" > @@ -7617,6 +7619,7 @@ exports[`ConfigProvider components Menu prefixCls 1`] = ` aria-haspopup="true" aria-owns="bamboo$Menu" class="prefix-Menu-submenu-title" + role="button" style="padding-left:24px" title="bamboo" > @@ -11423,6 +11426,7 @@ exports[`ConfigProvider components Table configProvider 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-dropdown-menu-submenu-title" + role="button" title="Submenu" > Submenu @@ -11759,6 +11763,7 @@ exports[`ConfigProvider components Table normal 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-dropdown-menu-submenu-title" + role="button" title="Submenu" > Submenu @@ -12095,6 +12100,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-dropdown-menu-submenu-title" + role="button" title="Submenu" > Submenu diff --git a/components/layout/__tests__/__snapshots__/demo.test.js.snap b/components/layout/__tests__/__snapshots__/demo.test.js.snap index 330d7a4db9..7566c21210 100644 --- a/components/layout/__tests__/__snapshots__/demo.test.js.snap +++ b/components/layout/__tests__/__snapshots__/demo.test.js.snap @@ -295,6 +295,7 @@ exports[`renders ./components/layout/demo/fixed.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -319,6 +320,7 @@ exports[`renders ./components/layout/demo/fixed.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -343,6 +345,7 @@ exports[`renders ./components/layout/demo/fixed.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -367,6 +370,7 @@ exports[`renders ./components/layout/demo/fixed.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1089,6 +1093,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -1130,6 +1135,7 @@ exports[`renders ./components/layout/demo/side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -1298,6 +1304,7 @@ exports[`renders ./components/layout/demo/top.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1322,6 +1329,7 @@ exports[`renders ./components/layout/demo/top.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1346,6 +1354,7 @@ exports[`renders ./components/layout/demo/top.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1370,6 +1379,7 @@ exports[`renders ./components/layout/demo/top.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1465,6 +1475,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1489,6 +1500,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1513,6 +1525,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1537,6 +1550,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1618,6 +1632,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-haspopup="true" aria-owns="sub1$Menu" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -1690,6 +1705,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -1729,6 +1745,7 @@ exports[`renders ./components/layout/demo/top-side.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -1804,6 +1821,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1828,6 +1846,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1852,6 +1871,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1876,6 +1896,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -1911,6 +1932,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-haspopup="true" aria-owns="sub1$Menu" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -1983,6 +2005,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > @@ -2022,6 +2045,7 @@ exports[`renders ./components/layout/demo/top-side-2.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" style="padding-left:24px" > diff --git a/components/menu/__tests__/__snapshots__/demo.test.js.snap b/components/menu/__tests__/__snapshots__/demo.test.js.snap index 7661dba0c0..f32a460b4b 100644 --- a/components/menu/__tests__/__snapshots__/demo.test.js.snap +++ b/components/menu/__tests__/__snapshots__/demo.test.js.snap @@ -14,6 +14,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -58,6 +59,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -103,6 +105,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" > ··· @@ -120,6 +123,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = ` aria-expanded="false" aria-haspopup="true" class="ant-menu-submenu-title" + role="button" >