From a142a28a6fa742da9adb0b150104a8b7e62df02b Mon Sep 17 00:00:00 2001 From: Zhongnan Su Date: Wed, 17 Jul 2024 19:14:07 +0000 Subject: [PATCH] [Look&Feel] apply missing pattern guidance to Alerting experience Signed-off-by: Zhongnan Su --- cypress/integration/composite_level_monitor_spec.js | 2 +- .../Flyout/flyouts/__snapshots__/flyouts.test.js.snap | 10 +++++----- public/components/Flyout/flyouts/alertsDashboard.js | 10 +++++----- .../components/MonitorActions/MonitorActions.js | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cypress/integration/composite_level_monitor_spec.js b/cypress/integration/composite_level_monitor_spec.js index 104d3332c..dc2c72cf4 100644 --- a/cypress/integration/composite_level_monitor_spec.js +++ b/cypress/integration/composite_level_monitor_spec.js @@ -154,7 +154,7 @@ describe('CompositeLevelMonitor', () => { // Wait for monitor to be created cy.wait('@updateMonitorRequest').then(() => { - cy.get('.euiTitle--small').contains(`${SAMPLE_VISUAL_EDITOR_MONITOR}_edited`); + cy.get('.euiText--small').contains(`${SAMPLE_VISUAL_EDITOR_MONITOR}_edited`); }); }); }); diff --git a/public/components/Flyout/flyouts/__snapshots__/flyouts.test.js.snap b/public/components/Flyout/flyouts/__snapshots__/flyouts.test.js.snap index d3b149913..dfbeae1ce 100644 --- a/public/components/Flyout/flyouts/__snapshots__/flyouts.test.js.snap +++ b/public/components/Flyout/flyouts/__snapshots__/flyouts.test.js.snap @@ -21,15 +21,15 @@ Object { - -

+

Alerts by undefined -

-
+ +
{ @@ -20,13 +20,13 @@ const alertsDashboard = (payload) => { header: ( - -

{`Alerts by ${trigger_name}`}

-
+

{`Alerts by ${trigger_name}`}

+
- +