From a2e74a77e3323b2ad5f9032d6a01d12a69fbfe6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 9 Nov 2023 09:03:36 +0000 Subject: [PATCH] fix(tests): update snapshots --- ...rtGroupCollapseConfiguration.test.tsx.snap | 2 ++ .../AlertGroupSortConfiguration.test.tsx.snap | 2 ++ .../MultiGridConfiguration.test.tsx.snap | 2 ++ .../ThemeConfiguration.test.tsx.snap | 2 ++ .../__snapshots__/index.test.tsx.snap | 8 +++++++ .../MainModalContent.test.tsx.snap | 8 +++++++ .../__snapshots__/index.test.tsx.snap | 2 ++ .../LabelNameInput.test.tsx.snap | 2 ++ .../LabelValueInput.test.tsx.snap | 4 ++++ .../__snapshots__/ReactSelect.test.tsx.snap | 24 +++++++++++++++++-- 10 files changed, 54 insertions(+), 2 deletions(-) diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.tsx.snap index d9b99c222..10fd96167 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.tsx.snap @@ -13,6 +13,7 @@ exports[` matches snapshot with default value aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -39,6 +40,7 @@ exports[` matches snapshot with default value aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.tsx.snap index 189a61065..1aae7ddbe 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.tsx.snap @@ -15,6 +15,7 @@ exports[` matches snapshot with default values 1` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -41,6 +42,7 @@ exports[` matches snapshot with default values 1` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.tsx.snap index 3d69a86bc..25b154daf 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.tsx.snap @@ -15,6 +15,7 @@ exports[` matches snapshot with default values 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -41,6 +42,7 @@ exports[` matches snapshot with default values 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.tsx.snap index f06f6f826..475e743ac 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.tsx.snap @@ -13,6 +13,7 @@ exports[` matches snapshot with default values 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -39,6 +40,7 @@ exports[` matches snapshot with default values 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap index ad17e71d9..5ecea8521 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap @@ -88,6 +88,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -114,6 +115,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -267,6 +269,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -293,6 +296,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -347,6 +351,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -373,6 +378,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -429,6 +435,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -455,6 +462,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap index fbdc97b44..208613413 100644 --- a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap +++ b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap @@ -105,6 +105,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -131,6 +132,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -284,6 +286,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -310,6 +313,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -364,6 +368,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -390,6 +395,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -446,6 +452,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -472,6 +479,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.tsx.snap b/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.tsx.snap index 18f574827..ba3b8e161 100644 --- a/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.tsx.snap @@ -12,6 +12,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -79,6 +80,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.tsx.snap b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.tsx.snap index ac01b50f3..3c3c71862 100644 --- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.tsx.snap +++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.tsx.snap @@ -12,6 +12,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -38,6 +39,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > diff --git a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.tsx.snap b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.tsx.snap index 10730ee52..5fa000040 100644 --- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.tsx.snap +++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.tsx.snap @@ -12,6 +12,7 @@ exports[` fetches suggestions on mount 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -43,6 +44,7 @@ exports[` fetches suggestions on mount 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant aria-describedby=\\"react-select-silence-input-label-value-2-placeholder\\" value > @@ -85,6 +87,7 @@ exports[` matches snapshot 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -116,6 +119,7 @@ exports[` matches snapshot 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant aria-describedby=\\"react-select-silence-input-label-value-1-placeholder\\" value > diff --git a/ui/src/Components/Theme/__snapshots__/ReactSelect.test.tsx.snap b/ui/src/Components/Theme/__snapshots__/ReactSelect.test.tsx.snap index 369895047..a389bd429 100644 --- a/ui/src/Components/Theme/__snapshots__/ReactSelect.test.tsx.snap +++ b/ui/src/Components/Theme/__snapshots__/ReactSelect.test.tsx.snap @@ -10,7 +10,11 @@ exports[` matches snapshot when focused 1`] = ` option , selected. - + + + + + Select is focused ,type to refine list, press Down to open the menu, @@ -18,6 +22,7 @@ exports[` matches snapshot when focused 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -47,6 +52,7 @@ exports[` matches snapshot when focused 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant aria-describedby=\\"react-select-3-placeholder\\" value > @@ -87,7 +93,11 @@ exports[` matches snapshot when focused and disabled option , selected. - + + + + + Select is focused ,type to refine list, press Down to open the menu, @@ -95,6 +105,7 @@ exports[` matches snapshot when focused and disabled aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -128,6 +139,7 @@ exports[` matches snapshot when focused and disabled aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant aria-describedby=\\"react-select-4-placeholder\\" value > @@ -170,6 +182,7 @@ exports[` matches snapshot with a value 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -196,6 +209,7 @@ exports[` matches snapshot with a value 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -237,6 +251,7 @@ exports[` matches snapshot with isDisabled=true 1`] aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -267,6 +282,7 @@ exports[` matches snapshot with isDisabled=true 1`] aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value > @@ -308,6 +324,7 @@ exports[` matches snapshot with isMulti=true 1`] = ` aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -337,6 +354,7 @@ exports[` matches snapshot with isMulti=true 1`] = ` aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant aria-describedby=\\"react-select-2-placeholder\\" value > @@ -379,6 +397,7 @@ exports[` matches snapshot with isMulti=true and a v aria-live=\\"polite\\" aria-atomic=\\"false\\" aria-relevant=\\"additions text\\" + role=\\"log\\" class=\\"css-1f43avz-a11yText-A11yText\\" > @@ -424,6 +443,7 @@ exports[` matches snapshot with isMulti=true and a v aria-expanded=\\"false\\" aria-haspopup=\\"true\\" role=\\"combobox\\" + aria-activedescendant value >