From 7b4aef27b669f3e6af54cd2ebd460299bd5271fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 19 Oct 2021 18:09:30 +0100 Subject: [PATCH] fix(tests): reformat snapshots --- .../__snapshots__/index.test.tsx.snap | 15 +- .../__snapshots__/index.test.tsx.snap | 350 +++-- .../Alert/__snapshots__/index.test.tsx.snap | 230 +-- .../__snapshots__/index.test.tsx.snap | 75 +- .../__snapshots__/index.test.tsx.snap | 196 +-- .../__snapshots__/Silences.test.tsx.snap | 46 +- .../__snapshots__/index.test.tsx.snap | 22 +- .../__snapshots__/index.test.tsx.snap | 22 +- .../__snapshots__/index.test.tsx.snap | 44 +- .../__snapshots__/index.test.tsx.snap | 44 +- .../__snapshots__/index.test.tsx.snap | 76 +- ...rtGroupCollapseConfiguration.test.tsx.snap | 53 +- .../AlertGroupConfiguration.test.tsx.snap | 22 +- .../AlertGroupSortConfiguration.test.tsx.snap | 53 +- .../AlertGroupTitleBarColor.test.tsx.snap | 12 +- ...AlertGroupWidthConfiguration.test.tsx.snap | 22 +- .../AnimationsConfiguration.test.tsx.snap | 14 +- .../FetchConfiguration.test.tsx.snap | 22 +- .../FilterBarConfiguration.test.tsx.snap | 14 +- .../MultiGridConfiguration.test.tsx.snap | 65 +- .../ThemeConfiguration.test.tsx.snap | 53 +- .../__snapshots__/index.test.tsx.snap | 370 +++-- .../__snapshots__/Help.test.tsx.snap | 59 +- .../MainModalContent.test.tsx.snap | 375 +++-- .../SilenceComment.test.tsx.snap | 210 +-- .../__snapshots__/index.test.tsx.snap | 317 ++-- .../__snapshots__/index.test.tsx.snap | 270 ++-- .../OverviewModalContent.test.tsx.snap | 344 +++-- .../__snapshots__/index.test.tsx.snap | 97 +- .../__snapshots__/index.test.tsx.snap | 1362 +++++++++-------- .../__snapshots__/index.test.tsx.snap | 50 +- .../LabelNameInput.test.tsx.snap | 53 +- .../LabelValueInput.test.tsx.snap | 106 +- .../__snapshots__/MatchCounter.test.tsx.snap | 7 +- .../__snapshots__/index.test.tsx.snap | 133 +- .../SilenceModalContent.test.tsx.snap | 32 +- .../__snapshots__/ReactSelect.test.tsx.snap | 353 +++-- .../__snapshots__/AppToasts.test.tsx.snap | 269 ++-- .../__snapshots__/ToastMessages.test.tsx.snap | 39 +- .../__snapshots__/index.test.tsx.snap | 48 +- .../__snapshots__/index.test.tsx.snap | 22 +- .../__snapshots__/ErrorBoundary.test.tsx.snap | 40 +- 42 files changed, 3315 insertions(+), 2691 deletions(-) diff --git a/ui/src/Components/Accordion/__snapshots__/index.test.tsx.snap b/ui/src/Components/Accordion/__snapshots__/index.test.tsx.snap index c7fb20db4..98123d8ab 100644 --- a/ui/src/Components/Accordion/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Accordion/__snapshots__/index.test.tsx.snap @@ -5,8 +5,9 @@ exports[` matches snapshot 1`] = `

- @@ -16,8 +17,9 @@ exports[` matches snapshot 1`] = `

- @@ -30,8 +32,9 @@ exports[` matches snapshot 1`] = `

- diff --git a/ui/src/Components/AlertHistory/__snapshots__/index.test.tsx.snap b/ui/src/Components/AlertHistory/__snapshots__/index.test.tsx.snap index df2bb416f..2cc6cc381 100644 --- a/ui/src/Components/AlertHistory/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/AlertHistory/__snapshots__/index.test.tsx.snap @@ -6,9 +6,10 @@ exports[` handles fetch errors 1`] = `
- @@ -24,9 +25,10 @@ exports[` handles reponses with errors 1`] = `
- @@ -41,170 +43,194 @@ exports[` matches snapshot with empty response 1`] = `
- - - - - - - - - - - - - - - - - - - - - - - - @@ -218,170 +244,194 @@ exports[` matches snapshot with rainbow response 1`] = `
- - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap index 60c224b4f..6e85727aa 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap @@ -7,17 +7,19 @@ exports[` matches snapshot when inhibited 1`] = `
- - @@ -34,17 +36,19 @@ exports[` matches snapshot when inhibited 1`] = `
- - @@ -53,21 +57,24 @@ exports[` matches snapshot when inhibited 1`] = `
- - - @@ -76,17 +83,19 @@ exports[` matches snapshot when inhibited 1`] = `
- - @@ -112,22 +121,25 @@ exports[` matches snapshot when inhibited 1`] = `
- - - @@ -144,17 +156,19 @@ exports[` matches snapshot with showAlertmanagers=false showReceiver=fa
- - @@ -171,17 +185,19 @@ exports[` matches snapshot with showAlertmanagers=false showReceiver=fa
- - @@ -190,21 +206,24 @@ exports[` matches snapshot with showAlertmanagers=false showReceiver=fa
- - - @@ -231,22 +250,25 @@ exports[` matches snapshot with showAlertmanagers=false showReceiver=fa
-
- - diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.tsx.snap index fb7f97618..a7c893a5c 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.tsx.snap @@ -2,22 +2,25 @@ exports[` matches snapshot 1`] = ` " - - - @@ -30,17 +33,19 @@ exports[` matches snapshot when visible=false 1`] = ` "
- - @@ -55,17 +60,19 @@ exports[` matches snapshot when visible=true 1`] = `
- - diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupFooter/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupFooter/__snapshots__/index.test.tsx.snap index b6956751c..05ea20c11 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupFooter/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupFooter/__snapshots__/index.test.tsx.snap @@ -7,17 +7,19 @@ exports[` matches snapshot 1`] = `
- - @@ -34,17 +36,19 @@ exports[` matches snapshot 1`] = `
- - @@ -92,22 +96,25 @@ exports[` matches snapshot 1`] = `
-
- - @@ -124,17 +131,19 @@ exports[` mathes snapshot when silence is rendered 1`] = `
- - @@ -151,17 +160,19 @@ exports[` mathes snapshot when silence is rendered 1`] = `
- - @@ -209,22 +220,25 @@ exports[` mathes snapshot when silence is rendered 1`] = `
-
- - @@ -235,17 +249,19 @@ exports[` mathes snapshot when silence is rendered 1`] = `
- - @@ -266,18 +282,20 @@ exports[` mathes snapshot when silence is rendered 1`] = `
- - diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/__snapshots__/Silences.test.tsx.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/__snapshots__/Silences.test.tsx.snap index f4b11f5b2..04c2012f7 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/__snapshots__/Silences.test.tsx.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/__snapshots__/Silences.test.tsx.snap @@ -6,17 +6,19 @@ exports[` renders ManagedSilence if silence is present in Alert
- - @@ -37,18 +39,20 @@ exports[` renders ManagedSilence if silence is present in Alert
- - diff --git a/ui/src/Components/Grid/EmptyGrid/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/EmptyGrid/__snapshots__/index.test.tsx.snap index 83c5063f8..c41cc4589 100644 --- a/ui/src/Components/Grid/EmptyGrid/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/EmptyGrid/__snapshots__/index.test.tsx.snap @@ -3,17 +3,19 @@ exports[` matches snapshot 1`] = ` "

- - diff --git a/ui/src/Components/Grid/FatalError/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/FatalError/__snapshots__/index.test.tsx.snap index ff7b85610..80184d2a0 100644 --- a/ui/src/Components/Grid/FatalError/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/FatalError/__snapshots__/index.test.tsx.snap @@ -4,17 +4,19 @@ exports[` matches snapshot 1`] = ` "

- - diff --git a/ui/src/Components/Grid/ReloadNeeded/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/ReloadNeeded/__snapshots__/index.test.tsx.snap index 8fa22c9e2..e6642c874 100644 --- a/ui/src/Components/Grid/ReloadNeeded/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/ReloadNeeded/__snapshots__/index.test.tsx.snap @@ -4,32 +4,36 @@ exports[` matches snapshot 1`] = ` "

- -

- - diff --git a/ui/src/Components/Grid/UpgradeNeeded/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/UpgradeNeeded/__snapshots__/index.test.tsx.snap index a702ac40d..3b2e01100 100644 --- a/ui/src/Components/Grid/UpgradeNeeded/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/UpgradeNeeded/__snapshots__/index.test.tsx.snap @@ -5,33 +5,37 @@ exports[` matches snapshot 1`] = `

- -

- - diff --git a/ui/src/Components/Labels/LabelWithPercent/__snapshots__/index.test.tsx.snap b/ui/src/Components/Labels/LabelWithPercent/__snapshots__/index.test.tsx.snap index 2c9c9ae3e..f1e07b125 100644 --- a/ui/src/Components/Labels/LabelWithPercent/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Labels/LabelWithPercent/__snapshots__/index.test.tsx.snap @@ -15,29 +15,32 @@ exports[` matches snapshot with isActive=true 1`] = ` bar - -

-
@@ -62,12 +65,13 @@ exports[` matches snapshot with offset=0 1`] = `
-
@@ -92,20 +96,22 @@ exports[` matches snapshot with offset=25 1`] = `
-
-
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 fb95bbdbb..499f6a81e 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupCollapseConfiguration.test.tsx.snap @@ -4,10 +4,11 @@ exports[` matches snapshot with default value "
-
@@ -16,19 +17,21 @@ exports[` matches snapshot with default value Collapse on mobile
-
-
@@ -38,15 +41,17 @@ exports[` matches snapshot with default value
-
- diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap index 4ba19d359..41baf72c4 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupConfiguration.test.tsx.snap @@ -3,17 +3,19 @@ exports[` matches snapshot with default values 1`] = ` "
-
-
5
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 9b6f17ddf..f7da31413 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupSortConfiguration.test.tsx.snap @@ -6,10 +6,11 @@ exports[` matches snapshot with default values 1`
-
@@ -18,19 +19,21 @@ exports[` matches snapshot with default values 1` Use defaults from karma config file
-
-
@@ -40,15 +43,17 @@ exports[` matches snapshot with default values 1`
-
- diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupTitleBarColor.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupTitleBarColor.test.tsx.snap index 8ca5ea3f5..8eeb44e67 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupTitleBarColor.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupTitleBarColor.test.tsx.snap @@ -5,12 +5,14 @@ exports[` matches snapshot with default values 1`] =
- - diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupWidthConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupWidthConfiguration.test.tsx.snap index e8072f663..13e0dd305 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupWidthConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AlertGroupWidthConfiguration.test.tsx.snap @@ -3,17 +3,19 @@ exports[` matches snapshot with default values 1`] = ` "
-
-
420
diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/AnimationsConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/AnimationsConfiguration.test.tsx.snap index dd456a19c..7a9d47fdb 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/AnimationsConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/AnimationsConfiguration.test.tsx.snap @@ -5,13 +5,15 @@ exports[` matches snapshot with default values 1`] =
- - diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/FetchConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/FetchConfiguration.test.tsx.snap index 48da34679..79ec0cd0f 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/FetchConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/FetchConfiguration.test.tsx.snap @@ -3,17 +3,19 @@ exports[` matches snapshot with default values 1`] = ` "
-
-
30s
diff --git a/ui/src/Components/MainModal/Configuration/__snapshots__/FilterBarConfiguration.test.tsx.snap b/ui/src/Components/MainModal/Configuration/__snapshots__/FilterBarConfiguration.test.tsx.snap index 56d9ae124..104f532a2 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/FilterBarConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/FilterBarConfiguration.test.tsx.snap @@ -4,13 +4,15 @@ exports[` matches snapshot with default values 1`] = ` "
- - 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 9b3f837f2..7b5904c7d 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/MultiGridConfiguration.test.tsx.snap @@ -6,10 +6,11 @@ exports[` matches snapshot with default values 1`] = `
-
@@ -18,19 +19,21 @@ exports[` matches snapshot with default values 1`] = ` Disable multi-grid
-
-
@@ -40,15 +43,17 @@ exports[` matches snapshot with default values 1`] = `
-
- @@ -60,12 +65,14 @@ exports[` matches snapshot with default values 1`] = `
- - 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 f7151de6a..246fd4069 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/ThemeConfiguration.test.tsx.snap @@ -4,10 +4,11 @@ exports[` matches snapshot with default values 1`] = ` "
-
@@ -16,19 +17,21 @@ exports[` matches snapshot with default values 1`] = ` Automatic theme, follow browser preference
-
-
@@ -38,15 +41,17 @@ exports[` matches snapshot with default values 1`] = `
-
- 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 b3ce95255..631108a4d 100644 --- a/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/MainModal/Configuration/__snapshots__/index.test.tsx.snap @@ -5,8 +5,9 @@ exports[` matches snapshot 1`] = `

- @@ -14,17 +15,19 @@ exports[` matches snapshot 1`] = `
-
-
30s
@@ -35,8 +38,9 @@ exports[` matches snapshot 1`] = `

- @@ -45,13 +49,15 @@ exports[` matches snapshot 1`] = `
- - @@ -62,8 +68,9 @@ exports[` matches snapshot 1`] = `

- @@ -72,10 +79,11 @@ exports[` matches snapshot 1`] = `
-
@@ -84,19 +92,21 @@ exports[` matches snapshot 1`] = ` Automatic theme, follow browser preference
-
-
@@ -106,15 +116,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -127,12 +139,14 @@ exports[` matches snapshot 1`] = `
- - @@ -142,13 +156,15 @@ exports[` matches snapshot 1`] = `
- - @@ -160,8 +176,9 @@ exports[` matches snapshot 1`] = `

- @@ -169,17 +186,19 @@ exports[` matches snapshot 1`] = `
-
-
420
@@ -190,8 +209,9 @@ exports[` matches snapshot 1`] = `

- @@ -199,17 +219,19 @@ exports[` matches snapshot 1`] = `
-
-
5
@@ -220,8 +242,9 @@ exports[` matches snapshot 1`] = `

- @@ -230,10 +253,11 @@ exports[` matches snapshot 1`] = `
-
@@ -242,19 +266,21 @@ exports[` matches snapshot 1`] = ` Collapse on mobile
-
-
@@ -264,15 +290,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -287,8 +315,9 @@ exports[` matches snapshot 1`] = `

- @@ -299,10 +328,11 @@ exports[` matches snapshot 1`] = `
-
@@ -311,19 +341,21 @@ exports[` matches snapshot 1`] = ` Use defaults from karma config file
-
-
@@ -333,15 +365,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -358,8 +392,9 @@ exports[` matches snapshot 1`] = `

- @@ -370,10 +405,11 @@ exports[` matches snapshot 1`] = `
-
@@ -382,19 +418,21 @@ exports[` matches snapshot 1`] = ` Disable multi-grid
-
-
@@ -404,15 +442,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -424,12 +464,14 @@ exports[` matches snapshot 1`] = `
- - diff --git a/ui/src/Components/MainModal/__snapshots__/Help.test.tsx.snap b/ui/src/Components/MainModal/__snapshots__/Help.test.tsx.snap index 65f2f3d40..c08beae4e 100644 --- a/ui/src/Components/MainModal/__snapshots__/Help.test.tsx.snap +++ b/ui/src/Components/MainModal/__snapshots__/Help.test.tsx.snap @@ -5,8 +5,9 @@ exports[` matches snapshot 1`] = `

- @@ -146,8 +147,9 @@ exports[` matches snapshot 1`] = `

- @@ -318,8 +320,9 @@ exports[` matches snapshot 1`] = `

- @@ -760,17 +763,19 @@ exports[` matches snapshot 1`] = `

- - @@ -835,17 +840,19 @@ exports[` matches snapshot 1`] = `
- - diff --git a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap index 4842e8864..a91c5a840 100644 --- a/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap +++ b/ui/src/Components/MainModal/__snapshots__/MainModalContent.test.tsx.snap @@ -11,8 +11,9 @@ exports[` matches snapshot 1`] = ` Help - @@ -21,8 +22,9 @@ exports[` matches snapshot 1`] = `

- @@ -30,17 +32,19 @@ exports[` matches snapshot 1`] = `
-
-
30s
@@ -51,8 +55,9 @@ exports[` matches snapshot 1`] = `

- @@ -61,13 +66,15 @@ exports[` matches snapshot 1`] = `
- - @@ -78,8 +85,9 @@ exports[` matches snapshot 1`] = `

- @@ -88,10 +96,11 @@ exports[` matches snapshot 1`] = `
-
@@ -100,19 +109,21 @@ exports[` matches snapshot 1`] = ` Automatic theme, follow browser preference
-
-
@@ -122,15 +133,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -143,12 +156,14 @@ exports[` matches snapshot 1`] = `
- - @@ -158,13 +173,15 @@ exports[` matches snapshot 1`] = `
- - @@ -176,8 +193,9 @@ exports[` matches snapshot 1`] = `

- @@ -185,17 +203,19 @@ exports[` matches snapshot 1`] = `
-
-
420
@@ -206,8 +226,9 @@ exports[` matches snapshot 1`] = `

- @@ -215,17 +236,19 @@ exports[` matches snapshot 1`] = `
-
-
5
@@ -236,8 +259,9 @@ exports[` matches snapshot 1`] = `

- @@ -246,10 +270,11 @@ exports[` matches snapshot 1`] = `
-
@@ -258,19 +283,21 @@ exports[` matches snapshot 1`] = ` Collapse on mobile
-
-
@@ -280,15 +307,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -303,8 +332,9 @@ exports[` matches snapshot 1`] = `

- @@ -315,10 +345,11 @@ exports[` matches snapshot 1`] = `
-
@@ -327,19 +358,21 @@ exports[` matches snapshot 1`] = ` Use defaults from karma config file
-
-
@@ -349,15 +382,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -374,8 +409,9 @@ exports[` matches snapshot 1`] = `

- @@ -386,10 +422,11 @@ exports[` matches snapshot 1`] = `
-
@@ -398,19 +435,21 @@ exports[` matches snapshot 1`] = ` Disable multi-grid
-
-
@@ -420,15 +459,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -440,12 +481,14 @@ exports[` matches snapshot 1`] = `
- - diff --git a/ui/src/Components/ManagedSilence/__snapshots__/SilenceComment.test.tsx.snap b/ui/src/Components/ManagedSilence/__snapshots__/SilenceComment.test.tsx.snap index 417c03982..6dbaab09e 100644 --- a/ui/src/Components/ManagedSilence/__snapshots__/SilenceComment.test.tsx.snap +++ b/ui/src/Components/ManagedSilence/__snapshots__/SilenceComment.test.tsx.snap @@ -4,17 +4,19 @@ exports[` Matches snapshot when collapsed 1`] = ` "
- - @@ -30,12 +32,13 @@ exports[` Matches snapshot when collapsed 1`] = ` Expires in 30 minutes
-
@@ -50,18 +53,20 @@ exports[` Matches snapshot when collapsed 1`] = `
- - @@ -76,17 +81,19 @@ exports[` Matches snapshot when collapsed and multiple cluster "
- - @@ -105,12 +112,13 @@ exports[` Matches snapshot when collapsed and multiple cluster Expires in 30 minutes
-
@@ -125,18 +133,20 @@ exports[` Matches snapshot when collapsed and multiple cluster
- - @@ -151,17 +161,19 @@ exports[` Matches snapshot when expanded 1`] = ` "
- - @@ -184,18 +196,20 @@ exports[` Matches snapshot when expanded 1`] = `
- - @@ -210,17 +224,19 @@ exports[` Matches snapshot when expanded and multiple clusters "
- - @@ -243,18 +259,20 @@ exports[` Matches snapshot when expanded and multiple clusters
- - diff --git a/ui/src/Components/ManagedSilence/__snapshots__/index.test.tsx.snap b/ui/src/Components/ManagedSilence/__snapshots__/index.test.tsx.snap index 4552595fd..bc9cc7345 100644 --- a/ui/src/Components/ManagedSilence/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/ManagedSilence/__snapshots__/index.test.tsx.snap @@ -6,17 +6,19 @@ exports[` matches snapshot when collapsed 1`] = `
- - @@ -32,12 +34,13 @@ exports[` matches snapshot when collapsed 1`] = ` Expires in 30 minutes
-
@@ -52,18 +55,20 @@ exports[` matches snapshot when collapsed 1`] = `
- - @@ -82,17 +87,19 @@ exports[` matches snapshot with expaned details 1`] = `
- - @@ -115,18 +122,20 @@ exports[` matches snapshot with expaned details 1`] = `
- - @@ -141,34 +150,38 @@ exports[` matches snapshot with expaned details 1`] = `
- - Started 30 minutes ago - - @@ -177,17 +190,19 @@ exports[` matches snapshot with expaned details 1`] = `
- - @@ -198,17 +213,19 @@ exports[` matches snapshot with expaned details 1`] = `
- - @@ -217,38 +234,43 @@ exports[` matches snapshot with expaned details 1`] = `
- - View in Alertmanager: - - - @@ -258,25 +280,28 @@ exports[` matches snapshot with expaned details 1`] = `
- - Matchers:
-
regex=~\\"equal\\" @@ -296,34 +321,38 @@ exports[` matches snapshot with expaned details 1`] = `
- -
-
-
-
- - - - - - -
@@ -28,8 +31,9 @@ exports[` matches snapshot with labels to show 1`] = ` foo
@@ -46,12 +50,13 @@ exports[` matches snapshot with labels to show 1`] = `
-
@@ -71,20 +76,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -104,20 +111,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -125,8 +134,9 @@ exports[` matches snapshot with labels to show 1`] = `
@@ -135,8 +145,9 @@ exports[` matches snapshot with labels to show 1`] = ` bar
@@ -153,12 +164,13 @@ exports[` matches snapshot with labels to show 1`] = `
-
@@ -178,20 +190,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -211,20 +225,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -244,20 +260,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -277,20 +295,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -310,20 +330,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -343,20 +365,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -376,20 +400,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -409,20 +435,22 @@ exports[` matches snapshot with labels to show 1`] = `
-
-
@@ -433,8 +461,9 @@ exports[` matches snapshot with labels to show 1`] = `
@@ -443,8 +472,9 @@ exports[` matches snapshot with labels to show 1`] = ` alertname
@@ -461,12 +491,13 @@ exports[` matches snapshot with labels to show 1`] = `
-
@@ -487,8 +518,9 @@ exports[` matches snapshot with no labels to show 1`] =
Overview
-
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 0407b7d44..2c81cc8b4 100644 --- a/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/SilenceModal/AlertManagerInput/__snapshots__/index.test.tsx.snap @@ -3,10 +3,11 @@ exports[` matches snapshot 1`] = ` "
-
@@ -16,12 +17,13 @@ exports[` matches snapshot 1`] = ` Cluster: HA
- @@ -33,12 +35,13 @@ exports[` matches snapshot 1`] = ` am3
- @@ -46,19 +49,21 @@ exports[` matches snapshot 1`] = `
-
-
@@ -66,15 +71,17 @@ exports[` matches snapshot 1`] = `
-
- @@ -82,15 +89,17 @@ exports[` matches snapshot 1`] = `
-
- diff --git a/ui/src/Components/SilenceModal/DateTimeSelect/__snapshots__/index.test.tsx.snap b/ui/src/Components/SilenceModal/DateTimeSelect/__snapshots__/index.test.tsx.snap index 4c71637bf..d69eeeb9c 100644 --- a/ui/src/Components/SilenceModal/DateTimeSelect/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/SilenceModal/DateTimeSelect/__snapshots__/index.test.tsx.snap @@ -42,17 +42,19 @@ exports[` 'Duration' tab matches snapshot 1`] = `
- - @@ -76,17 +78,19 @@ exports[` 'Duration' tab matches snapshot 1`] = `
- - @@ -104,17 +108,19 @@ exports[` 'Duration' tab matches snapshot 1`] = `
- - @@ -138,17 +144,19 @@ exports[` 'Duration' tab matches snapshot 1`] = `
- - @@ -166,17 +174,19 @@ exports[` 'Duration' tab matches snapshot 1`] = `
- - @@ -200,17 +210,19 @@ exports[` 'Duration' tab matches snapshot 1`] = `
- - @@ -264,88 +276,103 @@ exports[` 'Ends' tab matches snapshot 1`] = `
-
-
- -
-
-
February 2061
-
-
-
Su
-
Mo
-
Tu
-
We
-
Th
-
Fr
-
Sa @@ -353,306 +380,347 @@ exports[` 'Ends' tab matches snapshot 1`] = `
-
-
-
-
-
1
-
2
-
3
-
4
-
5
-
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
-
27
-
28
-
-
-
-
-
@@ -660,10 +728,11 @@ exports[` 'Ends' tab matches snapshot 1`] = `
- @@ -677,17 +746,19 @@ exports[` 'Ends' tab matches snapshot 1`] = `
- - @@ -697,17 +768,19 @@ exports[` 'Ends' tab matches snapshot 1`] = ` - - @@ -734,17 +807,19 @@ exports[` 'Ends' tab matches snapshot 1`] = `
- - @@ -754,17 +829,19 @@ exports[` 'Ends' tab matches snapshot 1`] = ` - - @@ -816,88 +893,103 @@ exports[` 'Starts' tab matches snapshot 1`] = `
-
-
- -
-
-
February 2060
-
-
-
Su
-
Mo
-
Tu
-
We
-
Th
-
Fr
-
Sa @@ -905,311 +997,352 @@ exports[` 'Starts' tab matches snapshot 1`] = `
-
-
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
-
29
-
-
-
-
-
-
@@ -1217,10 +1350,11 @@ exports[` 'Starts' tab matches snapshot 1`] = `
- @@ -1234,17 +1368,19 @@ exports[` 'Starts' tab matches snapshot 1`] = `
- - @@ -1254,17 +1390,19 @@ exports[` 'Starts' tab matches snapshot 1`] = ` - - @@ -1291,17 +1429,19 @@ exports[` 'Starts' tab matches snapshot 1`] = `
- - @@ -1311,17 +1451,19 @@ exports[` 'Starts' tab matches snapshot 1`] = ` - - diff --git a/ui/src/Components/SilenceModal/PayloadPreview/__snapshots__/index.test.tsx.snap b/ui/src/Components/SilenceModal/PayloadPreview/__snapshots__/index.test.tsx.snap index 8b7b776d7..2463da741 100644 --- a/ui/src/Components/SilenceModal/PayloadPreview/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/SilenceModal/PayloadPreview/__snapshots__/index.test.tsx.snap @@ -2,65 +2,75 @@ exports[` matches snapshot 1`] = ` " -
   {
   \\"
-  
     matchers
   
   \\": [],
   \\"
-  
     startsAt
   
   \\":
-  
     \\"2000-02-01T00:00:00.000Z\\"
   
   ,
   \\"
-  
     endsAt
   
   \\":
-  
     \\"2000-02-01T01:00:00.000Z\\"
   
   ,
   \\"
-  
     createdBy
   
   \\":
-  
     \\"me@example.com\\"
   
   ,
   \\"
-  
     comment
   
   \\":
-  
     \\"PayloadPreview test\\"
   
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 6d9533ffb..109f91ce5 100644
--- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.tsx.snap
+++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelNameInput.test.tsx.snap
@@ -3,10 +3,11 @@
 exports[` matches snapshot 1`] = `
 "
 
-
@@ -15,19 +16,21 @@ exports[` matches snapshot 1`] = ` cluster
-
-
@@ -37,15 +40,17 @@ exports[` matches snapshot 1`] = `
-
- 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 e9cf5401c..c58a48702 100644 --- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.tsx.snap +++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/LabelValueInput.test.tsx.snap @@ -3,10 +3,11 @@ exports[` fetches suggestions on mount 1`] = ` "
-
@@ -17,19 +18,21 @@ exports[` fetches suggestions on mount 1`] = `
-
-
@@ -39,15 +42,17 @@ exports[` fetches suggestions on mount 1`] = `
-
- @@ -62,10 +67,11 @@ exports[` fetches suggestions on mount 1`] = ` exports[` matches snapshot 1`] = ` "
-
@@ -76,19 +82,21 @@ exports[` matches snapshot 1`] = `
-
-
@@ -98,15 +106,17 @@ exports[` matches snapshot 1`] = `
-
- diff --git a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/MatchCounter.test.tsx.snap b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/MatchCounter.test.tsx.snap index 6e51122e3..267a5e036 100644 --- a/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/MatchCounter.test.tsx.snap +++ b/ui/src/Components/SilenceModal/SilenceMatch/__snapshots__/MatchCounter.test.tsx.snap @@ -3,9 +3,10 @@ exports[` matches snapshot 1`] = ` "
- 25 diff --git a/ui/src/Components/SilenceModal/SilencePreview/__snapshots__/index.test.tsx.snap b/ui/src/Components/SilenceModal/SilencePreview/__snapshots__/index.test.tsx.snap index 69440a95a..af48fd83d 100644 --- a/ui/src/Components/SilenceModal/SilencePreview/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/SilenceModal/SilencePreview/__snapshots__/index.test.tsx.snap @@ -15,66 +15,75 @@ exports[` matches snapshot 1`] = `
- - @@ -24,20 +25,23 @@ exports[` Editor renders SilenceSubmitController when sil
-
-
-
@@ -109,20 +121,23 @@ exports[` renders upstream error toasts for each unhealthy upstream "
  • - - - @@ -133,31 +148,35 @@ exports[` renders upstream error toasts for each unhealthy upstream
    - - - - @@ -176,17 +195,19 @@ exports[` renders upstream error toasts for each unhealthy upstream
    - - @@ -197,31 +218,35 @@ exports[` renders upstream error toasts for each unhealthy upstream
    - - - - @@ -240,17 +265,19 @@ exports[` renders upstream error toasts for each unhealthy upstream
    - - diff --git a/ui/src/Components/Toast/__snapshots__/ToastMessages.test.tsx.snap b/ui/src/Components/Toast/__snapshots__/ToastMessages.test.tsx.snap index 59edebdbb..435334826 100644 --- a/ui/src/Components/Toast/__snapshots__/ToastMessages.test.tsx.snap +++ b/ui/src/Components/Toast/__snapshots__/ToastMessages.test.tsx.snap @@ -29,32 +29,37 @@ exports[` matches snapshot 1`] = `
    -
    -
    -
    diff --git a/ui/src/Components/ToggleIcon/__snapshots__/index.test.tsx.snap b/ui/src/Components/ToggleIcon/__snapshots__/index.test.tsx.snap index f2eb75cd8..2859b9b67 100644 --- a/ui/src/Components/ToggleIcon/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/ToggleIcon/__snapshots__/index.test.tsx.snap @@ -2,18 +2,20 @@ exports[` matches snapshot when closed 1`] = ` " - - @@ -22,18 +24,20 @@ exports[` matches snapshot when closed 1`] = ` exports[` matches snapshot when open 1`] = ` " - - diff --git a/ui/src/Components/ValidationError/__snapshots__/index.test.tsx.snap b/ui/src/Components/ValidationError/__snapshots__/index.test.tsx.snap index e4f938d0e..823ae8fe1 100644 --- a/ui/src/Components/ValidationError/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/ValidationError/__snapshots__/index.test.tsx.snap @@ -3,17 +3,19 @@ exports[` matches snapshot 1`] = ` " - - diff --git a/ui/src/__snapshots__/ErrorBoundary.test.tsx.snap b/ui/src/__snapshots__/ErrorBoundary.test.tsx.snap index f4fbddce0..ab54e8f74 100644 --- a/ui/src/__snapshots__/ErrorBoundary.test.tsx.snap +++ b/ui/src/__snapshots__/ErrorBoundary.test.tsx.snap @@ -5,17 +5,19 @@ exports[` matches snapshot 1`] = `

    - - @@ -28,15 +30,17 @@ exports[` matches snapshot 1`] = `

    This page will auto refresh in 60s - -