Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Update copy (#63823)

Kamil Mielnik8de8d13eb635
diff --git a/e2e/test/scenarios/sharing/alert/alert-types.cy.spec.js b/e2e/test/scenarios/sharing/alert/alert-types.cy.spec.js
index abbd9e05f4c..9199fba8d36 100644
--- a/e2e/test/scenarios/sharing/alert/alert-types.cy.spec.js
+++ b/e2e/test/scenarios/sharing/alert/alert-types.cy.spec.js
@@ -96,14 +96,9 @@ describe("scenarios > alert > types", { tags: "@external" }, () => {
H.modal().findByTestId("alert-goal-select").should("be.enabled").click();
H.popover().within(() => {
- cy.findByText("When results go above the goal line").should(
- "be.visible",
- );
- cy.findByText("When results go below the goal line").should(
- "be.visible",
- );
-
- cy.findByText("When results go above the goal line").click();
+ cy.findByText("When results go above the goal").should("be.visible");
+ cy.findByText("When results go below the goal").should("be.visible");
+ cy.findByText("When results go above the goal").click();
});
H.modal().within(() => {
diff --git a/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx b/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx
index 0acccb44049..c2500377f7c 100644
--- a/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx
+++ b/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx
@@ -71,13 +71,13 @@ const ALERT_TRIGGER_OPTIONS_MAP: Record<
goal_above: {
value: "goal_above" as const,
get label() {
- return t`When results go above the goal line`;
+ return t`When results go above the goal`;
},
},
goal_below: {
value: "goal_below" as const,
get label() {
- return t`When results go below the goal line`;
+ return t`When results go below the goal`;
},
},
};