From f9e6e864476fc428e6ac1193118871dc6edc31a8 Mon Sep 17 00:00:00 2001 From: Greg Thompson <thompson.glowe@gmail.com> Date: Wed, 23 Oct 2019 14:33:52 -0500 Subject: [PATCH] snapshot updates --- .../__test__/__snapshots__/List.test.tsx.snap | 167 ++++++++++++++++-- .../ServiceOverview.test.tsx.snap | 8 +- .../__snapshots__/file_tree.test.tsx.snap | 12 -- .../__snapshots__/symbol_tree.test.tsx.snap | 12 -- .../report_listing.test.tsx.snap | 50 ++++++ 5 files changed, 209 insertions(+), 40 deletions(-) diff --git a/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap index 2689ce8bd9424..521a92f0b320b 100644 --- a/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap +++ b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap @@ -132,7 +132,11 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` data-test-subj="tableHeaderCell_groupId_0" role="columnheader" scope="col" - width="96px" + style={ + Object { + "width": "96px", + } + } > <div className="euiTableCellContent" @@ -149,7 +153,11 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` data-test-subj="tableHeaderCell_message_1" role="columnheader" scope="col" - width="50%" + style={ + Object { + "width": "50%", + } + } > <div className="euiTableCellContent" @@ -166,6 +174,11 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` data-test-subj="tableHeaderCell_handled_2" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight" @@ -182,6 +195,11 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` data-test-subj="tableHeaderCell_occurrenceCount_3" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <button className="euiTableHeaderButton" @@ -212,6 +230,11 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` data-test-subj="tableHeaderCell_latestOccurrenceAt_4" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <button className="euiTableHeaderButton euiTableHeaderButton-isSorted" @@ -254,6 +277,11 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` <td className="euiTableRowCell euiTableRowCell--isMobileFullWidth" colSpan={5} + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignCenter" @@ -483,7 +511,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` data-test-subj="tableHeaderCell_groupId_0" role="columnheader" scope="col" - width="96px" + style={ + Object { + "width": "96px", + } + } > <div className="euiTableCellContent" @@ -500,7 +532,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` data-test-subj="tableHeaderCell_message_1" role="columnheader" scope="col" - width="50%" + style={ + Object { + "width": "50%", + } + } > <div className="euiTableCellContent" @@ -517,6 +553,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` data-test-subj="tableHeaderCell_handled_2" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight" @@ -533,6 +574,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` data-test-subj="tableHeaderCell_occurrenceCount_3" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <button className="euiTableHeaderButton" @@ -563,6 +609,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` data-test-subj="tableHeaderCell_latestOccurrenceAt_4" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <button className="euiTableHeaderButton euiTableHeaderButton-isSorted" @@ -604,7 +655,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > <td className="euiTableRowCell" - width="96px" + style={ + Object { + "width": "96px", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -630,7 +685,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" - width="50%" + style={ + Object { + "width": "50%", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -684,6 +743,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight euiTableCellContent--overflowingContent" @@ -691,6 +755,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -705,6 +774,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -723,7 +797,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > <td className="euiTableRowCell" - width="96px" + style={ + Object { + "width": "96px", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -749,7 +827,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" - width="50%" + style={ + Object { + "width": "50%", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -803,6 +885,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight euiTableCellContent--overflowingContent" @@ -810,6 +897,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -824,6 +916,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -842,7 +939,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > <td className="euiTableRowCell" - width="96px" + style={ + Object { + "width": "96px", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -868,7 +969,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" - width="50%" + style={ + Object { + "width": "50%", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -922,6 +1027,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight euiTableCellContent--overflowingContent" @@ -929,6 +1039,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -943,6 +1058,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -961,7 +1081,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > <td className="euiTableRowCell" - width="96px" + style={ + Object { + "width": "96px", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -987,7 +1111,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" - width="50%" + style={ + Object { + "width": "50%", + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -1041,6 +1169,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight euiTableCellContent--overflowingContent" @@ -1048,6 +1181,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -1062,6 +1200,11 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` </td> <td className="euiTableRowCell" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" diff --git a/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap index 573278c407389..6dcb9140a8bb9 100644 --- a/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap +++ b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap @@ -143,7 +143,7 @@ NodeList [ > <td class="euiTableRowCell" - width="40%" + style="width: 40%;" > <div class="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -168,7 +168,7 @@ NodeList [ </td> <td class="euiTableRowCell" - width="20%" + style="width: 20%;" > <div class="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -241,7 +241,7 @@ NodeList [ > <td class="euiTableRowCell" - width="40%" + style="width: 40%;" > <div class="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" @@ -266,7 +266,7 @@ NodeList [ </td> <td class="euiTableRowCell" - width="20%" + style="width: 20%;" > <div class="euiTableRowCell__mobileHeader euiTableRowCell--hideForDesktop" diff --git a/x-pack/legacy/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap index f06c4234d2892..3b6b2e9a53c26 100644 --- a/x-pack/legacy/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap +++ b/x-pack/legacy/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap @@ -28,23 +28,11 @@ exports[`render correctly 1`] = ` </button> <div className="euiSideNav__content" - role="menubar" > <div className="euiSideNavItem euiSideNavItem--root euiSideNavItem--hasChildItems" > <div - aria-label={ - <span - className="euiSideNavItemButton__content" - > - <span - className="euiSideNavItemButton__label" - > - - </span> - </span> - } className="euiSideNavItemButton" > <span diff --git a/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap index 975e1df6777d8..f4aa58466e737 100644 --- a/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap +++ b/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap @@ -31,23 +31,11 @@ exports[`render symbol tree correctly 1`] = ` </button> <div className="euiSideNav__content" - role="menubar" > <div className="euiSideNavItem euiSideNavItem--root euiSideNavItem--hasChildItems" > <div - aria-label={ - <span - className="euiSideNavItemButton__content" - > - <span - className="euiSideNavItemButton__label" - > - - </span> - </span> - } className="euiSideNavItemButton" > <span diff --git a/x-pack/legacy/plugins/reporting/public/components/__snapshots__/report_listing.test.tsx.snap b/x-pack/legacy/plugins/reporting/public/components/__snapshots__/report_listing.test.tsx.snap index 4e861a5b8d1d5..3a8d2bc13249e 100644 --- a/x-pack/legacy/plugins/reporting/public/components/__snapshots__/report_listing.test.tsx.snap +++ b/x-pack/legacy/plugins/reporting/public/components/__snapshots__/report_listing.test.tsx.snap @@ -112,6 +112,11 @@ Array [ data-test-subj="tableHeaderCell_object_title_0" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent" @@ -134,6 +139,11 @@ Array [ data-test-subj="tableHeaderCell_created_at_1" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent" @@ -156,6 +166,11 @@ Array [ data-test-subj="tableHeaderCell_status_2" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent" @@ -176,6 +191,11 @@ Array [ className="euiTableHeaderCell" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight" @@ -205,6 +225,11 @@ Array [ <td className="euiTableRowCell euiTableRowCell--isMobileFullWidth" colSpan={4} + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignCenter" @@ -362,6 +387,11 @@ Array [ data-test-subj="tableHeaderCell_object_title_0" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent" @@ -384,6 +414,11 @@ Array [ data-test-subj="tableHeaderCell_created_at_1" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent" @@ -406,6 +441,11 @@ Array [ data-test-subj="tableHeaderCell_status_2" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent" @@ -426,6 +466,11 @@ Array [ className="euiTableHeaderCell" role="columnheader" scope="col" + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignRight" @@ -455,6 +500,11 @@ Array [ <td className="euiTableRowCell euiTableRowCell--isMobileFullWidth" colSpan={4} + style={ + Object { + "width": undefined, + } + } > <div className="euiTableCellContent euiTableCellContent--alignCenter"