The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Update the Sample Database by shifting CREATED_AT by three years (#72701)
Nemanja Glumacc16ec07edc56
diff --git a/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx b/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsxindex 9f0867b0b9e..08634e28e99 100644--- a/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx+++ b/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx@@ -254,9 +254,9 @@ describe("scenarios > embedding-sdk > dashboard-click-behavior", () => {cy.wait("@getCard");- cy.findByRole("link", { name: "https://example.org/979" })+ cy.findByRole("link", { name: "https://example.org/3" }).should("have.length", 1)- .should("have.attr", "href", "https://example.org/979");+ .should("have.attr", "href", "https://example.org/3");});it("columns that have 'type/URL' semantic type should open URL via click behavior", () => {@@ -314,11 +314,11 @@ describe("scenarios > embedding-sdk > dashboard-click-behavior", () => {getSdkRoot().within(() => {H.getDashboardCard(0)- .findAllByText("https://example.org/761")+ .findAllByText("https://example.org/2").first().click();- expectClickBehaviorForUrl("https://example.org/761");+ expectClickBehaviorForUrl("https://example.org/2");});});});@@ -360,9 +360,9 @@ describe("scenarios > embedding-sdk > dashboard-click-behavior", () => {mountSdkContent(<EditableDashboard dashboardId={dashboard.id} />);getSdkRoot().within(() => {- H.getDashboardCard(0).findAllByText("Link to 493").first().click();+ H.getDashboardCard(0).findAllByText("Link to 1").first().click();- expectClickBehaviorForUrl("https://example.org/493");+ expectClickBehaviorForUrl("https://example.org/1");});});});@@ -404,9 +404,9 @@ describe("scenarios > embedding-sdk > dashboard-click-behavior", () => {mountSdkContent(<EditableDashboard dashboardId={dashboard.id} />);getSdkRoot().within(() => {- H.getDashboardCard(0).findAllByText("Link to 493").first().click();+ H.getDashboardCard(0).findAllByText("Link to 1").first().click();- expectClickBehaviorForUrl(`${window.location.origin}/test/493`);+ expectClickBehaviorForUrl(`${window.location.origin}/test/1`);});});});diff --git a/e2e/test-component/scenarios/embedding-sdk/editable-dashboard.cy.spec.tsx b/e2e/test-component/scenarios/embedding-sdk/editable-dashboard.cy.spec.tsxindex f094a850f8d..8c36bfe6e0c 100644--- a/e2e/test-component/scenarios/embedding-sdk/editable-dashboard.cy.spec.tsx+++ b/e2e/test-component/scenarios/embedding-sdk/editable-dashboard.cy.spec.tsx@@ -203,7 +203,7 @@ describe("scenarios > embedding-sdk > editable-dashboard", () => {name: "Date filter",slug: "filter-date",type: "date/all-options",- default: "2024-01-01~2024-12-31",+ default: "2027-01-01~2027-12-31",};const CREATED_AT_FIELD_REF: ConcreteFieldReference = ["field",diff --git a/e2e/test/scenarios/actions/actions-reproductions.cy.spec.js b/e2e/test/scenarios/actions/actions-reproductions.cy.spec.jsindex 1d4d9101263..35219902afd 100644--- a/e2e/test/scenarios/actions/actions-reproductions.cy.spec.js+++ b/e2e/test/scenarios/actions/actions-reproductions.cy.spec.js@@ -482,7 +482,7 @@ describe("issue 32840", () => {it("uses correct timestamp when executing implicit update action (metabase#32840)", () => {cy.findAllByTestId("cell-data").eq(8).click();H.modal().within(() => {- cy.findByText("July 19, 2023, 7:44 PM").should("be.visible");+ cy.findByText("July 19, 2026, 7:44 PM").should("be.visible");cy.findByTestId("actions-menu").click();});H.popover().findByText("Update").should("be.visible").click();@@ -491,12 +491,12 @@ describe("issue 32840", () => {.within(() => {cy.findByPlaceholderText("Created At").should("have.value",- "2023-07-19T19:44:56",+ "2026-07-19T19:44:56",);cy.button("Update").scrollIntoView().click();});cy.wait("@executeAction");- H.modal().findByText("July 19, 2023, 7:44 PM").should("be.visible");+ H.modal().findByText("July 19, 2026, 7:44 PM").should("be.visible");});});diff --git a/e2e/test/scenarios/admin-2/settings.cy.spec.js b/e2e/test/scenarios/admin-2/settings.cy.spec.jsindex 9561668f2d5..54be7fb1b68 100644--- a/e2e/test/scenarios/admin-2/settings.cy.spec.js+++ b/e2e/test/scenarios/admin-2/settings.cy.spec.js@@ -174,7 +174,7 @@ describe("scenarios > admin > settings", () => {cy.findByTextEnsureVisible("Created At");cy.get("[data-testid=cell-data]").should("contain", "Created At")- .and("contain", "2025/2/11, 21:40");+ .and("contain", "2028/2/11, 21:40");// Go back to the settings and reset the time formattingcy.visit("/admin/settings/localization");@@ -189,7 +189,7 @@ describe("scenarios > admin > settings", () => {H.openOrdersTable({ limit: 2 });cy.findByTextEnsureVisible("Created At");- cy.get("[data-testid=cell-data]").and("contain", "2025/2/11, 9:40 PM");+ cy.get("[data-testid=cell-data]").and("contain", "2028/2/11, 9:40 PM");});it("should show where to display the unit of currency (metabase#table-metadata-missing-38021 and update the formatting", () => {@@ -696,32 +696,27 @@ describe("scenarios > admin > localization", () => {it("should correctly apply start of the week to a bar chart (metabase#13516)", () => {// programatically create and save a question based on Orders table- // filter: created before June 1st, 2022+ // filter: created before June 1st, 2025// summarize: Count by CreatedAt: Week-- cy.intercept("POST", "/api/card/*/query").as("cardQuery");- H.createQuestion({- name: "Orders created before June 1st 2022",- query: {- "source-table": ORDERS_ID,- aggregation: [["count"]],- breakout: [["field", ORDERS.CREATED_AT, { "temporal-unit": "week" }]],- filter: ["<", ["field", ORDERS.CREATED_AT, null], "2022-06-01"],+ H.createQuestion(+ {+ name: "Orders created before June 1st 2025",+ query: {+ "source-table": ORDERS_ID,+ aggregation: [["count"]],+ breakout: [["field", ORDERS.CREATED_AT, { "temporal-unit": "week" }]],+ filter: ["<", ["field", ORDERS.CREATED_AT, null], "2025-06-01"],+ },+ display: "bar",},- display: "line",- });-- // find and open that question- cy.visit("/collection/root");- // eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Orders created before June 1st 2022").click();-- cy.wait("@cardQuery");+ { visitQuestion: true },+ );cy.log("Assert the dates on the X axis");// it's hard and tricky to invoke hover in Cypress, especially in our graphs// that's why we have to assert on the x-axis, instead of a popover that shows on a dot hover- H.echartsContainer().get("text").contains("April 25, 2022");+ // April 28 is Monday in year 2025. Expect this to break when we shift years in the Sample Database.+ H.echartsContainer().find("text").should("contain", "April 28, 2025");});it("should display days on X-axis correctly when grouped by 'Day of the Week' (metabase#13604)", () => {@@ -878,7 +873,7 @@ describe("scenarios > admin > localization", () => {cy.findByTextEnsureVisible("Add filter");// update the date input in the widget- cy.findByLabelText("Date").clear().type("2024/5/15").blur();+ cy.findByLabelText("Date").clear().type("2027/5/15").blur();// add a time to the datecy.findByText("Add time").click();@@ -894,7 +889,7 @@ describe("scenarios > admin > localization", () => {// verify that the correct row is displayedH.tableInteractive().within(() => {- cy.findByText("2024/5/15, 19:56");+ cy.findByText("2027/5/15, 19:56");cy.findByText("127.52");});});diff --git a/e2e/test/scenarios/binning/binning-reproductions.cy.spec.js b/e2e/test/scenarios/binning/binning-reproductions.cy.spec.jsindex 411dc9fe78e..1fd4ed28bcf 100644--- a/e2e/test/scenarios/binning/binning-reproductions.cy.spec.js+++ b/e2e/test/scenarios/binning/binning-reproductions.cy.spec.js@@ -74,7 +74,7 @@ describe("binning related reproductions", () => {// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("Count by Created At: Year");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("2024");+ cy.findByText("2027");});it("should not remove order-by (sort) when changing the breakout field on an SQL saved question (metabase#17975)", () => {@@ -247,7 +247,7 @@ describe("binning related reproductions", () => {// All of these are implicit assertions and will fail if there's more than one stringcy.findByText("Count");cy.findByText("Created At: Month");- cy.findByText("June 2022");+ cy.findByText("June 2025");});});diff --git a/e2e/test/scenarios/binning/correctness/shared/constants.js b/e2e/test/scenarios/binning/correctness/shared/constants.jsindex 04202da3e36..1c44660d910 100644--- a/e2e/test/scenarios/binning/correctness/shared/constants.js+++ b/e2e/test/scenarios/binning/correctness/shared/constants.js@@ -1,34 +1,34 @@export const TIME_OPTIONS = {Minute: {selected: "by minute",- representativeValues: ["April 30, 2022, 6:56 PM", "May 10, 2022, 9:38 AM"],+ representativeValues: ["April 30, 2025, 6:56 PM", "May 10, 2025, 9:38 AM"],},Hour: {selected: "by hour",- representativeValues: ["April 30, 2022, 6:00 PM", "May 10, 2022, 9:00 AM"],+ representativeValues: ["April 30, 2025, 6:00 PM", "May 10, 2025, 9:00 AM"],},Day: {selected: "by day",- representativeValues: ["April 30, 2022", "May 10, 2022"],+ representativeValues: ["April 30, 2025", "May 10, 2025"],},Week: {selected: "by week",representativeValues: [- "April 24, 2022 – April 30, 2022",- "May 8, 2022 – May 14, 2022",+ "April 27, 2025 – May 3, 2025",+ "May 11, 2025 – May 17, 2025",],},Month: {selected: "by month",- representativeValues: ["April 2022", "May 2022"],+ representativeValues: ["April 2025", "May 2025"],},Quarter: {selected: "by quarter",- representativeValues: ["Q2 2022", "Q1 2023", "Q1 2024", "Q1 2025"],+ representativeValues: ["Q2 2025", "Q1 2026", "Q1 2027", "Q1 2028"],},Year: {selected: "by year",- representativeValues: ["2022", "2023", "2024", "2025", "2026"],+ representativeValues: ["2025", "2026", "2027", "2028", "2029"],},"Minute of hour": {selected: "by minute of hour",diff --git a/e2e/test/scenarios/binning/qb-regular-table.cy.spec.js b/e2e/test/scenarios/binning/qb-regular-table.cy.spec.jsindex 7b17f4dae11..38bcbeaeb3c 100644--- a/e2e/test/scenarios/binning/qb-regular-table.cy.spec.js+++ b/e2e/test/scenarios/binning/qb-regular-table.cy.spec.js@@ -37,7 +37,7 @@ describe("scenarios > binning > binning options", () => {H.cartesianChartCircle();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Q1 2023");+ cy.findByText("Q1 2026");});it("should work for longitude/latitude", () => {@@ -86,7 +86,7 @@ describe("scenarios > binning > binning options", () => {H.cartesianChartCircle();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Q1 2023");+ cy.findByText("Q1 2026");});it("should work for longitude/latitude", () => {@@ -130,7 +130,7 @@ describe("scenarios > binning > binning options", () => {H.cartesianChartCircle();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("January 2023");+ cy.findByText("January 2026");});it("should work for longitude/latitude", () => {diff --git a/e2e/test/scenarios/binning/reproductions/23851-drill-temporal-extraction.cy.spec.js b/e2e/test/scenarios/binning/reproductions/23851-drill-temporal-extraction.cy.spec.jsindex 869b408ebdd..352228e6318 100644--- a/e2e/test/scenarios/binning/reproductions/23851-drill-temporal-extraction.cy.spec.js+++ b/e2e/test/scenarios/binning/reproductions/23851-drill-temporal-extraction.cy.spec.js@@ -45,7 +45,7 @@ describe("issue 23851", () => {"have.text","Created At: Day of week is equal to 6",);- cy.get("[data-testid=cell-data]").should("contain", "109.22");+ cy.findAllByTestId("cell-data").should("contain", "37.65"); // might change based on a yearH.openNotebook();H.getNotebookStep("filter").findByText("Created At: Day of week is equal to 6")diff --git a/e2e/test/scenarios/binning/sql.cy.spec.js b/e2e/test/scenarios/binning/sql.cy.spec.jsindex 17d45fb3bf6..80e3d54a5d6 100644--- a/e2e/test/scenarios/binning/sql.cy.spec.js+++ b/e2e/test/scenarios/binning/sql.cy.spec.js@@ -193,7 +193,7 @@ describe("scenarios > binning > from a saved sql question", () => {// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("Count by CREATED_AT: Quarter");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Q1 2023");+ cy.findByText("Q1 2026");});it("should work for number", () => {diff --git a/e2e/test/scenarios/custom-column/cc-boolean-functions.cy.spec.ts b/e2e/test/scenarios/custom-column/cc-boolean-functions.cy.spec.tsindex 167304cd1a8..12768b7182a 100644--- a/e2e/test/scenarios/custom-column/cc-boolean-functions.cy.spec.ts+++ b/e2e/test/scenarios/custom-column/cc-boolean-functions.cy.spec.ts@@ -190,9 +190,9 @@ describe("scenarios > custom column > boolean functions", () => {questionDetails: dateQuestionDetails,questionColumns: dateQuestionColumns,newExpression: 'interval([Created At], -30, "year")',- newExpressionRows: [["April 30, 2022, 6:56 PM", "true"]],+ newExpressionRows: [["April 30, 2025, 6:56 PM", "true"]],modifiedExpression: 'interval([Created At], 2, "month")',- modifiedExpressionRows: [["April 30, 2022, 6:56 PM", "false"]],+ modifiedExpressionRows: [["April 30, 2025, 6:56 PM", "false"]],});});});diff --git a/e2e/test/scenarios/custom-column/custom-column-1.cy.spec.js b/e2e/test/scenarios/custom-column/custom-column-1.cy.spec.jsindex 0b563634556..d60bfd7d2da 100644--- a/e2e/test/scenarios/custom-column/custom-column-1.cy.spec.js+++ b/e2e/test/scenarios/custom-column/custom-column-1.cy.spec.js@@ -602,14 +602,20 @@ describe("scenarios > question > custom column", () => {H.popover().within(() => {cy.findByText("Filter by this column").click();cy.findByText("Fixed date range…").click();- cy.findByLabelText("Start date").clear().type("12/10/2024");- cy.findByLabelText("End date").clear().type("01/05/2025");+ cy.findByLabelText("Start date").clear().type("12/10/2027");+ cy.findByLabelText("End date").clear().type("01/05/2028");cy.button("Add filter").click();});cy.wait("@dataset");- // eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Showing 487 rows").should("be.visible");+ cy.findByTestId("question-row-count")+ .should("be.visible")+ .and("have.text", "Showing 487 rows");++ cy.findByTestId("filter-pill").should(+ "have.text",+ "CustomDate is Dec 10, 2027 – Jan 5, 2028",+ );});it("should work with relative date filter applied to a custom column (metabase#16273)", () => {diff --git a/e2e/test/scenarios/custom-column/custom-column-3.cy.spec.js b/e2e/test/scenarios/custom-column/custom-column-3.cy.spec.jsindex bb4f7242955..91dae9e9770 100644--- a/e2e/test/scenarios/custom-column/custom-column-3.cy.spec.js+++ b/e2e/test/scenarios/custom-column/custom-column-3.cy.spec.js@@ -897,7 +897,7 @@ describe("scenarios > question > custom column > aggregation", () => {H.assertTableData({columns: ["Created At: Month", "Foo", "Bar", "Sum"],- firstRows: [["April 2022", "49.54", "52.76", "102.29"]],+ firstRows: [["April 2025", "49.54", "52.76", "102.29"]],});});@@ -914,7 +914,7 @@ describe("scenarios > question > custom column > aggregation", () => {H.visualize();H.assertTableData({columns: ["Created At: Month", "Foo", "Bar"],- firstRows: [["September 2022", "15.69", "18.57"]],+ firstRows: [["September 2025", "15.69", "18.57"]],});});@@ -936,7 +936,7 @@ describe("scenarios > question > custom column > aggregation", () => {H.visualize();H.assertTableData({columns: ["Created At: Month", "Foo", "Bar", "Products - Foo → ID"],- firstRows: [["April 2022", "49.54", "52.76", "34"]],+ firstRows: [["April 2025", "49.54", "52.76", "34"]],});});@@ -949,7 +949,7 @@ describe("scenarios > question > custom column > aggregation", () => {H.visualize();H.assertTableData({columns: ["Created At: Month", "Foo", "Bar"],- firstRows: [["April 2023", "15.69", "18.21"]],+ firstRows: [["April 2026", "15.69", "18.21"]],});});@@ -1017,7 +1017,7 @@ describe("scenarios > question > custom column > aggregation", () => {H.visualize();H.assertTableData({columns: ["Created At: Month", "Count", "Count"],- firstRows: [["April 2022", "2", "3"]],+ firstRows: [["April 2025", "2", "3"]],});cy.log(@@ -1037,7 +1037,7 @@ describe("scenarios > question > custom column > aggregation", () => {H.visualize();H.assertTableData({columns: ["Created At: Month", "Count", "Count"],- firstRows: [["April 2022", "3", "2"]],+ firstRows: [["April 2025", "3", "2"]],});});});diff --git a/e2e/test/scenarios/custom-column/custom-column-reproductions-1.cy.spec.js b/e2e/test/scenarios/custom-column/custom-column-reproductions-1.cy.spec.jsindex 1b79b152282..b1f65387568 100644--- a/e2e/test/scenarios/custom-column/custom-column-reproductions-1.cy.spec.js+++ b/e2e/test/scenarios/custom-column/custom-column-reproductions-1.cy.spec.js@@ -96,7 +96,7 @@ describe("issue 13289", () => {cy.findByText("There was a problem with your question").should("not.exist");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Created At is Sep 1–30, 2022");+ cy.findByText("Created At is Sep 1–30, 2025");});});@@ -378,7 +378,7 @@ describe("issue 18814", () => {H.visualize();- cy.findByTestId("query-visualization-root").should("contain", "2022");+ cy.findByTestId("query-visualization-root").should("contain", "2025");});});diff --git a/e2e/test/scenarios/dashboard-cards/click-behavior.cy.spec.js b/e2e/test/scenarios/dashboard-cards/click-behavior.cy.spec.jsindex 0c4288691f1..30940995715 100644--- a/e2e/test/scenarios/dashboard-cards/click-behavior.cy.spec.js+++ b/e2e/test/scenarios/dashboard-cards/click-behavior.cy.spec.js@@ -28,8 +28,8 @@ const CREATED_AT_COLUMN_SOURCE = {};const FILTER_VALUE = "123";const POINT_COUNT = 64;-const POINT_CREATED_AT = "2022-07";-const POINT_CREATED_AT_FORMATTED = "July 2022";+const POINT_CREATED_AT = "2025-07";+const POINT_CREATED_AT_FORMATTED = "July 2025";const POINT_INDEX = 3;const RESTRICTED_COLLECTION_NAME = "Restricted collection";const COLUMN_INDEX = {@@ -626,7 +626,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {H.modal().button("Discard changes").click();cy.button("Cancel").should("not.exist");cy.findByTestId("visualization-root")- .findByText("May 2022")+ .findByText("May 2025").should("exist");clickLineChartPoint();cy.get("@targetDashboardId").then((targetDashboardId) => {@@ -900,7 +900,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {clickLineChartPoint();cy.findByTestId("qb-filters-panel").should("have.text",- "Created At is Jul 1–31, 2022",+ "Created At is Jul 1–31, 2025",);cy.location("pathname").should("equal", "/question");@@ -913,7 +913,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {H.openNotebook();H.verifyNotebookQuery("Orders", [{- filters: ["Created At is Jul 1–31, 2022"],+ filters: ["Created At is Jul 1–31, 2025"],aggregations: ["Count"],breakouts: ["Created At: Month"],limit: 5,@@ -947,7 +947,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {clickLineChartPoint();cy.wait("@dataset");cy.findByTestId("qb-filters-panel")- .should("contain.text", "Created At is Jul 1–31, 2022")+ .should("contain.text", "Created At is Jul 1–31, 2025").should("contain.text", "Quantity is equal to 64");cy.location("pathname").should("equal", "/question");@@ -960,7 +960,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {H.openNotebook();H.verifyNotebookQuery("Orders", [{- filters: ["Created At is Jul 1–31, 2022", "Quantity is equal to 64"],+ filters: ["Created At is Jul 1–31, 2025", "Quantity is equal to 64"],aggregations: ["Count"],breakouts: ["Created At: Month"],limit: 5,@@ -1405,7 +1405,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {.click();cy.wait("@dataset");cy.findByTestId("qb-filters-panel")- .should("contain.text", "Created At is Jul 1–31, 2022")+ .should("contain.text", "Created At is Jul 1–31, 2025").should("contain.text", "Quantity is equal to 64");cy.location("pathname").should("equal", "/question");@@ -1419,7 +1419,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {H.verifyNotebookQuery("Orders", [{filters: [- "Created At is Jul 1–31, 2022",+ "Created At is Jul 1–31, 2025","Quantity is equal to 64",],aggregations: ["Count"],@@ -1647,7 +1647,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {expect(anchor).to.have.attr("target", "_blank");});getTableCell(COLUMN_INDEX.CREATED_AT)- .should("have.text", "Created at: October 2023")+ .should("have.text", "Created at: October 2026").click();})();});@@ -2151,7 +2151,7 @@ describe("scenarios > dashboard > dashboard cards > click behavior", () => {H.saveDashboard({ waitMs: 250 });H.getDashboardCard()- .findAllByText("Created at: May 2022 - 1")+ .findAllByText("Created at: May 2025 - 1").first().click();diff --git a/e2e/test/scenarios/dashboard-cards/dashboard-card-reproductions.cy.spec.js b/e2e/test/scenarios/dashboard-cards/dashboard-card-reproductions.cy.spec.jsindex d75f1d31205..716f74e9421 100644--- a/e2e/test/scenarios/dashboard-cards/dashboard-card-reproductions.cy.spec.js+++ b/e2e/test/scenarios/dashboard-cards/dashboard-card-reproductions.cy.spec.js@@ -1073,7 +1073,7 @@ describe("issue 31628", () => {cy.findByRole("tooltip").should("not.exist");cy.log("it should display the period");- cy.findByTestId("scalar-period").should("have.text", "Apr 2026");+ cy.findByTestId("scalar-period").should("have.text", "Apr 2029");cy.log("should truncate title and show title tooltip on hover");@@ -1129,7 +1129,7 @@ describe("issue 31628", () => {cy.findByRole("tooltip").should("not.exist");cy.log("it should display the period");- cy.findByTestId("scalar-period").should("have.text", "Apr 2026");+ cy.findByTestId("scalar-period").should("have.text", "Apr 2029");cy.log("should truncate title and show title tooltip on hover");cy.findByTestId("legend-caption-title")@@ -1587,7 +1587,7 @@ describe("issue 63416", () => {},],],- filter: [">=", ["field", ORDERS.CREATED_AT, null], "2024-01-01"],+ filter: [">=", ["field", ORDERS.CREATED_AT, null], "2027-01-01"],},};diff --git a/e2e/test/scenarios/dashboard-cards/dashboard-drill.cy.spec.js b/e2e/test/scenarios/dashboard-cards/dashboard-drill.cy.spec.jsindex d2a4939a9a8..3a85f7d715e 100644--- a/e2e/test/scenarios/dashboard-cards/dashboard-drill.cy.spec.js+++ b/e2e/test/scenarios/dashboard-cards/dashboard-drill.cy.spec.js@@ -628,11 +628,11 @@ describe("scenarios > dashboard > dashboard drill", () => {).as("cardQuery");H.chartPathWithFillColor("#509EE3")- .eq(14) // August 2023 (Total of 12 reviews, 9 unique days)+ .eq(14) // August 2026 (Total of 12 reviews, 9 unique days).click();cy.wait("@cardQuery");- cy.url().should("include", "2023-08");+ cy.url().should("include", "2026-08");H.chartPathWithFillColor("#509EE3").should("have.length", 1);// Since hover doesn't work in Cypress we can't assert on the popover that's shown when one hovers the bar// But when this issue gets fixed, Y-axis should definitely show "12" (total count of reviews)@@ -826,10 +826,9 @@ describe("scenarios > dashboard > dashboard drill", () => {});});H.tableHeaderColumn("Quantity");- cy.get(".test-Table-ID")- .first()- // Mid-point check that this cell actually contains ID = 1- .contains("1")+ cy.findByTestId("table-body")+ .get("[data-dataset-index=0] > [data-column-id='ID']")+ .should("have.text", "3") // Subject to change - sensitive to year shifting in the Sample Database.click();cy.wait("@dataset").then((xhr) => {@@ -837,7 +836,7 @@ describe("scenarios > dashboard > dashboard drill", () => {});cy.findByTestId("object-detail").within(() => {cy.findByText("Subtotal");- cy.findByText("37.65");+ cy.findByText("52.72");});});diff --git a/e2e/test/scenarios/dashboard-filters-2/dashboard-filters-misc.cy.spec.ts b/e2e/test/scenarios/dashboard-filters-2/dashboard-filters-misc.cy.spec.tsindex d674ddc3c06..07900b841f2 100644--- a/e2e/test/scenarios/dashboard-filters-2/dashboard-filters-misc.cy.spec.ts+++ b/e2e/test/scenarios/dashboard-filters-2/dashboard-filters-misc.cy.spec.ts@@ -112,7 +112,7 @@ describe("scenarios > dashboard > filters > query stages + temporal unit parametH.filterWidget().eq(1).click();H.popover().findByText("Quarter").click();- H.getDashboardCard().findByText("Q1 2023").should("be.visible");+ H.getDashboardCard().findByText("Q1 2026").should("be.visible");H.getDashboardCard().findByTestId("legend-caption-title").click();cy.wait("@dataset");@@ -126,7 +126,7 @@ describe("scenarios > dashboard > filters > query stages + temporal unit paramet// assert that temporal unit parameter was appliedcy.findByTestId("chart-container")- .findByText("Q1 2023")+ .findByText("Q1 2026").should("be.visible");});});diff --git a/e2e/test/scenarios/dashboard-filters/dashboard-filters-date.cy.spec.js b/e2e/test/scenarios/dashboard-filters/dashboard-filters-date.cy.spec.jsindex f78cb01fba5..eca23fbc65a 100644--- a/e2e/test/scenarios/dashboard-filters/dashboard-filters-date.cy.spec.js+++ b/e2e/test/scenarios/dashboard-filters/dashboard-filters-date.cy.spec.js@@ -63,7 +63,7 @@ describe("scenarios > dashboard > filters > date", () => {DateFilter.setMonthAndYear({month: "Nov",- year: "2022",+ year: "2025",});// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage@@ -79,7 +79,7 @@ describe("scenarios > dashboard > filters > date", () => {// Make sure we can override the default value// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("November 2022").click();+ cy.findByText("November 2025").click();H.popover().contains("Jun").click();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("33.9");@@ -108,21 +108,21 @@ describe("scenarios > dashboard > filters > date", () => {H.sidebar().findByText("Default value").next().click();DateFilter.setMonthAndYear({month: "Nov",- year: "2023",+ year: "2026",});H.selectDashboardFilter(cy.findByTestId("dashcard"), "Created At");H.saveDashboard();// Updates the filter value- H.filterWidget().should("contain.text", "November 2023").click();+ H.filterWidget().should("contain.text", "November 2026").click();H.popover().findByText("Dec").click();- H.filterWidget().findByText("December 2023");+ H.filterWidget().findByText("December 2026");H.ensureDashboardCardHasText("76.83");// Resets the value back by clicking widget iconH.resetFilterWidgetToDefault();- H.filterWidget().findByText("November 2023");+ H.filterWidget().findByText("November 2026");H.ensureDashboardCardHasText("27.74");});diff --git a/e2e/test/scenarios/dashboard-filters/dashboard-filters-reset-clear.cy.spec.ts b/e2e/test/scenarios/dashboard-filters/dashboard-filters-reset-clear.cy.spec.tsindex e6ecfb44db7..8c9cf47fc6f 100644--- a/e2e/test/scenarios/dashboard-filters/dashboard-filters-reset-clear.cy.spec.ts+++ b/e2e/test/scenarios/dashboard-filters/dashboard-filters-reset-clear.cy.spec.ts@@ -87,12 +87,12 @@ const PARAMETER_B = {const PARAMETER_A_DEFAULT_VALUE = {...PARAMETER_A,- default: "2023-01-05",+ default: "2026-01-05",};const PARAMETER_B_DEFAULT_VALUE = {...PARAMETER_B,- default: "2023-01-05",+ default: "2026-01-05",};const TAB_A = { id: 1, name: "Tab A" };@@ -172,7 +172,7 @@ describe("scenarios > dashboard > filters > reset & clear", () => {id: "75d67d31",type: "date/single",sectionId: "date",- default: "2024-01-01",+ default: "2027-01-01",},{name: DEFAULT_REQUIRED,@@ -180,14 +180,14 @@ describe("scenarios > dashboard > filters > reset & clear", () => {id: "60f12ac1",type: "date/single",sectionId: "date",- default: "2024-01-01",+ default: "2027-01-01",required: true,},],);checkDashboardParameters({- defaultValueFormatted: "January 1, 2024",+ defaultValueFormatted: "January 1, 2027",otherValue: "01/01/2020",otherValueFormatted: "January 1, 2020",setValue: (label, value) => {@@ -1112,8 +1112,8 @@ function checkResetAllFiltersWorksAcrossTabs({H.getDashboardCard(0).findByText("37.65").should("be.visible");H.getDashboardCard(0).findByText("116.01").should("not.exist");- addDateFilter(PARAMETER_A.name, "01/01/2024");- filter(PARAMETER_A.name).findByText("January 1, 2024").should("exist");+ addDateFilter(PARAMETER_A.name, "01/01/2027");+ filter(PARAMETER_A.name).findByText("January 1, 2027").should("exist");if (!autoApplyFilters) {H.applyFilterButton().click();}@@ -1126,12 +1126,12 @@ function checkResetAllFiltersWorksAcrossTabs({filter(PARAMETER_B.name).findByText(PARAMETER_B.name).should("exist");H.getDashboardCard(0).findByText("18,760").should("be.visible");- addDateFilter(PARAMETER_B.name, "01/01/2023");+ addDateFilter(PARAMETER_B.name, "01/01/2026");if (!autoApplyFilters) {H.applyFilterButton().click();}checkResetAllFiltersShown();- filter(PARAMETER_B.name).findByText("January 1, 2023").should("exist");+ filter(PARAMETER_B.name).findByText("January 1, 2026").should("exist");H.getDashboardCard(0).findByText("5").should("be.visible");cy.findByLabelText("Move, trash, and more…").click();@@ -1153,12 +1153,12 @@ function checkResetAllFiltersToDefaultWorksAcrossTabs({autoApplyFilters: boolean;}) {checkResetAllFiltersHidden();- filter(PARAMETER_A.name).findByText("January 5, 2023").should("exist");+ filter(PARAMETER_A.name).findByText("January 5, 2026").should("exist");H.getDashboardCard(0).findByText("73.99").should("be.visible");H.getDashboardCard(0).findByText("116.01").should("not.exist");- updateDateFilter(PARAMETER_A.name, "01/01/2024");- filter(PARAMETER_A.name).findByText("January 1, 2024").should("exist");+ updateDateFilter(PARAMETER_A.name, "01/01/2027");+ filter(PARAMETER_A.name).findByText("January 1, 2027").should("exist");if (!autoApplyFilters) {H.applyFilterButton().click();}@@ -1168,26 +1168,26 @@ function checkResetAllFiltersToDefaultWorksAcrossTabs({cy.findAllByTestId("tab-button-input-wrapper").eq(1).click();checkResetAllFiltersShown();- filter(PARAMETER_B.name).findByText("January 5, 2023").should("exist");+ filter(PARAMETER_B.name).findByText("January 5, 2026").should("exist");H.getDashboardCard(0).findByText("4").should("be.visible");- updateDateFilter(PARAMETER_B.name, "01/01/2023");+ updateDateFilter(PARAMETER_B.name, "01/01/2026");if (!autoApplyFilters) {H.applyFilterButton().click();}checkResetAllFiltersShown();- filter(PARAMETER_B.name).findByText("January 1, 2023").should("exist");+ filter(PARAMETER_B.name).findByText("January 1, 2026").should("exist");H.getDashboardCard(0).findByText("5").should("be.visible");cy.findByLabelText("Move, trash, and more…").click();H.popover().findByText("Reset all filters").click();checkResetAllFiltersHidden();- filter(PARAMETER_B.name).findByText("January 5, 2023").should("exist");+ filter(PARAMETER_B.name).findByText("January 5, 2026").should("exist");H.getDashboardCard(0).findByText("4").should("be.visible");cy.findAllByTestId("tab-button-input-wrapper").eq(0).click();checkResetAllFiltersHidden();- filter(PARAMETER_A.name).findByText("January 5, 2023").should("exist");+ filter(PARAMETER_A.name).findByText("January 5, 2026").should("exist");H.getDashboardCard(0).findByText("73.99").should("be.visible");H.getDashboardCard(0).findByText("116.01").should("not.exist");}diff --git a/e2e/test/scenarios/dashboard-filters/dashboard-filters-sql-date.cy.spec.js b/e2e/test/scenarios/dashboard-filters/dashboard-filters-sql-date.cy.spec.jsindex cd23bc2784c..a73f5ec7439 100644--- a/e2e/test/scenarios/dashboard-filters/dashboard-filters-sql-date.cy.spec.js+++ b/e2e/test/scenarios/dashboard-filters/dashboard-filters-sql-date.cy.spec.js@@ -65,7 +65,7 @@ describe("scenarios > dashboard > filters > SQL > date", () => {cy.findByText("Default value").next().click();DateFilter.setMonthAndYear({month: "Oct",- year: "2022",+ year: "2025",});// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage@@ -80,7 +80,7 @@ describe("scenarios > dashboard > filters > SQL > date", () => {// Make sure we can override the default value// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("October 2022").click();+ cy.findByText("October 2025").click();H.popover().contains("Aug").click();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("Macy Olson");diff --git a/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-date.js b/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-date.jsindex eed6a4593cd..4f109633e0b 100644--- a/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-date.js+++ b/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-date.js@@ -2,25 +2,25 @@ export const DASHBOARD_DATE_FILTERS = {"Month and Year": {value: {month: "Nov",- year: "2022",+ year: "2025",},representativeResult: "85.88",},"Quarter and Year": {value: {quarter: "Q2",- year: "2022",+ year: "2025",},representativeResult: "44.43",},"Single Date": {- value: "05/23/2022",+ value: "05/23/2025",representativeResult: "49.54",},"Date Range": {value: {- startDate: "05/25/2022",- endDate: "06/01/2022",+ startDate: "05/25/2025",+ endDate: "06/01/2025",},representativeResult: "75.41",},@@ -28,6 +28,6 @@ export const DASHBOARD_DATE_FILTERS = {value: {timeBucket: "years",},- representativeResult: "67.33", // this may change every year+ representativeResult: "79.37", // this may change every year},};diff --git a/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-sql-date.js b/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-sql-date.jsindex 2a6d724ae49..58b953588e7 100644--- a/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-sql-date.js+++ b/e2e/test/scenarios/dashboard-filters/shared/dashboard-filters-sql-date.js@@ -7,7 +7,7 @@ export const DASHBOARD_SQL_DATE_FILTERS = {sqlFilter: "date/month-year",value: {month: "Sep",- year: "2022",+ year: "2025",},representativeResult: "Rene Muller",},@@ -15,20 +15,20 @@ export const DASHBOARD_SQL_DATE_FILTERS = {sqlFilter: "date/quarter-year",value: {quarter: "Q2",- year: "2022",+ year: "2025",},representativeResult: "Khalid Pouros",},"Single Date": {sqlFilter: "date/single",- value: "05/24/2022",+ value: "05/24/2025",representativeResult: "Delphia Price",},"Date Range": {sqlFilter: "date/range",value: {- startDate: "05/25/2022",- endDate: "06/01/2022",+ startDate: "05/25/2025",+ endDate: "06/01/2025",},representativeResult: "Trisha Hoeger",},@@ -37,7 +37,7 @@ export const DASHBOARD_SQL_DATE_FILTERS = {value: {timeBucket: "years",},- representativeResult: "Lina Heaney", // this may change every year+ representativeResult: "Rene Muller", // this may change every year},};diff --git a/e2e/test/scenarios/dashboard-filters/temporal-unit-parameters.cy.spec.js b/e2e/test/scenarios/dashboard-filters/temporal-unit-parameters.cy.spec.jsindex a0134a9e1de..9f20eef1838 100644--- a/e2e/test/scenarios/dashboard-filters/temporal-unit-parameters.cy.spec.js+++ b/e2e/test/scenarios/dashboard-filters/temporal-unit-parameters.cy.spec.js@@ -235,7 +235,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {cy.log("single breakout");addQuestion(singleBreakoutQuestionDetails.name);- H.ensureDashboardCardHasText("April 2022");+ H.ensureDashboardCardHasText("April 2025");cy.wait("@queryMetadata");editParameter(parameterDetails.name);H.getDashboardCard().findByText("Select…").click();@@ -243,7 +243,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {H.saveDashboard();cy.wait("@cardQuery");- H.ensureDashboardCardHasText("April 2022");+ H.ensureDashboardCardHasText("April 2025");H.filterWidget().click();H.popover().findByText("Year").click();H.getDashboardCard().within(() => {@@ -270,7 +270,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {H.filterWidget().click();H.popover().findByText("Quarter").click();H.getDashboardCard().within(() => {- cy.findByText("Q2 2022").should("be.visible");+ cy.findByText("Q2 2025").should("be.visible");cy.findByText(multiBreakoutQuestionDetails.name).click();});H.tableInteractive()@@ -399,10 +399,11 @@ describe("scenarios > dashboard > temporal unit parameters", () => {H.popover().findByText("Year").click();H.filterWidget().eq(1).click();H.popover().findByText("Week").click();+ // Expect these dates to change when we shift years in the Sample DatabaseH.getDashboardCard().within(() => {cy.findByText("Created At: Year").should("be.visible");- cy.findByText("April 24, 2022").should("be.visible");- cy.findByText("May 1, 2022").should("be.visible");+ cy.findByText("April 27, 2025").should("be.visible");+ cy.findByText("May 4, 2025").should("be.visible");cy.findByText(multiBreakoutQuestionDetails.name).click();});H.appBar()@@ -410,7 +411,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {.should("contain.text", multiBreakoutQuestionDetails.name);H.tableInteractive().within(() => {cy.findByText("Created At: Year").should("be.visible");- cy.findByText("April 24, 2022").should("be.visible");+ cy.findByText("April 27, 2025").should("be.visible");});});@@ -434,9 +435,9 @@ describe("scenarios > dashboard > temporal unit parameters", () => {H.popover().findByText("Year").click();H.getDashboardCard().within(() => {// metabase#44684- // should be "Created At: Year" and "2022" because the last parameter is "Year"+ // should be "Created At: Year" and "2025" because the last parameter is "Year"cy.findByText("Created At: Quarter").should("be.visible");- cy.findByText("Q2 2022").should("be.visible");+ cy.findByText("Q2 2025").should("be.visible");cy.findByText(singleBreakoutQuestionDetails.name).click();});H.appBar()@@ -444,7 +445,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {.should("contain.text", singleBreakoutQuestionDetails.name);H.tableInteractive().within(() => {cy.findByText("Created At: Year").should("be.visible");- cy.findByText("2022").should("be.visible");+ cy.findByText("2025").should("be.visible");});});@@ -468,7 +469,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {H.filterWidget().click();H.popover().findByText("Quarter").click();H.getDashboardCard().within(() => {- cy.findByText("Q1 2023").should("be.visible");+ cy.findByText("Q1 2026").should("be.visible");cy.findAllByTestId("legend-item").contains("Question 1").click();});H.appBar()@@ -480,7 +481,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {backToDashboard();H.getDashboardCard().within(() => {- cy.findByText("Q1 2023").should("be.visible");+ cy.findByText("Q1 2026").should("be.visible");cy.findAllByTestId("legend-item").contains("Question 2").click();});H.appBar()@@ -1074,7 +1075,7 @@ describe("scenarios > dashboard > temporal unit parameters", () => {H.popover().findByText("Year").click();H.saveDashboard();- H.getDashboardCard().should("contain", "January 1, 2022");+ H.getDashboardCard().should("contain", "January 1, 2025");});it("should not be able to use temporal unit parameter with a filter of a different type", () => {diff --git a/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js b/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.jsindex 4ad6317656a..1adac5b9456 100644--- a/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js+++ b/e2e/test/scenarios/dashboard/dashboard-reproductions.cy.spec.js@@ -576,28 +576,28 @@ describe("issue 17879", () => {it("should map dashcard date parameter to correct date range filter in target question - month -> day (metabase#17879)", () => {setupDashcardAndDrillToQuestion({sourceDateUnit: "month",- expectedFilterText: "Created At is Apr 1–30, 2022",+ expectedFilterText: "Created At is Apr 1–30, 2025",});});it("should map dashcard date parameter to correct date range filter in target question - week -> day (metabase#17879)", () => {setupDashcardAndDrillToQuestion({sourceDateUnit: "week",- expectedFilterText: "Created At is Apr 24–30, 2022",+ expectedFilterText: "Created At is Apr 27 – May 3, 2025",});});it("should map dashcard date parameter to correct date range filter in target question - year -> day (metabase#17879)", () => {setupDashcardAndDrillToQuestion({sourceDateUnit: "year",- expectedFilterText: "Created At is Jan 1 – Dec 31, 2022",+ expectedFilterText: "Created At is Jan 1 – Dec 31, 2025",});});it("should map dashcard date parameter to correct date range filter in target question - year -> month (metabase#17879)", () => {setupDashcardAndDrillToQuestion({sourceDateUnit: "year",- expectedFilterText: "Created At is Jan 1 – Dec 31, 2022",+ expectedFilterText: "Created At is Jan 1 – Dec 31, 2025",targetDateUnit: "month",});});diff --git a/e2e/test/scenarios/dashboard/text-cards.cy.spec.js b/e2e/test/scenarios/dashboard/text-cards.cy.spec.jsindex 0160d77a4d3..dc79f2bd671 100644--- a/e2e/test/scenarios/dashboard/text-cards.cy.spec.js+++ b/e2e/test/scenarios/dashboard/text-cards.cy.spec.js@@ -429,7 +429,7 @@ describe("scenarios > dashboard > parameters in text and heading cards", () => {.findByText("Single Date").click();H.popover().within(() => {- cy.findByRole("textbox").click().clear().type("07/19/2023").blur();+ cy.findByRole("textbox").click().clear().type("07/19/2026").blur();cy.button("Add filter").click();});@@ -441,15 +441,15 @@ describe("scenarios > dashboard > parameters in text and heading cards", () => {// Parameter value in widget should use user localization (English)cy.findByTestId("dashboard-parameters-widget-container")- .findByText("July 19, 2023")+ .findByText("July 19, 2026").should("exist");// Parameter value in dashboard should use site localization (French)H.getDashboardCard(1)- .findByText("Variable: juillet 19, 2023")+ .findByText("Variable: juillet 19, 2026").should("exist");H.getDashboardCard(2)- .findByText("Variable: juillet 19, 2023")+ .findByText("Variable: juillet 19, 2026").should("exist");});});diff --git a/e2e/test/scenarios/dashboard/visualizer/cartesian.cy.spec.ts b/e2e/test/scenarios/dashboard/visualizer/cartesian.cy.spec.tsindex caffaacfbca..4bc50dbb11e 100644--- a/e2e/test/scenarios/dashboard/visualizer/cartesian.cy.spec.ts+++ b/e2e/test/scenarios/dashboard/visualizer/cartesian.cy.spec.ts@@ -376,8 +376,8 @@ describe("scenarios > dashboard > visualizer > cartesian", () => {H.echartsContainer().within(() => {// x-axis labels- cy.findByText("January 2023").should("exist");cy.findByText("January 2026").should("exist");+ cy.findByText("January 2029").should("exist");// y-axis labelscy.findByText("600").should("exist");cy.findByText("10").should("exist");diff --git a/e2e/test/scenarios/dashboard/visualizer/drillthrough.cy.spec.ts b/e2e/test/scenarios/dashboard/visualizer/drillthrough.cy.spec.tsindex f088c01bcfc..e540d949d1e 100644--- a/e2e/test/scenarios/dashboard/visualizer/drillthrough.cy.spec.ts+++ b/e2e/test/scenarios/dashboard/visualizer/drillthrough.cy.spec.ts@@ -73,12 +73,12 @@ describe("scenarios > dashboard > visualizer > drillthrough", () => {const PRODUCTS_SERIES_COLOR = "#88BF4D";// 1. Cartesian chart, timeseries breakout- const SEP_2022_POINT_INDEX = 5;+ const SEP_2025_POINT_INDEX = 5;H.getDashboardCard(0).within(() =>// eslint-disable-next-line metabase/no-unsafe-element-filteringH.cartesianChartCircleWithColor(PRODUCTS_SERIES_COLOR)- .eq(SEP_2022_POINT_INDEX)+ .eq(SEP_2025_POINT_INDEX).click(),);H.clickActionsPopover().findByText("See these Products").click();@@ -86,7 +86,7 @@ describe("scenarios > dashboard > visualizer > drillthrough", () => {H.queryBuilderFiltersPanel().children().should("have.length", 1);H.queryBuilderFiltersPanel().findByText(- "Created At: Month is Sep 1–30, 2022",+ "Created At: Month is Sep 1–30, 2025",);H.assertQueryBuilderRowCount(9);H.tableInteractiveHeader().findByText("Price"); // ensure we're on the Products table@@ -96,7 +96,7 @@ describe("scenarios > dashboard > visualizer > drillthrough", () => {H.getDashboardCard(0).within(() => {// eslint-disable-next-line metabase/no-unsafe-element-filteringH.cartesianChartCircleWithColor(ORDERS_SERIES_COLOR)- .eq(SEP_2022_POINT_INDEX)+ .eq(SEP_2025_POINT_INDEX).click();});@@ -107,7 +107,7 @@ describe("scenarios > dashboard > visualizer > drillthrough", () => {H.queryBuilderFiltersPanel().children().should("have.length", 1);H.queryBuilderFiltersPanel().findByText(- "Created At: Month is Sep 1–30, 2022",+ "Created At: Month is Sep 1–30, 2025",);H.assertQueryBuilderRowCount(5);H.echartsContainer().within(() => {@@ -234,8 +234,8 @@ describe("scenarios > dashboard > visualizer > drillthrough", () => {H.queryBuilderMain().within(() => {cy.findByText("Count").should("exist"); // y-axiscy.findByText("Created At: Month").should("exist"); // x-axis- cy.findByText("May 2023").should("exist");- cy.findByText("December 2023").should("exist");+ cy.findByText("May 2026").should("exist");+ cy.findByText("December 2026").should("exist");});});});diff --git a/e2e/test/scenarios/dashboard/x-rays.cy.spec.js b/e2e/test/scenarios/dashboard/x-rays.cy.spec.jsindex b38318de06a..ac465c8e189 100644--- a/e2e/test/scenarios/dashboard/x-rays.cy.spec.js+++ b/e2e/test/scenarios/dashboard/x-rays.cy.spec.js@@ -79,7 +79,7 @@ describe("scenarios > x-rays", { tags: "@slow" }, () => {cy.wait("@dataset", { timeout: 30000 });// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText(- "A closer look at number of Orders where Created At is in March 2024 and Category is Gadget",+ "A closer look at number of Orders where Created At is in March 2027 and Category is Gadget",);cy.icon("warning").should("not.exist");});diff --git a/e2e/test/scenarios/data-model/data-model-shared-3.cy.spec.ts b/e2e/test/scenarios/data-model/data-model-shared-3.cy.spec.tsindex 438edbd15f1..a3d540fcdef 100644--- a/e2e/test/scenarios/data-model/data-model-shared-3.cy.spec.ts+++ b/e2e/test/scenarios/data-model/data-model-shared-3.cy.spec.ts@@ -449,22 +449,22 @@ describe.each<Area>(areas)("data model > %s", (area: Area) => {verifyTablePreview({column: "User ID",values: [- "2023-10-07T01:34:35.462-07:00",- "2023-10-07T01:34:35.462-07:00",- "2023-10-07T01:34:35.462-07:00",- "2023-10-07T01:34:35.462-07:00",- "2023-10-07T01:34:35.462-07:00",+ "2026-10-07T01:34:35.462-07:00",+ "2026-10-07T01:34:35.462-07:00",+ "2026-10-07T01:34:35.462-07:00",+ "2026-10-07T01:34:35.462-07:00",+ "2026-10-07T01:34:35.462-07:00",],});verifyObjectDetailPreview({rowNumber: 1,- row: ["User ID", "2023-10-07T01:34:35.462-07:00"],+ row: ["User ID", "2026-10-07T01:34:35.462-07:00"],});H.visitQuestion(ORDERS_QUESTION_ID);cy.findAllByTestId("cell-data").eq(10) // 1st data row, 2nd column (User ID)- .should("have.text", "2023-10-07T01:34:35.462-07:00");+ .should("have.text", "2026-10-07T01:34:35.462-07:00");});});diff --git a/e2e/test/scenarios/data-studio/measures/measures-queries.cy.spec.ts b/e2e/test/scenarios/data-studio/measures/measures-queries.cy.spec.tsindex 25ae5e1f297..e91e770bc8d 100644--- a/e2e/test/scenarios/data-studio/measures/measures-queries.cy.spec.ts+++ b/e2e/test/scenarios/data-studio/measures/measures-queries.cy.spec.ts@@ -55,7 +55,7 @@ describe("scenarios > data studio > measures > queries", () => {breakout("Created At");},});- verifyRowValues([["April 2022"], ["May 2022", "52.76"]]);+ verifyRowValues([["April 2025"], ["May 2025", "52.76"]]);});it("should create a measure with a column from an implicit join", () => {@@ -86,7 +86,7 @@ describe("scenarios > data studio > measures > queries", () => {breakout("Created At");},});- verifyRowValues([["April 2022"], ["May 2022", "49.54"]]);+ verifyRowValues([["April 2025"], ["May 2025", "49.54"]]);});it("should create a measure with a custom aggregation expression", () => {@@ -342,7 +342,7 @@ describe("scenarios > data studio > measures > queries", () => {},});- verifyRowValues([["April 2022"], ["May 2022", "52.76"]]);+ verifyRowValues([["April 2025"], ["May 2025", "52.76"]]);});});@@ -367,8 +367,8 @@ describe("scenarios > data studio > measures > queries", () => {});verifyRowValues([- ["January 2026", "52,249.59"],- ["January 2025", "51,634.16"],+ ["January 2029", "52,249.59"],+ ["January 2028", "51,634.16"],]);});@@ -399,9 +399,9 @@ describe("scenarios > data studio > measures > queries", () => {});verifyRowValues([- ["August 2023", "16"],- ["April 2026", "16"],- ["May 2022", "17"],+ ["August 2026", "16"],+ ["April 2029", "16"],+ ["May 2025", "17"],]);});@@ -471,7 +471,7 @@ describe("scenarios > data studio > measures > queries", () => {},});- verifyRowValues([["April 2022", "52.76", "8685"]]);+ verifyRowValues([["April 2025", "52.76", "8685"]]);});});@@ -505,7 +505,7 @@ describe("scenarios > data studio > measures > queries", () => {},});- verifyRowValues([["April 2022", "52.76", "5", "1"]]);+ verifyRowValues([["April 2025", "52.76", "5", "1"]]);});describe("measure refs", () => {diff --git a/e2e/test/scenarios/detail-view/detail-view.cy.spec.ts b/e2e/test/scenarios/detail-view/detail-view.cy.spec.tsindex 02001287a8f..b51f6d4a85f 100644--- a/e2e/test/scenarios/detail-view/detail-view.cy.spec.ts+++ b/e2e/test/scenarios/detail-view/detail-view.cy.spec.ts@@ -51,7 +51,7 @@ describe("detail view", () => {["Vendor", "Swaniawski, Casper and Hilll"],["Price", "29.46"],["Rating", "4.6"],- ["Created At", "July 19, 2023, 7:44 PM"],+ ["Created At", "July 19, 2026, 7:44 PM"],]);DetailView.getRelationships().within(() => {@@ -131,12 +131,12 @@ describe("detail view", () => {["Tax", "2.07"],["Total", "39.72"],["Discount ($)", "empty"],- ["Created At", "February 11, 2025, 9:40 PM"],+ ["Created At", "February 11, 2028, 9:40 PM"],["Quantity", "2"],["Order image", "https://example.com/order/1.jpg"],["Product image", "https://example.com/product/14.jpg"],["Products → Category", "Widget"],- ["Products → Created At", "December 31, 2023, 2:41 PM"],+ ["Products → Created At", "December 31, 2026, 2:41 PM"],["Products → Ean", "8833419218504"],["Products → Price", "25.1"],["Products → Rating", "4"],@@ -284,12 +284,12 @@ describe("detail view", () => {["Tax", "$2.07"],["Total", `${VERY_LONG_STRING}39.72`],["Discount ($)", "empty"],- ["Created At", "February 11, 2025, 9:40 PM"],+ ["Created At", "February 11, 2028, 9:40 PM"],["Quantity", "two"],["Order image", "https://example.com/order/1.jpg"],["Product image", "https://example.com/product/14.jpg"],["Products → Category", "Widget"],- ["Products → Created At", "December 31, 2023, 2:41 PM"],+ ["Products → Created At", "December 31, 2026, 2:41 PM"],["Products → Ean", "8833419218504"],["Products → Price", "25.1"],["Products → Rating", "4"],diff --git a/e2e/test/scenarios/embedding/embed-resource-downloads.cy.spec.ts b/e2e/test/scenarios/embedding/embed-resource-downloads.cy.spec.tsindex 2de4ace656a..cc7c53908a2 100644--- a/e2e/test/scenarios/embedding/embed-resource-downloads.cy.spec.ts+++ b/e2e/test/scenarios/embedding/embed-resource-downloads.cy.spec.ts@@ -402,7 +402,7 @@ describe("Static embed dashboards/questions downloads (results and export as pdf});it("should be able to download a static embedded question as CSV when a filter expects 1 parameter value e.g. date (metabase#58957, 59074)", () => {- const FILTER_VALUE = "2025-02-11";+ const FILTER_VALUE = "2028-02-11";const QUESTION_NAME = "Native question with a Date parameter";// Can't figure out the type if I extracted `questionDetails` to a variable.@@ -469,7 +469,7 @@ describe("Static embed dashboards/questions downloads (results and export as pdfwaitLoading();- const FIRST_ROW = [1, "February 11, 2025, 9:40 PM", 2];+ const FIRST_ROW = [1, "February 11, 2028, 9:40 PM", 2];H.assertTableData({columns: ["ID", "CREATED_AT", "QUANTITY"],diff --git a/e2e/test/scenarios/embedding/embedding-dashboard.cy.spec.js b/e2e/test/scenarios/embedding/embedding-dashboard.cy.spec.jsindex 22e9657ed09..78940e2a3e8 100644--- a/e2e/test/scenarios/embedding/embedding-dashboard.cy.spec.js+++ b/e2e/test/scenarios/embedding/embedding-dashboard.cy.spec.js@@ -1089,14 +1089,14 @@ describe("scenarios > embedding > dashboard appearance", () => {H.getIframeBody().within(() => {cy.findByText(questionDetails.name).should("exist");- cy.findByText("May 2022").should("exist");+ cy.findByText("May 2025").should("exist");// TODO: Enable this once we fix the flakiness https://app.trunk.io/metabase/flaky-tests/test/facb35f0-6d76-5e7d-b21c-40401bbc3ff6?repo=metabase%2Fmetabase// (metabase#49537)// chartPathWithFillColor("#509EE3").last().realHover();// echartsTooltip().should("be.visible");// assertEChartsTooltip({- // header: "August 2022",+ // header: "August 2025",// rows: [// {// name: "Count",@@ -1136,7 +1136,7 @@ describe("scenarios > embedding > dashboard appearance", () => {cy.wait("@deLocale");- H.main().findByText("Februar 11, 2025, 9:40 PM");+ H.main().findByText("Februar 11, 2028, 9:40 PM");cy.findByRole("button", {name: "Automatische Aktualisierung",diff --git a/e2e/test/scenarios/embedding/embedding-native.cy.spec.js b/e2e/test/scenarios/embedding/embedding-native.cy.spec.jsindex c5595ff348d..5d36cd58020 100644--- a/e2e/test/scenarios/embedding/embedding-native.cy.spec.js+++ b/e2e/test/scenarios/embedding/embedding-native.cy.spec.js@@ -102,11 +102,11 @@ describe("scenarios > embedding > native questions", () => {// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.contains("Twitter").should("not.exist");- // Created At: Q2 2023+ // Created At: Q2 2026H.filterWidget().contains("Created At").click();H.popover().within(() => {cy.findByText(/20\d+/).click();- cy.contains("2023").click();+ cy.contains("2026").click();});// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("Q2").click();@@ -128,7 +128,7 @@ describe("scenarios > embedding > native questions", () => {cy.contains("Affiliate").should("not.exist");// Let's try to remove one filter- H.filterWidget({ name: "Q2 2023" }).icon("close").click();+ H.filterWidget({ name: "Q2 2026" }).icon("close").click();// Order ID is 926 - there should be only one result after thisH.filterWidget().contains("Order ID").click();@@ -138,7 +138,7 @@ describe("scenarios > embedding > native questions", () => {H.tableInteractiveBody().findAllByRole("row").should("have.length", 1);// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("December 29, 2024, 4:54 AM");+ cy.findByText("December 29, 2027, 4:54 AM");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("CO");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage@@ -271,13 +271,13 @@ describe("scenarios > embedding > native questions", () => {};H.visitEmbeddedPage(payload, {- setFilters: { created_at: "Q2-2025", source: "Organic", state: "OR" },+ setFilters: { created_at: "Q2-2028", source: "Organic", state: "OR" },});H.filterWidget().should("have.length", 4).and("contain", "OR")- .and("contain", "Q2 2025");+ .and("contain", "Q2 2028");// Why do we use input field in one filter widget but a simple `span` in the other one?cy.findByDisplayValue("Organic");@@ -318,7 +318,7 @@ describe("scenarios > embedding > native questions", () => {id: [92, 96, 102, 104],product_id: [140],state: ["AK", "TX"],- created_at: "Q3-2024",+ created_at: "Q3-2027",total: [10],source: ["Organic"],},diff --git a/e2e/test/scenarios/embedding/embedding-questions.cy.spec.js b/e2e/test/scenarios/embedding/embedding-questions.cy.spec.jsindex 7eb7cf34a4e..7e1cbc449ef 100644--- a/e2e/test/scenarios/embedding/embedding-questions.cy.spec.js+++ b/e2e/test/scenarios/embedding/embedding-questions.cy.spec.js@@ -103,7 +103,7 @@ describe("scenarios > embedding > questions", () => {// Question settings: Column formatingcy.findByText("€39.72");// Question settings: Abbreviated date, day enabled, 24H clock with seconds- cy.findByText("Tue, Feb 11, 2025, 21:40:27");+ cy.findByText("Fri, Feb 11, 2028, 21:40:27");// Question settings: Show mini-barcy.findAllByTestId("mini-bar-container");@@ -131,9 +131,9 @@ describe("scenarios > embedding > questions", () => {assertOnXYAxisLabels({ xLabel: "Created At", yLabel: "Count" });H.echartsContainer()- .findAllByText(/2022/)+ .findAllByText(/2025/).should("have.length", 5)- .and("contain", "Apr 2022");+ .and("contain", "Apr 2025");H.echartsContainer().should("contain", "60");@@ -142,7 +142,7 @@ describe("scenarios > embedding > questions", () => {H.cartesianChartCircle().last().trigger("mousemove");H.assertEChartsTooltip({- header: "Aug 2022",+ header: "Aug 2025",rows: [{ name: "2", value: "79" }],});});@@ -185,7 +185,7 @@ describe("scenarios > embedding > questions", () => {// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("39.72");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("February 11, 2025, 9:40 PM");+ cy.findByText("February 11, 2028, 9:40 PM");cy.findAllByTestId("mini-bar-container").should("not.exist");@@ -217,7 +217,7 @@ describe("scenarios > embedding > questions", () => {.should("contain", "Math").should("contain", "Billed").should("contain", "€39.72")- .should("contain", "Tue, Feb 11, 2025, 21:40:27")+ .should("contain", "Fri, Feb 11, 2028, 21:40:27").should("not.contain", "Subtotal");cy.findAllByTestId("mini-bar-container").should("have.length", 5);@@ -228,7 +228,7 @@ describe("scenarios > embedding > questions", () => {.should("contain", "98.52598640° W").should("contain", "User → Birth Date").should("contain", "December 12, 1986")- .should("contain", "October 7, 2023, 1:34 AM");+ .should("contain", "October 7, 2026, 1:34 AM");});});@@ -273,7 +273,7 @@ describe("scenarios [EE] > embedding > questions", () => {cy.wait("@deLocale");- H.main().findByText("Februar 11, 2025, 9:40 PM").realHover();+ H.main().findByText("Februar 11, 2028, 9:40 PM").realHover();cy.findByRole("button", { name: "Ergebnis downloaden" }).should("exist");cy.url().should("include", "locale=de");});diff --git a/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js b/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.jsindex 216e6d0a450..01851470c45 100644--- a/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js+++ b/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js@@ -1074,8 +1074,8 @@ describe("issue 8490", () => {filter: ["between",["field", PRODUCTS.CREATED_AT, { "base-type": "type/DateTime" }],- "2024-01-01",- "2025-01-01",+ "2027-01-01",+ "2028-01-01",],},limit: 100,@@ -1108,8 +1108,8 @@ describe("issue 8490", () => {["between",["field", ORDERS.CREATED_AT, { "base-type": "type/DateTime" }],- "2024-10-01",- "2024-12-01",+ "2027-10-01",+ "2027-12-01",],["=",diff --git a/e2e/test/scenarios/embedding/sdk-iframe-embedding/sdk-iframe-embedding.cy.spec.ts b/e2e/test/scenarios/embedding/sdk-iframe-embedding/sdk-iframe-embedding.cy.spec.tsindex 6293aca8f58..0fdae9a3070 100644--- a/e2e/test/scenarios/embedding/sdk-iframe-embedding/sdk-iframe-embedding.cy.spec.ts+++ b/e2e/test/scenarios/embedding/sdk-iframe-embedding/sdk-iframe-embedding.cy.spec.ts@@ -523,7 +523,7 @@ describe("scenarios > embedding > modular embedding", () => {});frame.within(() => {- cy.findByText("Order 448").click();+ cy.findByText("Order 1").click();});cy.log("Verify handleLink was called with the correct URL");@@ -531,7 +531,7 @@ describe("scenarios > embedding > modular embedding", () => {.its("handleLinkCalls").should("have.length", 1).its(0)- .should("include", "https://example.org/order/448");+ .should("include", "https://example.org/order/1");cy.log("Verify that no default navigation happened");cy.get("iframe")diff --git a/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-1.cy.spec.js b/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-1.cy.spec.jsindex aa39f8ec8fb..3cc4aaf2f8c 100644--- a/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-1.cy.spec.js+++ b/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-1.cy.spec.js@@ -218,11 +218,11 @@ describe("issue 12720, issue 47172", () => {cy.findAllByTestId("dashcard-container").contains(title).click();cy.location("search").should("contain", dashboardFilter.default);- H.filterWidget().contains("After January 1, 2026");+ H.filterWidget().contains("After January 1, 2029");}- // After January 1st, 2026+ // After January 1st, 2029const dashboardFilter = {- default: "2026-01-01~",+ default: "2029-01-01~",id: "d3b78b27",name: "Date Filter",slug: "date_filter",@@ -585,7 +585,7 @@ describe("issue 16663", () => {id: "f8ae0c97",type: "date/quarter-year",sectionId: "date",- default: "Q1-2023",+ default: "Q1-2026",};const dashboardDetails = { parameters: [FILTER] };@@ -853,10 +853,10 @@ describe("issue 17775", () => {it("should be able to apply dashboard filter to a custom column (metabase#17775)", () => {H.filterWidget().click();- setQuarterAndYear({ quarter: "Q1", year: "2023" });+ setQuarterAndYear({ quarter: "Q1", year: "2026" });cy.findAllByText("44.43").should("have.length", 2);- cy.findAllByText("March 26, 2023, 8:45 AM").should("have.length", 2);+ cy.findAllByText("March 26, 2026, 8:45 AM").should("have.length", 2);});});diff --git a/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-2.cy.spec.js b/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-2.cy.spec.jsindex 1a3e7bf5796..40f98d2167c 100644--- a/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-2.cy.spec.js+++ b/e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions-2.cy.spec.js@@ -819,7 +819,7 @@ describe("issue 34955", () => {cy.findAllByRole("columnheader").eq(-1).should("have.text", ccName);H.tableInteractiveBody().findAllByRole("gridcell")- .filter(":contains(May 15, 2024, 8:04 AM)")+ .filter(":contains(May 15, 2027, 8:04 AM)").should("have.length", 2);});});@@ -827,21 +827,21 @@ describe("issue 34955", () => {it("should connect specific date filter (`Between`) to the temporal custom column (metabase#34955)", () => {cy.get("@dashboardId").then((dashboard_id) => {// Apply filter through URL to prevent the typing flakes- cy.visit(`/dashboard/${dashboard_id}?on=&between=2024-01-01~2024-03-01`);- checkAppliedFilter("Between", "January 1, 2024 - March 1, 2024");+ cy.visit(`/dashboard/${dashboard_id}?on=&between=2027-01-01~2027-03-01`);+ checkAppliedFilter("Between", "January 1, 2027 - March 1, 2027");cy.findAllByTestId("cell-data")- .filter(":contains(January 1, 2024, 7:26 AM)")+ .filter(":contains(January 1, 2027, 7:26 AM)").should("have.length", 2);});cy.get("@dashboardId").then((dashboard_id) => {// Apply filter through URL to prevent the typing flakes- cy.visit(`/dashboard/${dashboard_id}?on=2024-01-01&between=`);- checkAppliedFilter("On", "January 1, 2024");+ cy.visit(`/dashboard/${dashboard_id}?on=2027-01-01&between=`);+ checkAppliedFilter("On", "January 1, 2027");cy.findAllByTestId("cell-data")- .filter(":contains(January 1, 2024, 7:26 AM)")+ .filter(":contains(January 1, 2027, 7:26 AM)").should("have.length", 2);});});@@ -1629,7 +1629,7 @@ describe("issue 54236", () => {beforeEach(() => {H.restore();cy.signInAsNormalUser();- cy.clock(new Date("2025-02-26"));+ cy.clock(new Date("2028-02-26"));});it("should show correct date range in the date picker (metabase#54236)", () => {@@ -1647,8 +1647,8 @@ describe("issue 54236", () => {H.popover().within(() => {cy.icon("arrow_left_to_line").click();cy.findByDisplayValue("4").clear().type("1");- cy.findByText("Jul 1 – Sep 30, 2025").should("be.visible");- cy.findByText("Apr 1 – Jun 30, 2025").should("not.exist");+ cy.findByText("Jul 1 – Sep 30, 2028").should("be.visible");+ cy.findByText("Apr 1 – Jun 30, 2028").should("not.exist");});});});@@ -1865,7 +1865,7 @@ describe("issue 55678", () => {id: "f8ec7c71",type: "date/all-options",sectionId: "date",- default: "2020-01-01~2024-12-31",+ default: "2020-01-01~2027-12-31",};const questionDetails = {@@ -1930,7 +1930,7 @@ describe("issue 55678", () => {});H.popover().findByText("See this Order").click();H.queryBuilderFiltersPanel()- .findByText("Created At: Month is Apr 1–30, 2022")+ .findByText("Created At: Month is Apr 1–30, 2025").should("be.visible");H.assertQueryBuilderRowCount(1);});diff --git a/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js b/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.jsindex 74123fc363e..92c37aa7791 100644--- a/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js+++ b/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js@@ -951,8 +951,8 @@ describe("issue 35043", () => {"base-type": "type/DateTime",},],- "2024-04-15",- "2024-05-22",+ "2027-04-15",+ "2027-05-22",],limit: 5,},@@ -963,12 +963,12 @@ describe("issue 35043", () => {cy.findByTestId("filters-visibility-control").click();cy.findByTestId("filter-pill")- .should("have.text", "Created At is Apr 15 – May 22, 2024")+ .should("have.text", "Created At is Apr 15 – May 22, 2027").click();cy.findByTestId("date-filter-picker").within(() => {cy.intercept("POST", "/api/dataset").as("dataset");- cy.findByDisplayValue("May 22, 2024").type("{backspace}2").blur();+ cy.findByDisplayValue("May 22, 2027").type("{backspace}2").blur();cy.findByDisplayValue("May 22, 2022").should("exist");cy.button("Update filter").click();@@ -977,7 +977,7 @@ describe("issue 35043", () => {cy.findByTestId("filter-pill").should("have.text",- "Created At is May 22, 2022 – Apr 15, 2024",+ "Created At is May 22, 2022 – Apr 15, 2027",);});});@@ -1498,7 +1498,7 @@ describe("issue QUE-2567", () => {5,"day",],- Bar: ["datetime", "2025-12-24"],+ Bar: ["datetime", "2028-12-24"],},},},diff --git a/e2e/test/scenarios/filters/filter-types.cy.spec.js b/e2e/test/scenarios/filters/filter-types.cy.spec.jsindex a4187dcb939..80d816d8b10 100644--- a/e2e/test/scenarios/filters/filter-types.cy.spec.js+++ b/e2e/test/scenarios/filters/filter-types.cy.spec.js@@ -299,14 +299,14 @@ const EXCLUDE_DATE_CASES = [label: "Days of the week…",options: ["Monday"],expectedDisplayName: "Created At excludes Mondays",- expectedRowCount: 166,+ expectedRowCount: 170, // this might change based on a year},{title: "day of week, multiple",label: "Days of the week…",options: ["Monday", "Wednesday"],expectedDisplayName: "Created At excludes 2 day of week selections",- expectedRowCount: 132,+ expectedRowCount: 142, // this might change based on a year},{title: "month of year",diff --git a/e2e/test/scenarios/filters/filter.cy.spec.js b/e2e/test/scenarios/filters/filter.cy.spec.jsindex 190ceb1544a..01e867a0761 100644--- a/e2e/test/scenarios/filters/filter.cy.spec.js+++ b/e2e/test/scenarios/filters/filter.cy.spec.js@@ -54,14 +54,14 @@ describe("scenarios > question > filter", () => {["between",["field", PRODUCTS.CREATED_AT, null],- "2025-04-15",- "2025-04-15",+ "2028-04-15",+ "2028-04-15",],["between",["field", PRODUCTS.CREATED_AT, { "join-alias": "Products" }],- "2025-04-15",- "2025-04-15",+ "2028-04-15",+ "2028-04-15",],],joins: [@@ -153,7 +153,7 @@ describe("scenarios > question > filter", () => {query: {"source-query": {"source-table": ORDERS_ID,- filter: [">", ["field", ORDERS.CREATED_AT, null], "2026-01-01"],+ filter: [">", ["field", ORDERS.CREATED_AT, null], "2029-01-01"],aggregation: [["count"]],breakout: [["field", ORDERS.CREATED_AT, { "temporal-unit": "day" }],diff --git a/e2e/test/scenarios/joins/joins-reproductions.cy.spec.js b/e2e/test/scenarios/joins/joins-reproductions.cy.spec.jsindex b21761b321b..69e09ae9f4d 100644--- a/e2e/test/scenarios/joins/joins-reproductions.cy.spec.js+++ b/e2e/test/scenarios/joins/joins-reproductions.cy.spec.js@@ -405,7 +405,7 @@ describe("issue 18502", () => {});// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("April 2022");+ cy.findByText("April 2025");});});diff --git a/e2e/test/scenarios/metrics/metrics-explorer.cy.spec.ts b/e2e/test/scenarios/metrics/metrics-explorer.cy.spec.tsindex e5cb5745693..4aff730913e 100644--- a/e2e/test/scenarios/metrics/metrics-explorer.cy.spec.ts+++ b/e2e/test/scenarios/metrics/metrics-explorer.cy.spec.ts@@ -421,7 +421,7 @@ describe("scenarios > metrics > explorer", () => {H.MetricsViewer.breakoutLegend().within(() => {cy.findByRole("heading", { name: "Created At" }).should("be.visible");const currentYear = new Date().getFullYear();- for (let year = 2022; year <= currentYear; year++) {+ for (let year = 2025; year <= currentYear; year++) {cy.findByText(String(year)).should("be.visible");}});@@ -1426,10 +1426,10 @@ describe("scenarios > metrics > explorer", () => {H.popover().within(() => {cy.findByRole("textbox", { name: "Start date" }).clear()- .type("February 7, 2024");+ .type("February 7, 2027");cy.findByRole("textbox", { name: "End date" }).clear()- .type("July 7, 2024");+ .type("July 7, 2027");cy.button("Add filter").click();});@@ -1445,7 +1445,7 @@ describe("scenarios > metrics > explorer", () => {H.popover().within(() => {cy.findByRole("textbox", { name: "Start date" }).clear()- .type("January 1, 2024");+ .type("January 1, 2027");cy.button("Update filter").click();});@@ -1495,10 +1495,10 @@ describe("scenarios > metrics > explorer", () => {H.popover().within(() => {cy.findByRole("textbox", { name: "Start date" }).clear()- .type("February 1, 2024");+ .type("February 1, 2027");cy.findByRole("textbox", { name: "End date" }).clear()- .type("February 7, 2024");+ .type("February 7, 2027");cy.button("Add filter").click();});@@ -1580,7 +1580,7 @@ describe("scenarios > metrics > explorer", () => {.should("exist");H.MetricsViewer.getMetricVisualizationDataPoints().should("have.length",- 12,+ 10,);});diff --git a/e2e/test/scenarios/metrics/metrics-question.cy.spec.js b/e2e/test/scenarios/metrics/metrics-question.cy.spec.jsindex 1ff5eac4e84..ad2867d2cbc 100644--- a/e2e/test/scenarios/metrics/metrics-question.cy.spec.js+++ b/e2e/test/scenarios/metrics/metrics-question.cy.spec.js@@ -183,7 +183,7 @@ describe("scenarios > metrics > question", () => {H.popover().findByText("See these Orders").click();cy.wait("@dataset");cy.findByTestId("qb-filters-panel")- .findByText("Created At: Month is Mar 1–31, 2024")+ .findByText("Created At: Month is Mar 1–31, 2027").should("be.visible");H.assertQueryBuilderRowCount(445);});diff --git a/e2e/test/scenarios/models/models-list-view.cy.spec.js b/e2e/test/scenarios/models/models-list-view.cy.spec.jsindex 1f621ac09d9..93bd7c3faee 100644--- a/e2e/test/scenarios/models/models-list-view.cy.spec.js+++ b/e2e/test/scenarios/models/models-list-view.cy.spec.js@@ -128,7 +128,7 @@ describe("scenarios > models list view", () => {cy.log("Verify preview updates with CREATED_AT value");cy.get("@listPreview").within(() => {- cy.findByText("February 11, 2025, 9:40 PM").should("be.visible");+ cy.findByText("February 11, 2028, 9:40 PM").should("be.visible");});cy.log("Remove TAX column");@@ -202,7 +202,7 @@ describe("scenarios > models list view", () => {cy.findAllByRole("img").first().should("have.attr", "aria-label", "factory icon");- cy.findByText("February 11, 2025, 9:40 PM").should("be.visible");+ cy.findByText("February 11, 2028, 9:40 PM").should("be.visible");cy.findByText("14").should("be.visible");cy.findByText("37.65").should("be.visible");cy.findByText("2.07").should("not.exist");diff --git a/e2e/test/scenarios/models/reproductions-3.cy.spec.ts b/e2e/test/scenarios/models/reproductions-3.cy.spec.tsindex 4c742130f8d..fa8fd0a7b73 100644--- a/e2e/test/scenarios/models/reproductions-3.cy.spec.ts+++ b/e2e/test/scenarios/models/reproductions-3.cy.spec.ts@@ -547,11 +547,11 @@ describe("issue 53604 - nested native question with multiple breakouts on same ccy.wait("@dataset");cy.findByTestId("qb-filters-panel").findByText(- "CREATED_AT is May 1–31, 2024",+ "CREATED_AT is May 1–31, 2027",);cy.findByTestId("qb-filters-panel").findByText(- "CREATED_AT: Year is Jan 1 – Dec 31, 2024",+ "CREATED_AT: Year is Jan 1 – Dec 31, 2027",);H.assertQueryBuilderRowCount(520);@@ -625,7 +625,7 @@ describe("issue 54108 - nested question broken out by day", () => {cy.wait("@dataset");cy.findByTestId("qb-filters-panel").findByText(- "CREATED_AT is Oct 11, 2023",+ "CREATED_AT is Oct 11, 2026",);H.assertQueryBuilderRowCount(6);diff --git a/e2e/test/scenarios/models/reproductions.cy.spec.js b/e2e/test/scenarios/models/reproductions.cy.spec.jsindex 20627aa73d0..475e62ed2d5 100644--- a/e2e/test/scenarios/models/reproductions.cy.spec.js+++ b/e2e/test/scenarios/models/reproductions.cy.spec.js@@ -559,7 +559,7 @@ describe("issue 29517 - nested question based on native model with remapped valucy.wait("@dataset");cy.findByTestId("qb-filters-panel").findByText(- "Created At is May 1–31, 2024",+ "Created At is May 1–31, 2027",);H.assertQueryBuilderRowCount(520);@@ -662,7 +662,7 @@ describe("issue 53556 - nested question based on native model with remapped valucy.wait("@dataset");cy.findByTestId("qb-filters-panel").findByText(- "Created At is May 1–31, 2024",+ "Created At is May 1–31, 2027",);cy.findByTestId("qb-filters-panel").findByText(@@ -708,10 +708,10 @@ describe("issue 53556 - nested question based on native model with remapped valucy.wait("@dataset");cy.findByTestId("qb-filters-panel").findByText(- "Created At is May 1–31, 2024",+ "Created At is May 1–31, 2027",);- H.assertQueryBuilderRowCount(36);+ H.assertQueryBuilderRowCount(43);});it("Sort drill-through should work (metabase#53556)", () => {@@ -731,8 +731,8 @@ describe("issue 53556 - nested question based on native model with remapped valuH.assertTableData({columns: ["Created At: Month", "Total: 8 bins", "Count"],firstRows: [- ["January 2024", "140 – 160", "18"],- ["February 2024", "140 – 160", "17"],+ ["January 2027", "140 – 160", "18"],+ ["February 2027", "140 – 160", "17"],],});@@ -746,8 +746,8 @@ describe("issue 53556 - nested question based on native model with remapped valuH.assertTableData({columns: ["Created At: Month", "Total: 8 bins", "Count"],firstRows: [- ["December 2023", "-60 – -40", "1"],- ["September 2022", "0 – 20", "2"],+ ["December 2026", "-60 – -40", "1"],+ ["September 2025", "0 – 20", "2"],],});@@ -761,8 +761,8 @@ describe("issue 53556 - nested question based on native model with remapped valuH.assertTableData({columns: ["Created At: Month", "Total: 8 bins", "Count"],firstRows: [- ["April 2026", "20 – 40", "27"],- ["April 2026", "40 – 60", "57"],+ ["April 2029", "20 – 40", "27"],+ ["April 2029", "40 – 60", "57"],],});@@ -776,8 +776,8 @@ describe("issue 53556 - nested question based on native model with remapped valuH.assertTableData({columns: ["Created At: Month", "Total: 8 bins", "Count"],firstRows: [- ["April 2022", "40 – 60", "1"],- ["May 2022", "20 – 40", "1"],+ ["April 2025", "40 – 60", "1"],+ ["May 2025", "20 – 40", "1"],],});});@@ -1212,7 +1212,7 @@ describe("cumulative count - issue 33330", () => {cy.findAllByTestId("header-cell").should("contain", "Created At: Month").and("contain", "Cumulative count");- cy.findAllByTestId("cell-data").should("contain", "June 2022");+ cy.findAllByTestId("cell-data").should("contain", "June 2025");});it("should still work after turning a question into model (metabase#33330-1)", () => {@@ -1220,7 +1220,7 @@ describe("cumulative count - issue 33330", () => {cy.findAllByTestId("header-cell").should("contain", "Created At: Month").and("contain", "Cumulative count");- cy.findAllByTestId("cell-data").should("contain", "June 2022");+ cy.findAllByTestId("cell-data").should("contain", "June 2025");});it("should still work after applying a post-aggregation filter (metabase#33330-2)", () => {diff --git a/e2e/test/scenarios/native-filters/helpers/e2e-field-filter-data-objects.js b/e2e/test/scenarios/native-filters/helpers/e2e-field-filter-data-objects.jsindex 3e02de240b2..3f0126bcc65 100644--- a/e2e/test/scenarios/native-filters/helpers/e2e-field-filter-data-objects.js+++ b/e2e/test/scenarios/native-filters/helpers/e2e-field-filter-data-objects.js@@ -1,5 +1,3 @@-import dayjs from "dayjs";-export const STRING_FILTER_SUBTYPES = {String: {searchTerm: "Synerg",@@ -62,38 +60,33 @@ export const DATE_FILTER_SUBTYPES = {"Month and Year": {value: {month: "Sep",- year: "2022",+ year: "2025",},representativeResult: "Aerodynamic Paper Computer",},"Quarter and Year": {value: {quarter: "Q2",- year: "2022",+ year: "2025",},representativeResult: "Synergistic Steel Chair",},"Single Date": {- value: "05/24/2022",+ value: "05/24/2025",representativeResult: "Synergistic Steel Chair",},"Date Range": {value: {- startDate: "05/25/2022",- endDate: "06/01/2022",+ startDate: "05/25/2025",+ endDate: "06/01/2025",},representativeResult: "Gorgeous Wooden Car",},"All Options": {value: {- timeBucket: "month",- quantity:- // When the filter is "Previous N months", we must ensure that N is large- // enough that the representative result appears. For this filter, the- // representative result is Synergistic Steel Chair, created on May 24,- // 2022.- dayjs().diff(dayjs("2022-05-24"), "month") + 2,+ timeBucket: "year",+ quantity: 12,},- representativeResult: "Rustic Paper Wallet",+ representativeResult: "Ergonomic Paper Wallet",},};diff --git a/e2e/test/scenarios/native-filters/native-filters-reproductions.cy.spec.js b/e2e/test/scenarios/native-filters/native-filters-reproductions.cy.spec.jsindex a7dc427c704..e935a1fc998 100644--- a/e2e/test/scenarios/native-filters/native-filters-reproductions.cy.spec.js+++ b/e2e/test/scenarios/native-filters/native-filters-reproductions.cy.spec.js@@ -151,7 +151,7 @@ describe("issue 12228", () => {it("can load a question with a date filter (metabase#12228)", () => {H.createNativeQuestion(nativeQuery).then(({ body: { id } }) => {- cy.visit(`/question/${id}?created_at=2026-01`);+ cy.visit(`/question/${id}?created_at=2029-01`);cy.contains("580");});});@@ -668,7 +668,7 @@ describe("issue 16756", () => {H.createNativeQuestion(questionDetails).then(({ body: { id } }) => {cy.intercept("POST", `/api/card/**/${id}/query`).as("cardQuery");- cy.visit(`/question/${id}?filter=2024-03-31~2025-03-31`);+ cy.visit(`/question/${id}?filter=2027-03-31~2028-03-31`);cy.wait("@cardQuery");});@@ -687,8 +687,8 @@ describe("issue 16756", () => {// The previous filter value should resetcy.location("search").should("eq", "?filter=");- cy.log("Set the date to the 15th of October 2023");- cy.clock(new Date("2023-10-31"), ["Date"]);+ cy.log("Set the date to the 15th of October 2026");+ cy.clock(new Date("2026-10-31"), ["Date"]);H.filterWidget().click();H.popover().contains("15").click();@@ -888,8 +888,8 @@ describe("issue 21246", () => {});it("should be able to use sub-query referencing a GUI question and date based filters (metabase#21246)", () => {- const fieldFilterValue = "filter=2024-02";- const dateFilterValue = "datevariable=2024-02-19";+ const fieldFilterValue = "filter=2027-02";+ const dateFilterValue = "datevariable=2027-02-19";cy.get("@questionId").then((id) => {// Let's set filter values directly through URL, rather than through the UI@@ -1272,7 +1272,7 @@ describe("issue 58061", () => {}).then(({ body: card }) => {cy.visit({url: `/question/${card.id}`,- qs: { filter: "2024-09-08" },+ qs: { filter: "2027-09-08" },});cy.wait("@cardQuery");H.assertQueryBuilderRowCount(1);diff --git a/e2e/test/scenarios/native-filters/sql-field-filter.cy.spec.js b/e2e/test/scenarios/native-filters/sql-field-filter.cy.spec.jsindex c2fa7ffa47f..42990d85d9d 100644--- a/e2e/test/scenarios/native-filters/sql-field-filter.cy.spec.js+++ b/e2e/test/scenarios/native-filters/sql-field-filter.cy.spec.js@@ -215,7 +215,7 @@ describe("scenarios > filters > sql filters > field filter", () => {H.filterWidget().click();H.popover().findByText("Month").click();SQLFilter.runQuery();- H.tableInteractive().should("contain", "April 1, 2022");+ H.tableInteractive().should("contain", "April 1, 2025");});});diff --git a/e2e/test/scenarios/native-filters/sql-filters-reset-clear.cy.spec.ts b/e2e/test/scenarios/native-filters/sql-filters-reset-clear.cy.spec.tsindex c8dc2696084..7ab9f22de79 100644--- a/e2e/test/scenarios/native-filters/sql-filters-reset-clear.cy.spec.ts+++ b/e2e/test/scenarios/native-filters/sql-filters-reset-clear.cy.spec.ts@@ -129,7 +129,7 @@ describe("scenarios > filters > sql filters > reset & clear", () => {"display-name": DEFAULT_NON_REQUIRED,id: "75d67d38",type: "date",- default: "2024-01-01",+ default: "2027-01-01",},default_required: {name: "default_required",@@ -137,12 +137,12 @@ describe("scenarios > filters > sql filters > reset & clear", () => {id: "60f12ac8",type: "date",required: true,- default: "2024-01-01",+ default: "2027-01-01",},});checkNativeParametersDropdown({- defaultValueFormatted: "January 1, 2024",+ defaultValueFormatted: "January 1, 2027",otherValue: "01/01/2020",otherValueFormatted: "January 1, 2020",setValue: (value) => {@@ -154,7 +154,7 @@ describe("scenarios > filters > sql filters > reset & clear", () => {});checkParameterSidebarDefaultValueDate({- defaultValueFormatted: "January 1, 2024",+ defaultValueFormatted: "January 1, 2027",otherValue: "01/01/2020",otherValueFormatted: "January 1, 2020",});diff --git a/e2e/test/scenarios/native-filters/sql-filters.cy.spec.js b/e2e/test/scenarios/native-filters/sql-filters.cy.spec.jsindex 3b9562c7ed7..5def78b449a 100644--- a/e2e/test/scenarios/native-filters/sql-filters.cy.spec.js+++ b/e2e/test/scenarios/native-filters/sql-filters.cy.spec.js@@ -211,14 +211,14 @@ describe("scenarios > filters > sql filters > basic filter types", () => {});it("when there's a default value, enabling required sets it as a parameter value", () => {- setDefaultDate("2023", "11", "01");+ setDefaultDate("2026", "11", "01");H.filterWidget().icon("close").click();SQLFilter.toggleRequired();- H.filterWidget().should("contain.text", "November 1, 2023");+ H.filterWidget().should("contain.text", "November 1, 2026");});it("when there's a default value and template tag is required, can reset it back", () => {- setDefaultDate("2023", "11", "01");+ setDefaultDate("2026", "11", "01");SQLFilter.toggleRequired();H.filterWidget().click();H.popover().within(() => {@@ -226,7 +226,7 @@ describe("scenarios > filters > sql filters > basic filter types", () => {cy.findByText("Update filter").click();});H.filterWidget().icon("revert").click();- H.filterWidget().should("contain.text", "November 1, 2023");+ H.filterWidget().should("contain.text", "November 1, 2026");});});});diff --git a/e2e/test/scenarios/native/native-reproductions.cy.spec.js b/e2e/test/scenarios/native/native-reproductions.cy.spec.jsindex a7111805e21..3df3449af8a 100644--- a/e2e/test/scenarios/native/native-reproductions.cy.spec.js+++ b/e2e/test/scenarios/native/native-reproductions.cy.spec.js@@ -762,7 +762,7 @@ describe("issue 35785", () => {name: "from","display-name": "From",type: "date",- default: "2022-10-02",+ default: "2025-10-02",required: true,},},diff --git a/e2e/test/scenarios/native/native.cy.spec.js b/e2e/test/scenarios/native/native.cy.spec.jsindex 9d29c1aaabc..0cf24a160f7 100644--- a/e2e/test/scenarios/native/native.cy.spec.js+++ b/e2e/test/scenarios/native/native.cy.spec.js@@ -228,7 +228,7 @@ describe("scenarios > question > native", () => {H.runNativeQuery();cy.findByTestId("query-visualization-root").should("contain",- "January 1, 2022",+ "January 1, 2025",);});@@ -288,7 +288,7 @@ describe("scenarios > question > native", () => {);cy.findByTestId("visualization-root").should("contain",- "January 1, 2022",+ "January 1, 2025",);cy.get("@q2").then((questionId) => {@@ -310,7 +310,7 @@ describe("scenarios > question > native", () => {cy.findByTestId("visualization-root").should("contain",- "January 1, 2022",+ "January 1, 2025",);});@@ -391,8 +391,8 @@ describe("scenarios > question > native", () => {});cy.findByTestId("visualization-root")- .should("contain", "January 1, 2022")- .should("contain", "January 1, 2023");+ .should("contain", "January 1, 2025")+ .should("contain", "January 1, 2026");});it("should handle time grouping in optional clause without default value", () => {@@ -428,7 +428,7 @@ describe("scenarios > question > native", () => {});cy.findByTestId("query-visualization-root")- .should("not.contain", "October 7, 2023, 1:34 AM")+ .should("not.contain", "October 7, 2026, 1:34 AM").should("not.contain", "UNIT");});diff --git a/e2e/test/scenarios/organization/timelines-question.cy.spec.js b/e2e/test/scenarios/organization/timelines-question.cy.spec.jsindex 2c8b5a9bf93..d0f043d7056 100644--- a/e2e/test/scenarios/organization/timelines-question.cy.spec.js+++ b/e2e/test/scenarios/organization/timelines-question.cy.spec.js@@ -29,7 +29,7 @@ describe("scenarios > organization > timelines > question", () => {cy.findByText("Create event").click();cy.findByLabelText("Event name").type("RC1");- cy.findByLabelText("Date").type("10/20/2024");+ cy.findByLabelText("Date").type("10/20/2027");cy.button("Create").click();cy.wait("@createEvent");@@ -42,7 +42,7 @@ describe("scenarios > organization > timelines > question", () => {it("should create an event within the default timeline", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestion(ORDERS_BY_YEAR_QUESTION_ID);@@ -55,7 +55,7 @@ describe("scenarios > organization > timelines > question", () => {cy.findByText("Create event").click();cy.findByLabelText("Event name").type("RC2");- cy.findByLabelText("Date").type("10/30/2024");+ cy.findByLabelText("Date").type("10/30/2027");cy.button("Create").click();cy.wait("@createEvent");@@ -71,9 +71,9 @@ describe("scenarios > organization > timelines > question", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },events: [- { name: "v1", timestamp: "2027-01-01T00:00:00Z" },- { name: "v2", timestamp: "2023-01-01T00:00:00Z" },- { name: "v3", timestamp: "2026-01-01T00:00:00Z" },+ { name: "v1", timestamp: "2030-01-01T00:00:00Z" },+ { name: "v2", timestamp: "2026-01-01T00:00:00Z" },+ { name: "v3", timestamp: "2029-01-01T00:00:00Z" },],});@@ -102,7 +102,7 @@ describe("scenarios > organization > timelines > question", () => {it("should edit an event", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestion(ORDERS_BY_YEAR_QUESTION_ID);@@ -132,7 +132,7 @@ describe("scenarios > organization > timelines > question", () => {H.createTimeline({ name: "Releases" });H.createTimelineWithEvents({timeline: { name: "Builds" },- events: [{ name: "RC2", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC2", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestion(ORDERS_BY_YEAR_QUESTION_ID);@@ -160,7 +160,7 @@ describe("scenarios > organization > timelines > question", () => {it("should archive and unarchive an event", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestion(ORDERS_BY_YEAR_QUESTION_ID);@@ -194,7 +194,7 @@ describe("scenarios > organization > timelines > question", () => {{name: "RC1",description: "[Release notes](https://metabase.test)",- timestamp: "2024-10-20T00:00:00Z",+ timestamp: "2027-10-20T00:00:00Z",},],});@@ -211,7 +211,7 @@ describe("scenarios > organization > timelines > question", () => {it("should show events for ad-hoc questions", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestionAdhoc({@@ -239,7 +239,7 @@ describe("scenarios > organization > timelines > question", () => {it("should not show events for non-timeseries questions", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestionAdhoc({@@ -269,7 +269,7 @@ describe("scenarios > organization > timelines > question", () => {it("should show events for native queries", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});H.visitQuestionAdhoc({@@ -300,7 +300,7 @@ describe("scenarios > organization > timelines > question", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },events: [- { name: "RC1", timestamp: "2024-10-20T00:00:00Z", icon: "cloud" },+ { name: "RC1", timestamp: "2027-10-20T00:00:00Z", icon: "cloud" },],});@@ -310,7 +310,7 @@ describe("scenarios > organization > timelines > question", () => {collection_id: PARENT_COLLECTION_ID,},events: [- { name: "TC1", timestamp: "2022-05-20T00:00:00Z", icon: "warning" },+ { name: "TC1", timestamp: "2025-05-20T00:00:00Z", icon: "warning" },],});@@ -336,7 +336,7 @@ describe("scenarios > organization > timelines > question", () => {// should show a newly created eventcy.button("Create event").click();cy.findByLabelText("Event name").type("RC2");- cy.findByLabelText("Date").clear().type("10/20/2023");+ cy.findByLabelText("Date").clear().type("10/20/2026");cy.button("Create").click();waitForTimelinesAfterCreatingAnEvent("RC2");@@ -399,7 +399,7 @@ describe("scenarios > organization > timelines > question", () => {* This tests the case where group by unit with the event in the end range bucket* not included when it's the only event selected.*- * e.g. group by month from 2024-01-01 to 2025-01-01 with event at 2025-01-15,+ * e.g. group by month from 2027-01-01 to 2028-01-01 with event at 2028-01-15,* it should be included, but was not previously*/cy.log(@@ -409,7 +409,7 @@ describe("scenarios > organization > timelines > question", () => {H.modal().within(() => {cy.findByLabelText("Event name").type("Event at the end of range");- cy.findByLabelText("Date").clear().type("10/20/2026");+ cy.findByLabelText("Date").clear().type("10/20/2029");cy.button("Create").click();});@@ -430,7 +430,7 @@ describe("scenarios > organization > timelines > question", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },events: [- { name: "RC1", timestamp: "2024-10-20T00:00:00Z", icon: "star" },+ { name: "RC1", timestamp: "2027-10-20T00:00:00Z", icon: "star" },],});@@ -445,7 +445,7 @@ describe("scenarios > organization > timelines > question", () => {H.createTimelineWithEvents({timeline: { name: "Releases" },events: [- { name: "RC1", timestamp: "2024-10-20T00:00:00Z", icon: "star" },+ { name: "RC1", timestamp: "2027-10-20T00:00:00Z", icon: "star" },],});@@ -472,13 +472,25 @@ describe("scenarios > organization > timelines > question", () => {);});+ // TODO @nemanjaglumac 2026-04-17: Simplify or potentially remove this repro altogether!+ // It is hacky and it is fragile because it relies on the MAX date in the ORDERS table+ // so all timestamps need to be carefully hard coded relative to it.+ // I've added comments that hopefully make this easier for the next person to understand.+ // Additionally, one granularity bucket would sufficiently reproduce the issue.it("should not filter out events in last period (metabase#23336)", () => {H.createTimelineWithEvents({events: [- { name: "Last week", timestamp: "2026-04-21T12:00:00Z" },- { name: "Last month", timestamp: "2026-04-27T12:00:00Z" },- { name: "Last quarter", timestamp: "2026-05-10T12:00:00Z" },- { name: "Last year", timestamp: "2026-09-10T12:00:00Z" },+ // All events are AFTER the ORDERS max (~Apr 19, 2029) but within+ // the last bucket of their respective granularity. The bug (#23336)+ // was that events in the last period's extended range were filtered out.+ // Last week bucket is Apr 13-19 (Sun-Sat): Apr 20 is next week+ { name: "Last week", timestamp: "2029-04-20T12:00:00Z" },+ // Last month bucket is April: Apr 27 is still in April+ { name: "Last month", timestamp: "2029-04-27T12:00:00Z" },+ // Last quarter bucket is Q2: May 10 is still in Q2+ { name: "Last quarter", timestamp: "2029-05-10T12:00:00Z" },+ // Last year bucket is 2029: Sep 10 is still in 2029+ { name: "Last year", timestamp: "2029-09-10T12:00:00Z" },],});@@ -559,7 +571,7 @@ describe("scenarios > organization > timelines > question", () => {cy.signInAsAdmin();H.createTimelineWithEvents({timeline: { name: "Releases" },- events: [{ name: "RC1", timestamp: "2024-10-20T00:00:00Z" }],+ events: [{ name: "RC1", timestamp: "2027-10-20T00:00:00Z" }],});cy.signOut();cy.signIn("readonly");diff --git a/e2e/test/scenarios/permissions/permissions-baseline.cy.spec.js b/e2e/test/scenarios/permissions/permissions-baseline.cy.spec.jsindex 9b64874a143..cc0125055da 100644--- a/e2e/test/scenarios/permissions/permissions-baseline.cy.spec.js+++ b/e2e/test/scenarios/permissions/permissions-baseline.cy.spec.js@@ -48,7 +48,7 @@ describe("scenarios > permissions", () => {cy.signIn("nodata");H.visitQuestion(ORDERS_QUESTION_ID);// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.contains("February 11, 2025, 9:40 PM"); // check that the data loads+ cy.contains("February 11, 2028, 9:40 PM"); // check that the data loads});});diff --git a/e2e/test/scenarios/question-reproductions/reproductions-1.cy.spec.js b/e2e/test/scenarios/question-reproductions/reproductions-1.cy.spec.jsindex 782f4161f16..3f8612ed2ae 100644--- a/e2e/test/scenarios/question-reproductions/reproductions-1.cy.spec.js+++ b/e2e/test/scenarios/question-reproductions/reproductions-1.cy.spec.js@@ -33,7 +33,7 @@ describe("issue 4482", () => {H.visualize();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("April 1, 2022, 12:00 AM");+ cy.findByText("April 1, 2025, 12:00 AM");});it("should be possible to summarize max of a temporal column (metabase#4482-2)", () => {@@ -45,7 +45,7 @@ describe("issue 4482", () => {H.visualize();// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("April 1, 2025, 12:00 AM");+ cy.findByText("April 1, 2028, 12:00 AM");});it("should be not possible to average a temporal column (metabase#4482-3)", () => {@@ -544,16 +544,20 @@ describe("issue 17514", () => {cy.wait("@dataset");cy.findByTextEnsureVisible("Subtotal");- cy.findByTestId("view-footer")- .findByText("Showing first 2,000 rows")+ cy.findByTestId("question-row-count")+ .contains(/^Showing .+ rows$/).should("be.visible");cy.findByTestId("query-builder-main")- .findAllByText("76.83")+ .findAllByText("79.37").eq(0)+ .should("be.visible").click();- cy.findByTestId("click-actions-view").findByText("Filter by this value");+ cy.findByTestId("click-actions-view").should(+ "contain",+ "Filter by this value",+ );});});@@ -569,43 +573,38 @@ describe("issue 17514", () => {removeJoinedTable();- cy.button("Visualize").click();- cy.wait("@dataset");+ H.visualize();cy.findByTextEnsureVisible("Subtotal");- // eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Save").click();-- cy.findByTestId("save-question-modal").within((modal) => {- cy.findByText("Save").click();- });-+ cy.log("Update the question");+ cy.findByTestId("qb-header").button("Save").click();+ cy.findByTestId("save-question-modal").button("Save").click();cy.findByTestId("save-question-modal").should("not.exist");});it("should not show the run overlay because of the references to the orphaned fields (metabase#17514-2)", () => {openNotebookMode();- // eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Join data").click();+ H.join();H.miniPicker().within(() => {cy.findByText("Sample Database").click();cy.findByText("Products").click();});- cy.button("Visualize").click();+ H.visualize();- // wait until view results are done rendering- cy.wait("@dataset");+ cy.log("Wait until view results are done rendering");cy.findByTestId("query-builder-main").within(() => {cy.findByText("Doing science...").should("not.exist");});// Cypress cannot click elements that are blocked by an overlay so this will immediately fail if the issue is not fixedH.tableHeaderClick("Subtotal");- // eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Filter by this column");+ cy.findByTestId("click-actions-view").should(+ "contain",+ "Filter by this column",+ );});});});diff --git a/e2e/test/scenarios/question-reproductions/reproductions-3.cy.spec.js b/e2e/test/scenarios/question-reproductions/reproductions-3.cy.spec.jsindex 3e1ed532885..48a65acc2f6 100644--- a/e2e/test/scenarios/question-reproductions/reproductions-3.cy.spec.js+++ b/e2e/test/scenarios/question-reproductions/reproductions-3.cy.spec.js@@ -1046,9 +1046,9 @@ describe("issue 44532", () => {cy.findByText("Created At: Month").should("exist"); // x-axis// x-axis values- cy.findByText("January 2023").should("exist");- cy.findByText("January 2024").should("exist");- cy.findByText("January 2025").should("exist");+ cy.findByText("January 2026").should("exist");+ cy.findByText("January 2027").should("exist");+ cy.findByText("January 2028").should("exist");// previous x-axis valuescy.findByText("Doohickey").should("not.exist");@@ -1072,9 +1072,9 @@ describe("issue 44532", () => {cy.findByText("Created At: Month").should("exist"); // x-axis// x-axis values- cy.findByText("January 2023").should("exist");- cy.findByText("January 2024").should("exist");- cy.findByText("January 2025").should("exist");+ cy.findByText("January 2026").should("exist");+ cy.findByText("January 2027").should("exist");+ cy.findByText("January 2028").should("exist");// previous x-axis valuescy.findByText("Doohickey").should("not.exist");@@ -1119,7 +1119,7 @@ describe("issue 31960", () => {},};- // the dot that corresponds to July 10–16, 2022+ // the dot that corresponds to July 10–16, 2025const dotIndex = 10;const rowCount = 11;@@ -1140,10 +1140,8 @@ describe("issue 31960", () => {H.cartesianChartCircle().eq(dotIndex).realHover();});H.assertEChartsTooltip({- header: "July 10–16, 2022",- rows: [- { name: "Count", value: String(rowCount), secondaryValue: "+10%" },- ],+ header: "July 13–19, 2025", // expect this to break when we shift years in the Sample Database+ rows: [{ name: "Count", value: String(rowCount), secondaryValue: "0%" }],});H.getDashboardCard().within(() => {// eslint-disable-next-line metabase/no-unsafe-element-filtering@@ -1152,7 +1150,7 @@ describe("issue 31960", () => {H.popover().findByText("See these Orders").click();cy.findByTestId("qb-filters-panel")- .findByText("Created At: Week is Jul 10–16, 2022")+ .findByText("Created At: Week is Jul 13–19, 2025").should("be.visible");H.assertQueryBuilderRowCount(rowCount);});@@ -1288,18 +1286,18 @@ describe("issue 43057", () => {cy.findByText("Filter by this column").click();cy.findByText("Fixed date range…").click();cy.findByText("On").click();- cy.findByLabelText("Date").clear().type("November 18, 2024");+ cy.findByLabelText("Date").clear().type("November 18, 2027");cy.button("Add filter").click();});cy.wait("@dataset");H.assertQueryBuilderRowCount(16);cy.findByTestId("qb-filters-panel")- .findByText("Created At is on Nov 18, 2024")+ .findByText("Created At is on Nov 18, 2027").should("be.visible");cy.log("set time to 00:00 and verify the filter and results");cy.findByTestId("qb-filters-panel")- .findByText("Created At is on Nov 18, 2024")+ .findByText("Created At is on Nov 18, 2027").click();H.popover().within(() => {cy.button("Add time").click();@@ -1309,12 +1307,12 @@ describe("issue 43057", () => {cy.wait("@dataset");H.assertQueryBuilderRowCount(1);cy.findByTestId("qb-filters-panel")- .findByText("Created At is Nov 18, 2024, 12:00 AM")+ .findByText("Created At is Nov 18, 2027, 12:00 AM").should("be.visible");cy.log("remove time and verify the filter and results");cy.findByTestId("qb-filters-panel")- .findByText("Created At is Nov 18, 2024, 12:00 AM")+ .findByText("Created At is Nov 18, 2027, 12:00 AM").click();H.popover().within(() => {cy.findByLabelText("Time").should("have.value", "00:00");@@ -1324,7 +1322,7 @@ describe("issue 43057", () => {cy.wait("@dataset");H.assertQueryBuilderRowCount(16);cy.findByTestId("qb-filters-panel")- .findByText("Created At is on Nov 18, 2024")+ .findByText("Created At is on Nov 18, 2027").should("be.visible");});});diff --git a/e2e/test/scenarios/question-reproductions/reproductions-4.cy.spec.js b/e2e/test/scenarios/question-reproductions/reproductions-4.cy.spec.jsindex d5600f3e988..2b63a5002f9 100644--- a/e2e/test/scenarios/question-reproductions/reproductions-4.cy.spec.js+++ b/e2e/test/scenarios/question-reproductions/reproductions-4.cy.spec.js@@ -756,7 +756,7 @@ describe("issue 36027", () => {cy.findByText("Count").should("be.visible"); // y-axis// x-axis values- ["January 2023", "January 2024", "January 2025", "January 2026"].forEach(+ ["January 2026", "January 2027", "January 2028", "January 2029"].forEach((state) => {cy.findByText(state).should("be.visible");},@@ -1177,7 +1177,7 @@ describe("issue 23449", () => {const checkTable = () => {H.assertTableData({columns: ["ID", "Product ID", "Reviewer", "Rating", "Created At"],- firstRows: [[1, 1, "christ", "E", "May 15, 2024, 8:25 PM"]],+ firstRows: [[1, 1, "christ", "E", "May 15, 2027, 8:25 PM"]],});};@@ -1281,7 +1281,7 @@ describe("issue 12679", () => {cy.findByText("Sum of Total").should("exist");});cy.findByTestId("question-row-count")- .findByText("Showing 174 rows")+ .findByText("Showing 175 rows").should("exist");});});@@ -1757,8 +1757,8 @@ describe("Issue 42817", () => {"join-alias": "NativeOrders",},],- "2023-06-23T00:00Z",- "2023-07-03T00:00Z",+ "2026-06-23T00:00Z",+ "2026-07-03T00:00Z",],},},diff --git a/e2e/test/scenarios/question-reproductions/reproductions.cy.spec.ts b/e2e/test/scenarios/question-reproductions/reproductions.cy.spec.tsindex 68513ede6dc..96d5f85fed3 100644--- a/e2e/test/scenarios/question-reproductions/reproductions.cy.spec.ts+++ b/e2e/test/scenarios/question-reproductions/reproductions.cy.spec.ts@@ -126,8 +126,8 @@ describe("issue 39487", () => {createTimeSeriesQuestionWithFilter(["between",CREATED_AT_FIELD,- "2024-05-01", // 5 day rows- "2024-06-01", // 6 day rows+ "2027-05-01", // 5 day rows+ "2027-06-01", // 6 day rows]);cy.log("timeseries filter button");@@ -147,9 +147,9 @@ describe("issue 39487", () => {cy.log("changing text input values should navigate the calendars (metabase#64602)",);- cy.findAllByRole("textbox").first().clear().type("2024/05/01");- cy.findByText("May 2024").should("be.visible");- cy.findByLabelText("1 May 2024").should(+ cy.findAllByRole("textbox").first().clear().type("2027/05/01");+ cy.findByText("May 2027").should("be.visible");+ cy.findByLabelText("1 May 2027").should("have.attr","data-first-in-range","true",@@ -159,8 +159,8 @@ describe("issue 39487", () => {.should("have.length", 2).last().clear()- .type("2024/06/01");- cy.findAllByLabelText("1 June 2024")+ .type("2027/06/01");+ cy.findAllByLabelText("1 June 2027").filter(":visible").should("have.length", 1).and("have.attr", "data-last-in-range", "true");@@ -174,13 +174,13 @@ describe("issue 39487", () => {H.tableHeaderClick("Created At: Year");H.popover().findByText("Filter by this column").click();H.popover().findByText("Fixed date range…").click();- H.popover().findAllByRole("textbox").first().clear().type("2024/05/01");+ H.popover().findAllByRole("textbox").first().clear().type("2027/05/01");H.popover().findAllByRole("textbox").should("have.length", 2).last().clear()- .type("2024/06/01");+ .type("2027/06/01");previousButton().click();checkDateRangeFilter();@@ -244,7 +244,7 @@ describe("issue 39487", () => {function checkDateRangeFilter() {measureInitialValues();- nextButton().click(); // go to 2024-07 - 5 day rows+ nextButton().click(); // go to 2027-07 - 5 day rowsassertNoLayoutShift();}@@ -925,8 +925,8 @@ describe("issue 54920", () => {H.popover().within(() => {cy.findByText("Reviews → Created At").click();cy.findByText("Fixed date range…").click();- cy.findByLabelText("Start date").clear().type("10/12/2024");- cy.findByLabelText("End date").clear().type("10/15/2024");+ cy.findByLabelText("Start date").clear().type("10/12/2027");+ cy.findByLabelText("End date").clear().type("10/15/2027");cy.button("Add filter").click();});H.visualize();@@ -1552,29 +1552,29 @@ describe("issue 68574", () => {date_style: "D MMMM, YYYY",date_abbreviate: false,});- visitQuestion("2024-01-01");- assertParameterFormat("1 January, 2024");+ visitQuestion("2027-01-01");+ assertParameterFormat("1 January, 2027");cy.log("change the date format");updateFormattingSettings({date_style: "dddd, MMMM D, YYYY",date_abbreviate: false,});- visitQuestion("2024-01-01");- assertParameterFormat("Monday, January 1, 2024");+ visitQuestion("2027-01-01");+ assertParameterFormat("Friday, January 1, 2027");cy.log("enable date abbreviation");updateFormattingSettings({date_style: "dddd, MMMM D, YYYY",date_abbreviate: true,});- visitQuestion("2024-01-01");- assertParameterFormat("Mon, Jan 1, 2024");+ visitQuestion("2027-01-01");+ assertParameterFormat("Fri, Jan 1, 2027");cy.log("even when the setting is unset, it should render a valid format");updateFormattingSettings(undefined);- visitQuestion("2024-01-01");- assertParameterFormat("January 1, 2024");+ visitQuestion("2027-01-01");+ assertParameterFormat("January 1, 2027");});function updateFormattingSettings(settings: any) {diff --git a/e2e/test/scenarios/question/multiple-column-breakouts.cy.spec.ts b/e2e/test/scenarios/question/multiple-column-breakouts.cy.spec.tsindex e2437250acb..e270e32d832 100644--- a/e2e/test/scenarios/question/multiple-column-breakouts.cy.spec.ts+++ b/e2e/test/scenarios/question/multiple-column-breakouts.cy.spec.ts@@ -253,12 +253,11 @@ function assertTableDataForFilteredTemporalBreakouts() {H.assertTableData({columns: ["Created At: Year", "Created At: Month", "Count"],firstRows: [- ["2023", "March 2023", "256"],- ["2023", "April 2023", "238"],- ["2023", "May 2023", "271"],+ ["2029", "March 2029", "527"],+ ["2029", "April 2029", "344"],],});- H.assertQueryBuilderRowCount(3);+ H.assertQueryBuilderRowCount(2);}describe("scenarios > question > multiple column breakouts", () => {@@ -390,8 +389,8 @@ describe("scenarios > question > multiple column breakouts", () => {H.assertTableData({columns: ["Created At: Year", "Created At: Month", "Count"],firstRows: [- ["2026", "January 2026", "580"],- ["2026", "February 2026", "543"],+ ["2029", "January 2029", "580"],+ ["2029", "February 2029", "543"],],});@@ -472,7 +471,7 @@ describe("scenarios > question > multiple column breakouts", () => {});H.assertTableData({columns: ["Created At: Quarter", "Created At: Week", "Count"],- firstRows: [["Q2 2022", "April 24, 2022 – April 30, 2022", "1"]],+ firstRows: [["Q2 2025", "April 27, 2025 – May 3, 2025", "1"]],});cy.log("'num-bin' breakouts");@@ -516,10 +515,11 @@ describe("scenarios > question > multiple column breakouts", () => {.click();H.popover().findByText("Quarter").click();cy.wait("@dataset");+H.assertQueryBuilderRowCount(49);H.assertTableData({columns: ["Created At: Quarter", "Created At: Month", "Count"],- firstRows: [["Q2 2022", "April 2022", "1"]],+ firstRows: [["Q2 2025", "April 2025", "1"]],});cy.log("add a filter");@@ -530,14 +530,14 @@ describe("scenarios > question > multiple column breakouts", () => {// eslint-disable-next-line metabase/no-unsafe-element-filteringH.popover().last().findByText("On").click();H.popover().within(() => {- cy.findByLabelText("Date").clear().type("August 14, 2023");+ cy.findByLabelText("Date").clear().type("August 14, 2028");cy.button("Apply").click();});cy.wait("@dataset");H.assertQueryBuilderRowCount(1);H.assertTableData({columns: ["Created At: Quarter", "Created At: Month", "Count"],- firstRows: [["Q3 2023", "August 2023", "9"]],+ firstRows: [["Q3 2028", "August 2028", "14"]],});cy.log("change the filter");@@ -545,14 +545,14 @@ describe("scenarios > question > multiple column breakouts", () => {.should("contain.text", "Aug 14").click();H.popover().within(() => {- cy.findByLabelText("Date").clear().type("August 14, 2022");+ cy.findByLabelText("Date").clear().type("August 14, 2025");cy.button("Apply").click();});cy.wait("@dataset");H.assertQueryBuilderRowCount(1);H.assertTableData({columns: ["Created At: Quarter", "Created At: Month", "Count"],- firstRows: [["Q3 2022", "August 2022", "1"]],+ firstRows: [["Q3 2025", "August 2025", "1"]],});});});@@ -809,6 +809,7 @@ describe("scenarios > question > multiple column breakouts", () => {cy.wait("@dataset");}+ // Fragile and bound to break when the year changescy.log("temporal breakouts");testDatePostAggregationExpression({questionDetails: questionWith2TemporalBreakoutsDetails,@@ -825,11 +826,11 @@ describe("scenarios > question > multiple column breakouts", () => {],firstRows: [[- "2022",- "April 2022",+ "2025",+ "April 2025","1",- "January 1, 2023, 12:00 AM",- "May 1, 2022, 12:00 AM",+ "January 1, 2026, 12:00 AM",+ "May 1, 2025, 12:00 AM",],],});@@ -999,11 +1000,11 @@ describe("scenarios > question > multiple column breakouts", () => {testDatePostAggregationFilter({questionDetails: questionWith2TemporalBreakoutsDetails,column1Name: "Created At: Year",- column1MinValue: "January 1, 2023",- column1MaxValue: "December 31, 2023",+ column1MinValue: "January 1, 2029",+ column1MaxValue: "December 31, 2029",column2Name: "Created At: Month",- column2MinValue: "March 1, 2023",- column2MaxValue: "May 31, 2023",+ column2MinValue: "March 1, 2029",+ column2MaxValue: "May 31, 2029",});assertTableDataForFilteredTemporalBreakouts();@@ -1088,7 +1089,7 @@ describe("scenarios > question > multiple column breakouts", () => {});H.assertTableData({columns: ["Min of Created At: Year", "Max of Created At: Month"],- firstRows: [["January 1, 2022, 12:00 AM", "April 1, 2026, 12:00 AM"]],+ firstRows: [["January 1, 2025, 12:00 AM", "April 1, 2029, 12:00 AM"]],});cy.log("'num-bins' breakouts");@@ -1159,7 +1160,7 @@ describe("scenarios > question > multiple column breakouts", () => {});H.assertTableData({columns: ["Created At: Year", "Created At: Month", "Count"],- firstRows: [["2022", "April 2022", "1"]],+ firstRows: [["2025", "April 2025", "1"]],});cy.log("'num-bins' breakouts");@@ -1318,11 +1319,11 @@ describe("scenarios > question > multiple column breakouts", () => {testDatePostAggregationFilter({questionDetails: questionWith2TemporalBreakoutsDetails,column1Name: "Created At: Year",- column1MinValue: "January 1, 2023",- column1MaxValue: "December 31, 2023",+ column1MinValue: "January 1, 2029",+ column1MaxValue: "December 31, 2029",column2Name: "Created At: Month",- column2MinValue: "March 1, 2023",- column2MaxValue: "May 31, 2023",+ column2MinValue: "March 1, 2029",+ column2MaxValue: "May 31, 2029",});assertTableDataForFilteredTemporalBreakouts();@@ -1586,11 +1587,11 @@ describe("scenarios > question > multiple column breakouts", () => {testDatePostAggregationFilter({questionDetails: questionWith2TemporalBreakoutsDetails,column1Name: "Created At: Year",- column1MinValue: "January 1, 2023",- column1MaxValue: "December 31, 2023",+ column1MinValue: "January 1, 2029",+ column1MaxValue: "December 31, 2029",column2Name: "Created At: Month",- column2MinValue: "March 1, 2023",- column2MaxValue: "May 31, 2023",+ column2MinValue: "March 1, 2029",+ column2MaxValue: "May 31, 2029",});assertTableDataForFilteredTemporalBreakouts();@@ -1677,7 +1678,7 @@ describe("scenarios > question > multiple column breakouts", () => {});H.assertTableData({columns: ["Min of Created At: Year", "Max of Created At: Month"],- firstRows: [["January 1, 2022, 12:00 AM", "April 1, 2026, 12:00 AM"]],+ firstRows: [["January 1, 2025, 12:00 AM", "April 1, 2029, 12:00 AM"]],});cy.log("'num-bins' breakouts");@@ -1751,7 +1752,7 @@ describe("scenarios > question > multiple column breakouts", () => {});H.assertTableData({columns: ["Created At: Year", "Created At: Month", "Count"],- firstRows: [["2022", "April 2022", "1"]],+ firstRows: [["2025", "April 2025", "1"]],});cy.log("'num-bins' breakouts");diff --git a/e2e/test/scenarios/question/native-query-drill.cy.spec.ts b/e2e/test/scenarios/question/native-query-drill.cy.spec.tsindex 3dfc796889f..5d1af69f2da 100644--- a/e2e/test/scenarios/question/native-query-drill.cy.spec.ts+++ b/e2e/test/scenarios/question/native-query-drill.cy.spec.ts@@ -94,7 +94,7 @@ describe("scenarios > question > native query drill", () => {});cy.wait("@dataset");- H.tableInteractive().findByText("October 7, 2023, 1:34 AM").click();+ H.tableInteractive().findByText("October 7, 2026, 1:34 AM").click();H.popover().within(() => {cy.findByText("Filter by this date and time").should("not.exist");cy.button("Save").click();@@ -105,7 +105,7 @@ describe("scenarios > question > native query drill", () => {cy.wait("@saveCard");});- H.tableInteractive().findByText("October 7, 2023, 1:34 AM").click();+ H.tableInteractive().findByText("October 7, 2026, 1:34 AM").click();H.popover().within(() => {cy.findByText("Filter by this date and time").should("be.visible");cy.findByText("On").click();@@ -131,8 +131,8 @@ describe("scenarios > question > native query drill", () => {H.assertTableData({columns: ["ID", "CREATED_AT", "QUANTITY", "Quarter of year"],firstRows: [- ["1", "February 11, 2025, 9:40 PM", "2", "Q1"],- ["2", "May 15, 2024, 8:04 AM", "3", "Q2"],+ ["1", "February 11, 2028, 9:40 PM", "2", "Q1"],+ ["2", "May 15, 2027, 8:04 AM", "3", "Q2"],],});@@ -148,8 +148,8 @@ describe("scenarios > question > native query drill", () => {H.assertTableData({columns: ["ID", "CREATED_AT", "QUANTITY", "Quarter of year"],firstRows: [- ["1", "February 11, 2025, 9:40 PM", "2", "Q1"],- ["2", "May 15, 2024, 8:04 AM", "3", "Q2"],+ ["1", "February 11, 2028, 9:40 PM", "2", "Q1"],+ ["2", "May 15, 2027, 8:04 AM", "3", "Q2"],],});});@@ -170,7 +170,7 @@ describe("scenarios > question > native query drill", () => {["1",- "October 7, 2023, 1:34 AM",+ "October 7, 2026, 1:34 AM","[email protected] 1",],],@@ -188,7 +188,7 @@ describe("scenarios > question > native query drill", () => {["1",- "October 7, 2023, 1:34 AM",+ "October 7, 2026, 1:34 AM","1 [email protected]",],],@@ -250,7 +250,7 @@ describe("scenarios > question > native query drill", () => {cy.wait("@dataset");H.assertTableData({columns: ["ID", "CREATED_AT", "QUANTITY"],- firstRows: [["1", "February 11, 2025, 9:40 PM", "2"]],+ firstRows: [["1", "February 11, 2028, 9:40 PM", "2"]],});cy.log("descending");@@ -260,7 +260,7 @@ describe("scenarios > question > native query drill", () => {cy.wait("@dataset");H.assertTableData({columns: ["ID", "CREATED_AT", "QUANTITY"],- firstRows: [["8", "June 17, 2025, 2:37 AM", "7"]],+ firstRows: [["8", "June 17, 2028, 2:37 AM", "7"]],});});@@ -309,9 +309,9 @@ describe("scenarios > question > native query drill", () => {H.assertTableData({columns: ["CREATED_AT: Month", "Sum of QUANTITY"],firstRows: [- ["May 2023", "3"],- ["May 2024", "3"],- ["September 2024", "5"],+ ["May 2026", "3"],+ ["May 2027", "3"],+ ["September 2027", "5"],],});});@@ -392,7 +392,7 @@ describe("scenarios > question > native query drill", () => {H.createNativeQuestionAndDashboard({questionDetails: ordersTableQuestionDetails,}).then(({ body }) => H.visitDashboard(body.dashboard_id));- H.getDashboardCard().findByText("May 15, 2024, 8:04 AM").click();+ H.getDashboardCard().findByText("May 15, 2027, 8:04 AM").click();H.popover().within(() => {cy.findByText("Filter by this date and time").should("be.visible");cy.findByText("On").click();diff --git a/e2e/test/scenarios/question/nested.cy.spec.js b/e2e/test/scenarios/question/nested.cy.spec.jsindex 82e21fe8e04..fe6c1f2a3e8 100644--- a/e2e/test/scenarios/question/nested.cy.spec.js+++ b/e2e/test/scenarios/question/nested.cy.spec.js@@ -130,7 +130,7 @@ describe("scenarios > question > nested", () => {// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("10511");- cy.findAllByText("June 2022");+ cy.findAllByText("June 2025");cy.findAllByText("13");});@@ -319,8 +319,8 @@ describe("scenarios > question > nested", () => {filter: ["between",["field-id", ORDERS.CREATED_AT],- "2026-02-01",- "2026-02-29",+ "2029-02-01",+ "2029-02-29",],value: "543",});@@ -331,8 +331,8 @@ describe("scenarios > question > nested", () => {name: "15352-2",filter: ["and",- [">", ["field-id", ORDERS.CREATED_AT], "2026-01-31"],- ["<", ["field-id", ORDERS.CREATED_AT], "2026-03-01"],+ [">", ["field-id", ORDERS.CREATED_AT], "2029-01-31"],+ ["<", ["field-id", ORDERS.CREATED_AT], "2029-03-01"],],value: "543",});@@ -341,7 +341,7 @@ describe("scenarios > question > nested", () => {it("should work with 'on' date filter (metabase#15352-3)", () => {assertOnFilter({name: "15352-3",- filter: ["=", ["field-id", ORDERS.CREATED_AT], "2026-02-01"],+ filter: ["=", ["field-id", ORDERS.CREATED_AT], "2029-02-01"],value: "17",});});diff --git a/e2e/test/scenarios/question/offset.cy.spec.ts b/e2e/test/scenarios/question/offset.cy.spec.tsindex ec22c9acbc7..5308db71dcb 100644--- a/e2e/test/scenarios/question/offset.cy.spec.ts+++ b/e2e/test/scenarios/question/offset.cy.spec.ts@@ -315,8 +315,8 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["April 2022", ""],- ["May 2022", "52.76"],+ ["April 2025", ""],+ ["May 2025", "52.76"],]);H.openNotebook();@@ -336,8 +336,8 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["April 2026", ""],- ["March 2026", "30,759.47"],+ ["April 2029", ""],+ ["March 2029", "30,759.47"],]);});@@ -355,15 +355,15 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([[- "February 2026",+ "February 2029","52,249.59",- "February 2025",+ "February 2028","51,634.16",- "April 2025",+ "April 2028","51,347.1",- "September 2025",+ "September 2028","50,597.16",- "January 2026",+ "January 2029","48,260.76",],]);@@ -380,9 +380,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["April 2022", "", "", "", ""],- ["May 2022", "", "52.76", "", ""],- ["June 2022", "339.14", "203.57", "493.51", "229.5"],+ ["April 2025", "", "", "", ""],+ ["May 2025", "", "52.76", "", ""],+ ["June 2025", "339.14", "203.57", "493.51", "229.5"],]);});@@ -398,15 +398,15 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["May 2022", "Doohickey", "339.14", ""],- ["June 2022", "Doohickey", "482.56", "339.14"],- ["July 2022", "Doohickey", "1,160.83", "482.56"],- ["August 2022", "Doohickey", "751.29", "1,160.83"],- ["September 2022", "Doohickey", "802.49", "751.29"],- ["October 2022", "Doohickey", "1,553.37", "802.49"],- ["November 2022", "Doohickey", "1,728.4", "1,553.37"],- ["December 2022", "Doohickey", "2,213.47", "1,728.4"],- ["January 2023", "Doohickey", "1,939.99", "2,213.47"],+ ["May 2025", "Doohickey", "339.14", ""],+ ["June 2025", "Doohickey", "482.56", "339.14"],+ ["July 2025", "Doohickey", "1,160.83", "482.56"],+ ["August 2025", "Doohickey", "751.29", "1,160.83"],+ ["September 2025", "Doohickey", "802.49", "751.29"],+ ["October 2025", "Doohickey", "1,553.37", "802.49"],+ ["November 2025", "Doohickey", "1,728.4", "1,553.37"],+ ["December 2025", "Doohickey", "2,213.47", "1,728.4"],+ ["January 2026", "Doohickey", "1,939.99", "2,213.47"],]);});@@ -573,8 +573,8 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["April 2025", "Gadget", "15,713", "31,426.01"],- ["September 2025", "Gadget", "15,017.31", "30,034.62"],+ ["April 2028", "Gadget", "15,713", "31,426.01"],+ ["September 2028", "Gadget", "15,017.31", "30,034.62"],]);});});@@ -621,14 +621,14 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["Doohickey", "2022", "9,031.56", ""],- ["Gadget", "2022", "10,672.63", ""],- ["Gizmo", "2022", "9,929.32", ""],- ["Widget", "2022", "12,523.37", ""],- ["Doohickey", "2023", "43,069.14", "9,031.56"],- ["Gadget", "2023", "54,960.62", "10,672.63"],- ["Gizmo", "2023", "48,130.71", "9,929.32"],- ["Widget", "2023", "59,095.56", "12,523.37"],+ ["Doohickey", "2025", "9,031.56", ""],+ ["Gadget", "2025", "10,672.63", ""],+ ["Gizmo", "2025", "9,929.32", ""],+ ["Widget", "2025", "12,523.37", ""],+ ["Doohickey", "2026", "43,069.14", "9,031.56"],+ ["Gadget", "2026", "54,960.62", "10,672.63"],+ ["Gizmo", "2026", "48,130.71", "9,929.32"],+ ["Widget", "2026", "59,095.56", "12,523.37"],]);H.openNotebook();@@ -679,14 +679,14 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["Doohickey", "2022", "", "9,031.56"],- ["Gadget", "2022", "", "10,672.63"],- ["Gizmo", "2022", "", "9,929.32"],- ["Widget", "2022", "", "12,523.37"],- ["Doohickey", "2023", "9,031.56", "43,069.14"],- ["Gadget", "2023", "10,672.63", "54,960.62"],- ["Gizmo", "2023", "9,929.32", "48,130.71"],- ["Widget", "2023", "12,523.37", "59,095.56"],+ ["Doohickey", "2025", "", "9,031.56"],+ ["Gadget", "2025", "", "10,672.63"],+ ["Gizmo", "2025", "", "9,929.32"],+ ["Widget", "2025", "", "12,523.37"],+ ["Doohickey", "2026", "9,031.56", "43,069.14"],+ ["Gadget", "2026", "10,672.63", "54,960.62"],+ ["Gizmo", "2026", "9,929.32", "48,130.71"],+ ["Widget", "2026", "12,523.37", "59,095.56"],]);H.openNotebook();@@ -743,9 +743,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2022", "5", "5", ""],- ["2023", "5", "5", "5"],- ["2024", "5", "5", "5"],+ ["2025", "5", "5", ""],+ ["2026", "5", "5", "5"],+ ["2027", "5", "5", "5"],]);});});@@ -782,14 +782,14 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["Doohickey from products", "2022", "9,031.56", ""],- ["Gadget from products", "2022", "10,672.63", ""],- ["Gizmo from products", "2022", "9,929.32", ""],- ["Widget from products", "2022", "12,523.37", ""],- ["Doohickey from products", "2023", "43,069.14", "9,031.56"],- ["Gadget from products", "2023", "54,960.62", "10,672.63"],- ["Gizmo from products", "2023", "48,130.71", "9,929.32"],- ["Widget from products", "2023", "59,095.56", "12,523.37"],+ ["Doohickey from products", "2025", "9,031.56", ""],+ ["Gadget from products", "2025", "10,672.63", ""],+ ["Gizmo from products", "2025", "9,929.32", ""],+ ["Widget from products", "2025", "12,523.37", ""],+ ["Doohickey from products", "2026", "43,069.14", "9,031.56"],+ ["Gadget from products", "2026", "54,960.62", "10,672.63"],+ ["Gizmo from products", "2026", "48,130.71", "9,929.32"],+ ["Widget from products", "2026", "59,095.56", "12,523.37"],]);H.openNotebook();@@ -826,14 +826,14 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["Doohickey", "2022", "9,031.56", ""],- ["Gadget", "2022", "10,672.63", ""],- ["Gizmo", "2022", "9,929.32", ""],- ["Widget", "2022", "12,523.37", ""],- ["Doohickey", "2023", "43,069.14", "9,031.56"],- ["Gadget", "2023", "54,960.62", "10,672.63"],- ["Gizmo", "2023", "48,130.71", "9,929.32"],- ["Widget", "2023", "59,095.56", "12,523.37"],+ ["Doohickey", "2025", "9,031.56", ""],+ ["Gadget", "2025", "10,672.63", ""],+ ["Gizmo", "2025", "9,929.32", ""],+ ["Widget", "2025", "12,523.37", ""],+ ["Doohickey", "2026", "43,069.14", "9,031.56"],+ ["Gadget", "2026", "54,960.62", "10,672.63"],+ ["Gizmo", "2026", "48,130.71", "9,929.32"],+ ["Widget", "2026", "59,095.56", "12,523.37"],]);H.openNotebook();@@ -892,9 +892,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2", "1", "ab", "2022", "42,156.87", ""],- ["2", "1", "ab", "2023", "205,256.02", "42,156.87"],- ["2", "1", "ab", "2024", "510,045.03", "205,256.02"],+ ["2", "1", "ab", "2025", "42,156.87", ""],+ ["2", "1", "ab", "2026", "205,256.02", "42,156.87"],+ ["2", "1", "ab", "2027", "510,045.03", "205,256.02"],]);H.openNotebook();@@ -953,9 +953,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2022", "2", "1", "ab", "42,156.87", ""],- ["2023", "2", "1", "ab", "205,256.02", "42,156.87"],- ["2024", "2", "1", "ab", "510,045.03", "205,256.02"],+ ["2025", "2", "1", "ab", "42,156.87", ""],+ ["2026", "2", "1", "ab", "205,256.02", "42,156.87"],+ ["2027", "2", "1", "ab", "510,045.03", "205,256.02"],]);H.openNotebook();@@ -994,9 +994,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2022", "Doohickey from products", "9,031.56", ""],- ["2022", "Gadget from products", "10,672.63", ""],- ["2022", "Gizmo from products", "9,929.32", ""],+ ["2025", "Doohickey from products", "9,031.56", ""],+ ["2025", "Gadget from products", "10,672.63", ""],+ ["2025", "Gizmo from products", "9,929.32", ""],]);H.openNotebook();@@ -1032,9 +1032,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2022", "Doohickey", "9,031.56", ""],- ["2022", "Gadget", "10,672.63", ""],- ["2022", "Gizmo", "9,929.32", ""],+ ["2025", "Doohickey", "9,031.56", ""],+ ["2025", "Gadget", "10,672.63", ""],+ ["2025", "Gizmo", "9,929.32", ""],]);H.openNotebook();@@ -1071,9 +1071,9 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2022", "2", "42,156.87", ""],- ["2023", "2", "205,256.02", "42,156.87"],- ["2024", "2", "510,045.03", "205,256.02"],+ ["2025", "2", "42,156.87", ""],+ ["2026", "2", "205,256.02", "42,156.87"],+ ["2027", "2", "510,045.03", "205,256.02"],]);H.openNotebook();@@ -1117,16 +1117,16 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["5", "2022", "5", ""],- ["5", "2023", "5", "5"],- ["5", "2024", "5", "5"],- ["5", "2025", "5", "5"],+ ["5", "2025", "5", ""],["5", "2026", "5", "5"],- ["4.8", "2022", "4.8", ""],- ["4.8", "2023", "4.8", "4.8"],- ["4.8", "2024", "4.8", "4.8"],- ["4.8", "2025", "4.8", "4.8"],+ ["5", "2027", "5", "5"],+ ["5", "2028", "5", "5"],+ ["5", "2029", "5", "5"],+ ["4.8", "2025", "4.8", ""],["4.8", "2026", "4.8", "4.8"],+ ["4.8", "2027", "4.8", "4.8"],+ ["4.8", "2028", "4.8", "4.8"],+ ["4.8", "2029", "4.8", "4.8"],]);});@@ -1164,8 +1164,8 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2026", "0", "Affiliate", "3,443.41", ""],- ["2026", "0", "Facebook", "4,014.21", ""],+ ["2029", "0", "Affiliate", "3,443.41", ""],+ ["2029", "0", "Facebook", "4,014.21", ""],]);});});@@ -1225,8 +1225,8 @@ describe("scenarios > question > offset", () => {verifyNoQuestionError();verifyTableContent([- ["2026", "0", "Affiliate", "1,303.43", ""],- ["2026", "0", "Facebook", "1,835.1", ""],+ ["2029", "0", "Affiliate", "1,303.43", ""],+ ["2029", "0", "Facebook", "1,835.1", ""],]);});@@ -1285,7 +1285,7 @@ describe("scenarios > question > offset", () => {H.visualize();H.echartsContainer().within(() => {- cy.contains("January 2024").should("be.visible");+ cy.contains("January 2027").should("be.visible");});});});diff --git a/e2e/test/scenarios/question/summarization.cy.spec.js b/e2e/test/scenarios/question/summarization.cy.spec.jsindex d578edab420..eb7b5eb5c80 100644--- a/e2e/test/scenarios/question/summarization.cy.spec.js+++ b/e2e/test/scenarios/question/summarization.cy.spec.js@@ -283,7 +283,7 @@ describe("scenarios > question > summarize sidebar", () => {removeMetricFromSidebar("Sum of Total");cy.findAllByTestId("header-cell").should("have.length", 2);- cy.get("[data-testid=cell-data]").should("contain", 744); // `Count` for year 2022+ cy.get("[data-testid=cell-data]").should("contain", 744); // `Count` for year 2025});// flaky test (#19454)diff --git a/e2e/test/scenarios/visualizations-charts/bar_chart.cy.spec.js b/e2e/test/scenarios/visualizations-charts/bar_chart.cy.spec.jsindex 999262f6da5..398ecbfedf7 100644--- a/e2e/test/scenarios/visualizations-charts/bar_chart.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/bar_chart.cy.spec.js@@ -428,8 +428,8 @@ describe("scenarios > visualizations > bar chart", () => {"base-type": "type/DateTime",},],- "2023-09-01",- "2023-09-30",+ "2026-09-01",+ "2026-09-30",];const avgTotalByMonth = {@@ -612,7 +612,7 @@ describe("scenarios > visualizations > bar chart", () => {H.chartPathWithFillColor("#88BF4D").first().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -877,8 +877,8 @@ describe("scenarios > visualizations > bar chart", () => {["between",ORDER_CREATED_AT_FIELD_REF,- "2022-09-01T00:00Z",- "2023-02-01T00:00Z",+ "2025-09-01T00:00Z",+ "2026-02-01T00:00Z",],["=",@@ -939,7 +939,7 @@ describe("scenarios > visualizations > bar chart", () => {H.assertEChartsTooltip({ rows: [{ name: "Other", value: "9" }] });H.otherSeriesChartPaths().first().realHover();H.assertEChartsTooltip({- header: "September 2022",+ header: "September 2025",rows: [{ name: "IA", value: "3" },{ name: "KY", value: "2" },@@ -1005,7 +1005,7 @@ describe("scenarios > visualizations > bar chart", () => {H.otherSeriesChartPaths().first().realHover();H.assertEChartsTooltip({- header: "September 2022",+ header: "September 2025",rows: [{ name: "IA", value: "3" },{ name: "KY", value: "2" },diff --git a/e2e/test/scenarios/visualizations-charts/boxplot.cy.spec.js b/e2e/test/scenarios/visualizations-charts/boxplot.cy.spec.jsindex 48d3a759047..a2576d992a5 100644--- a/e2e/test/scenarios/visualizations-charts/boxplot.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/boxplot.cy.spec.js@@ -38,7 +38,7 @@ describe("scenarios > visualizations > boxplot", () => {it("should render boxplot and update chart on display settings changes", () => {H.visitQuestionAdhoc(singleSeriesQuestion);- // 5 Boxes: 2022-2026+ // 5 Boxes: 2025-2029H.BoxPlot.getBoxes().should("have.length", 5);// By default: Tukey whiskers, outliers shown, mean shown@@ -113,7 +113,7 @@ describe("scenarios > visualizations > boxplot", () => {// Hover over a box element from the left side to avoid mean marker overlapH.BoxPlot.getBoxes().first().trigger("mousemove", "left");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Upper whisker", value: "84" },{ name: "Q3 (75th percentile)", value: "59" },@@ -127,7 +127,7 @@ describe("scenarios > visualizations > boxplot", () => {// Hover over the outlier pointH.BoxPlot.getPoints().first().trigger("mousemove");H.assertEChartsTooltip({- header: "2026 (outlier)",+ header: "2029 (outlier)",rows: [{ name: "Count", value: "189" },{ name: "Total: 50 bins", value: "70 – 75" },@@ -193,7 +193,7 @@ describe("scenarios > visualizations > boxplot", () => {});H.echartsContainer().should("be.visible");- // Verify boxplot renders in dashboard context (5 boxes: 2022-2026)+ // Verify boxplot renders in dashboard context (5 boxes: 2025-2029)H.BoxPlot.getBoxes().should("have.length", 5);H.BoxPlot.getMeanMarkers().should("have.length", 5);@@ -206,7 +206,7 @@ describe("scenarios > visualizations > boxplot", () => {// Should navigate to filtered table view with dimension filter appliedcy.findByTestId("filter-pill").should("have.text",- "Created At: Year is Jan 1 – Dec 31, 2022",+ "Created At: Year is Jan 1 – Dec 31, 2025",);// Verify we're viewing a table with results@@ -228,7 +228,7 @@ describe("scenarios > visualizations > boxplot", () => {// Should filter to specific dimension and show tablecy.findByTestId("filter-pill").should("have.text",- "Created At: Year is Jan 1 – Dec 31, 2026",+ "Created At: Year is Jan 1 – Dec 31, 2029",);// Verify we're viewing a table with results@@ -304,7 +304,7 @@ describe("scenarios > visualizations > boxplot", () => {// Hover over a box and verify tooltip shows breakout valueH.BoxPlot.getBoxes().first().trigger("mousemove", "left");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Product → Category", value: "Gadget" },{ name: "Upper whisker", value: "25" },@@ -339,7 +339,7 @@ describe("scenarios > visualizations > boxplot", () => {cy.findAllByTestId("filter-pill").should("have.length", 2);cy.findAllByTestId("filter-pill").eq(0)- .should("have.text", "Created At: Year is Jan 1 – Dec 31, 2022");+ .should("have.text", "Created At: Year is Jan 1 – Dec 31, 2025");cy.findAllByTestId("filter-pill").eq(1).should("have.text", "Product → Category is Doohickey");@@ -372,7 +372,7 @@ describe("scenarios > visualizations > boxplot", () => {// Hover over a box from the first metric and verify tooltipH.BoxPlot.getBoxes().first().trigger("mousemove", "left");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Upper whisker", value: "84" },{ name: "Q3 (75th percentile)", value: "59" },@@ -405,7 +405,7 @@ describe("scenarios > visualizations > boxplot", () => {cy.findByTestId("filter-pill").should("have.text",- "Created At: Year is Jan 1 – Dec 31, 2022",+ "Created At: Year is Jan 1 – Dec 31, 2025",);H.tableInteractiveBody().should("exist");@@ -455,7 +455,7 @@ describe("scenarios > visualizations > boxplot", () => {// Verify formatted tooltip with all currency valuesH.BoxPlot.getBoxes().first().trigger("mousemove", "left");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Upper whisker", value: "$53.93" },{ name: "Q3 (75th percentile)", value: "$53.93" },diff --git a/e2e/test/scenarios/visualizations-charts/combo.cy.spec.js b/e2e/test/scenarios/visualizations-charts/combo.cy.spec.jsindex 10f29d41611..6b3d36fab28 100644--- a/e2e/test/scenarios/visualizations-charts/combo.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/combo.cy.spec.js@@ -87,7 +87,7 @@ describe("scenarios > visualizations > combo", () => {// First circle of the line seriesH.cartesianChartCircleWithColor("#A989C5").eq(0).trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ color: "#A989C5", name: "Average of Total", value: "56.66" },{ color: "#F2A86F", name: "Average of Subtotal", value: "54.44" },@@ -103,7 +103,7 @@ describe("scenarios > visualizations > combo", () => {// Check the tooltip shows only stacked areas seriesH.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#EF8C8C",@@ -128,7 +128,7 @@ describe("scenarios > visualizations > combo", () => {// First bar of stacked bar seriesH.chartPathWithFillColor("#7172AD").eq(0).realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#7172AD",diff --git a/e2e/test/scenarios/visualizations-charts/legend.cy.spec.js b/e2e/test/scenarios/visualizations-charts/legend.cy.spec.jsindex 35e9b4a07f9..3da36d637cf 100644--- a/e2e/test/scenarios/visualizations-charts/legend.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/legend.cy.spec.js@@ -154,7 +154,7 @@ describe("scenarios > visualizations > legend", () => {H.chartPathWithFillColor(CATEGORY_COLOR.DOOHICKEY).first().realHover(),);H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Doohickey", value: "177" },{ name: "Gadget", value: "199" },@@ -204,7 +204,7 @@ describe("scenarios > visualizations > legend", () => {H.chartPathWithFillColor(CATEGORY_COLOR.DOOHICKEY).first().realHover(),);H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Doohickey", value: "177" },{ name: "Widget", value: "210" },@@ -437,7 +437,7 @@ describe("scenarios > visualizations > legend", () => {H.chartPathWithFillColor(CATEGORY_COLOR.DOOHICKEY).first().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Doohickey", value: "177" },{ name: "Gadget", value: "199" },@@ -470,7 +470,7 @@ describe("scenarios > visualizations > legend", () => {H.chartPathWithFillColor(CATEGORY_COLOR.DOOHICKEY).first().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Doohickey", value: "177" },{ name: "Widget", value: "210" },@@ -530,7 +530,7 @@ describe("scenarios > visualizations > legend", () => {H.chartPathWithFillColor(CATEGORY_COLOR.DOOHICKEY).first().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Doohickey", value: "177", secondaryValue: "23.79 %" },{ name: "Gadget", value: "199", secondaryValue: "26.75 %" },@@ -546,7 +546,7 @@ describe("scenarios > visualizations > legend", () => {H.chartPathWithFillColor(CATEGORY_COLOR.DOOHICKEY).first().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Doohickey", value: "177", secondaryValue: "47.07 %" },{ name: "Gadget", value: "199", secondaryValue: "52.93 %" },diff --git a/e2e/test/scenarios/visualizations-charts/line-bar-tooltips.cy.spec.js b/e2e/test/scenarios/visualizations-charts/line-bar-tooltips.cy.spec.jsindex a6bd3647b9e..a4abca3931e 100644--- a/e2e/test/scenarios/visualizations-charts/line-bar-tooltips.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/line-bar-tooltips.cy.spec.js@@ -20,14 +20,14 @@ function testSumTotalChange() {tooltipSelector("#88BF4D", 0);H.echartsTooltip().within(() => {- H.tooltipHeader("2022");+ H.tooltipHeader("2025");H.assertTooltipRow(seriesName, { color: "#88BF4D", value: "42,156.87" });});tooltipSelector("#88BF4D", 1);H.echartsTooltip().within(() => {- H.tooltipHeader("2023");+ H.tooltipHeader("2026");H.assertTooltipRow(seriesName, {color: "#88BF4D",value: "205,256.02",@@ -59,8 +59,8 @@ const SUM_OF_TOTAL_MONTH_EXCLUDE_MAY_AUG = {"temporal-unit": "month-of-year",},],- "2024-05-02",- "2024-08-02",+ "2027-05-02",+ "2027-08-02",],"source-query": {"source-table": ORDERS_ID,@@ -99,7 +99,7 @@ function testAvgTotalChange() {tooltipSelector("#A989C5", 0);H.echartsTooltip().within(() => {- H.tooltipHeader("2022");+ H.tooltipHeader("2025");H.assertTooltipRow(seriesName, {color: "#A989C5",value: "56.66",@@ -108,7 +108,7 @@ function testAvgTotalChange(tooltipSelector("#A989C5", 1);H.echartsTooltip().within(() => {- H.tooltipHeader("2022");+ H.tooltipHeader("2025");H.assertTooltipRow(seriesName, {color: "#A989C5",value: "56.86",@@ -140,7 +140,7 @@ function testCumSumChange(if (testFirstTooltip) {showTooltipForCircleInSeries("#88BF4D", 0);H.echartsTooltip().within(() => {- H.tooltipHeader("2022");+ H.tooltipHeader("2025");H.assertTooltipRow(seriesName, {color: "#88BF4D",value: "3,236",@@ -150,7 +150,7 @@ function testCumSumChange(showTooltipForCircleInSeries("#88BF4D", 1);H.echartsTooltip().within(() => {- H.tooltipHeader("2023");+ H.tooltipHeader("2026");H.assertTooltipRow(seriesName, {color: "#88BF4D",value: "17,587",@@ -175,7 +175,7 @@ const AVG_DISCOUNT_SUM_DISCOUNT = {function testAvgDiscountChange(seriesName = "Average of Discount") {showTooltipForCircleInSeries("#509EE3", 0);H.echartsTooltip().within(() => {- H.tooltipHeader("2022");+ H.tooltipHeader("2025");H.assertTooltipRow(seriesName, {color: "#509EE3",value: "5.03",@@ -184,7 +184,7 @@ function testAvgDiscountChange(seriesName = "Average of Discount") {showTooltipForCircleInSeries("#509EE3", 1);H.echartsTooltip().within(() => {- H.tooltipHeader("2023");+ H.tooltipHeader("2026");H.assertTooltipRow(seriesName, {color: "#509EE3",value: "5.41",@@ -196,7 +196,7 @@ function testAvgDiscountChange(seriesName = "Average of Discount") {function testSumDiscountChange(seriesName = "Sum of Discount") {showTooltipForCircleInSeries("#98D9D9", 0);H.echartsTooltip().within(() => {- H.tooltipHeader("2022");+ H.tooltipHeader("2025");H.assertTooltipRow(seriesName, {color: "#98D9D9",value: "342.09",@@ -205,7 +205,7 @@ function testSumDiscountChange(seriesName = "Sum of Discount") {showTooltipForCircleInSeries("#98D9D9", 1);H.echartsTooltip().within(() => {- H.tooltipHeader("2023");+ H.tooltipHeader("2026");H.assertTooltipRow(seriesName, {color: "#98D9D9",value: "1,953.08",@@ -367,7 +367,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {H.cartesianChartCircle().first().trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: originalName, value: "42,156.87" }],});@@ -383,7 +383,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {H.cartesianChartCircle().first().trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: customName, value: "42,156.87" }],});});@@ -411,7 +411,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ color: "#88BF4D", name: originalSeriesName, value: "42,156.87" },],@@ -419,7 +419,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#A989C5");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#A989C5",@@ -443,7 +443,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -455,7 +455,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#A989C5");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#A989C5",@@ -489,7 +489,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {H.cartesianChartCircle().first().trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#A989C5",@@ -519,7 +519,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {// TODO also check the colors// TODO: VIZ-671/converting-a-multi-series-line-chart-swaps-the-series-colorsH.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{// color: "#A989C5",@@ -558,7 +558,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {.trigger("mousemove");// Ensure the tooltip is visible- H.assertEChartsTooltip({ header: "2022" });+ H.assertEChartsTooltip({ header: "2025" });// Ensuring the circle is not covered by the tooltip elementcy.get("@firstCircle").then(($circle) => {@@ -590,7 +590,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {.trigger("mousemove");// Ensure the tooltip is visible- H.assertEChartsTooltip({ header: "2022" });+ H.assertEChartsTooltip({ header: "2025" });cy.get("@firstCircle").click();@@ -630,7 +630,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {[...originalSeriesColors, ...addedSeriesColors].forEach((color) => {showTooltipForCircleInSeries(color, circleIndex);H.assertEChartsTooltip({- header: "2023",+ header: "2026",rows: [{color: originalSeriesColors[0],@@ -676,7 +676,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {[...originalSeriesColors, ...addedSeriesColors].forEach((color) => {showTooltipForCircleInSeries(color, circleIndex);H.assertEChartsTooltip({- header: "2023",+ header: "2026",rows: [{color: originalSeriesColors[0],@@ -727,7 +727,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {H.chartPathWithFillColor("#88BF4D").first().trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -749,7 +749,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {H.chartPathWithFillColor("#88BF4D").first().trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -785,7 +785,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForBarInSeries(originalSeriesColor, 0);H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -797,7 +797,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForBarInSeries(addedSeriesColor, 0);H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#A989C5",@@ -820,7 +820,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForBarInSeries(originalSeriesColor, 0);H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -832,7 +832,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForBarInSeries(addedSeriesColor, 0);H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#A989C5",@@ -859,7 +859,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 0);H.assertEChartsTooltip({- header: "April 2022",+ header: "April 2025",rows: [{color: "#88BF4D",@@ -872,7 +872,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 1);H.assertEChartsTooltip({- header: "May 2022",+ header: "May 2025",rows: [{color: "#88BF4D",@@ -893,7 +893,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 0);H.assertEChartsTooltip({- header: "April 2022",+ header: "April 2025",rows: [{color: "#88BF4D",@@ -905,7 +905,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {testTooltipExcludesText("Compared to previous month");showTooltipForCircleInSeries("#88BF4D", 1);H.assertEChartsTooltip({- header: "June 2022",+ header: "June 2025",rows: [{color: "#88BF4D",@@ -918,7 +918,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 2);H.assertEChartsTooltip({- header: "July 2022",+ header: "July 2025",rows: [{color: "#88BF4D",@@ -931,7 +931,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 3);H.assertEChartsTooltip({- header: "September 2022",+ header: "September 2025",rows: [{color: "#88BF4D",@@ -952,7 +952,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 0);H.assertEChartsTooltip({- header: "April 2022",+ header: "April 2025",rows: [{color: "#88BF4D",@@ -965,7 +965,7 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {showTooltipForCircleInSeries("#88BF4D", 1);H.assertEChartsTooltip({- header: "May 2022",+ header: "May 2025",rows: [{color: "#88BF4D",@@ -989,8 +989,8 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {filter: ["between",["field", ORDERS.CREATED_AT, { "base-type": "type/DateTime" }],- "2024-01-01",- "2024-05-30",+ "2027-01-01",+ "2027-05-30",],},display: "line",@@ -1007,14 +1007,14 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {filter: ["between",["field", ORDERS.CREATED_AT, { "base-type": "type/DateTime" }],- "2024-03-01",- "2024-03-31",+ "2027-03-01",+ "2027-03-31",],},display: "line",};- const DST_WEEK_CHANGES = [null, "+191.48%", "+4.76%", "-2.36%"];+ const DST_WEEK_CHANGES = [null, "+27.3%", "-5.8%", "-1.36%"]; // fragile - depends on the yearconst SUM_OF_TOTAL_DST_DAY = {name: "Q1",@@ -1025,8 +1025,8 @@ describe("scenarios > visualizations > line/bar chart > tooltips", () => {filter: ["between",["field", ORDERS.CREATED_AT, { "base-type": "type/DateTime" }],- "2024-03-09",- "2024-03-12",+ "2027-03-09",+ "2027-03-12",],},display: "line",diff --git a/e2e/test/scenarios/visualizations-charts/pie_chart.cy.spec.js b/e2e/test/scenarios/visualizations-charts/pie_chart.cy.spec.jsindex 08515e6e915..9d09425a1d9 100644--- a/e2e/test/scenarios/visualizations-charts/pie_chart.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/pie_chart.cy.spec.js@@ -291,7 +291,7 @@ describe("scenarios > visualizations > pie chart", () => {});ensurePieChartRendered(- ["2022", "2023", "2024", "2025", "2026"],+ ["2025", "2026", "2027", "2028", "2029"],["Affiliate", "Facebook", "Google", "Organic", "Twitter"],["Doohickey", "Gadget", "Gizmo", "Widget"],);@@ -306,7 +306,7 @@ describe("scenarios > visualizations > pie chart", () => {});ensurePieChartRendered(- ["2022", "2023", "2024", "2025", "2026"],+ ["2025", "2026", "2027", "2028", "2029"],["Affiliate", "Facebook", "Google", "Organic", "Twitter"],);@@ -320,7 +320,7 @@ describe("scenarios > visualizations > pie chart", () => {H.popover().findByText("Product → Category").click();ensurePieChartRendered(- ["2022", "2023", "2024", "2025", "2026"],+ ["2025", "2026", "2027", "2028", "2029"],["Doohickey", "Gadget", "Gizmo", "Widget"],);@@ -330,7 +330,7 @@ describe("scenarios > visualizations > pie chart", () => {H.popover().findByText("User → Source").click();ensurePieChartRendered(- ["2022", "2023", "2024", "2025", "2026"],+ ["2025", "2026", "2027", "2028", "2029"],["Doohickey", "Gadget", "Gizmo", "Widget"],["Affiliate", "Facebook", "Google", "Organic", "Twitter"],);@@ -369,50 +369,51 @@ describe("scenarios > visualizations > pie chart", () => {cy.findByText("Saturday").as("saturdaySlice").trigger("mousemove");});+ // All the assertions after this point are fragile and susceptible to breaking when we shift years in the Sample DatabaseH.assertEChartsTooltip({header: "Created At: Day of week",rows: [{color: "#51528D",name: "Saturday",- value: "2,747",- secondaryValue: "14.64 %",+ value: "2,661",+ secondaryValue: "14.18 %",},{color: "#ED8535",name: "Thursday",- value: "2,698",- secondaryValue: "14.38 %",+ value: "2,646",+ secondaryValue: "14.10 %",},{color: "#E75454",name: "Tuesday",- value: "2,695",- secondaryValue: "14.37 %",+ value: "2,590",+ secondaryValue: "13.81 %",},{color: "#689636",name: "Sunday",- value: "2,671",- secondaryValue: "14.24 %",+ value: "2,678",+ secondaryValue: "14.28 %",},{color: "#8A5EB0",name: "Monday",- value: "2,664",- secondaryValue: "14.20 %",+ value: "2,719",+ secondaryValue: "14.49 %",},{color: "#69C8C8",name: "Friday",- value: "2,662",- secondaryValue: "14.19 %",+ value: "2,690",+ secondaryValue: "14.34 %",},{color: "#F7C41F",name: "Wednesday",- value: "2,623",- secondaryValue: "13.98 %",+ value: "2,776",+ secondaryValue: "14.80 %",},],});@@ -424,7 +425,7 @@ describe("scenarios > visualizations > pie chart", () => {});cy.findByTestId("qb-filters-panel").within(() => {- cy.findByText("Count is equal to 2747").should("be.visible");+ cy.findByText("Count is equal to 2661").should("be.visible");});cy.go("back");@@ -450,27 +451,27 @@ describe("scenarios > visualizations > pie chart", () => {});H.assertEChartsTooltip({- header: "Saturday",+ header: "Wednesday",rows: [{name: "Doohickey",- value: "606",- secondaryValue: "22.06 %",+ value: "603",+ secondaryValue: "21.72 %",},{name: "Gadget",- value: "740",- secondaryValue: "26.94 %",+ value: "745",+ secondaryValue: "26.84 %",},{name: "Gizmo",- value: "640",- secondaryValue: "23.30 %",+ value: "666",+ secondaryValue: "23.99 %",},{name: "Widget",- value: "761",- secondaryValue: "27.70 %",+ value: "762",+ secondaryValue: "27.45 %",},],});@@ -482,7 +483,7 @@ describe("scenarios > visualizations > pie chart", () => {});cy.findByTestId("qb-filters-panel").within(() => {- cy.findByText("Count is equal to 606").should("be.visible");+ cy.findByText("Count is equal to 603").should("be.visible");});});});@@ -541,11 +542,11 @@ describe("scenarios > visualizations > pie chart", () => {H.visitDashboard(dashboard_id);});- confirmSliceClickBehavior("2025", 6578);+ confirmSliceClickBehavior("2028", 6578);confirmSliceClickBehavior("Affiliate", 1270, 0);confirmSliceClickBehavior("Doohickey", 282, 0);- confirmSliceClickBehavior("2024", 5834);+ confirmSliceClickBehavior("2027", 5834);confirmSliceClickBehavior("Organic", 1180, 1);confirmSliceClickBehavior("Gizmo", 354, 8);});@@ -573,7 +574,7 @@ describe("scenarios > visualizations > pie chart", () => {H.echartsContainer().findByText("79%").realHover();H.assertEChartsTooltip({- header: "2024",+ header: "2027",rows: [{name: "Affiliate",diff --git a/e2e/test/scenarios/visualizations-charts/scatter.cy.spec.js b/e2e/test/scenarios/visualizations-charts/scatter.cy.spec.jsindex 3dcc6e90a52..6b0b7af396b 100644--- a/e2e/test/scenarios/visualizations-charts/scatter.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/scatter.cy.spec.js@@ -52,7 +52,7 @@ describe("scenarios > visualizations > scatter", () => {triggerPopoverForBubble();H.assertEChartsTooltip({- header: "May 2023",+ header: "May 2026",rows: [{name: "Count",@@ -86,7 +86,7 @@ describe("scenarios > visualizations > scatter", () => {triggerPopoverForBubble();H.assertEChartsTooltip({- header: "May 2023",+ header: "May 2026",rows: [{name: "Orders count",@@ -113,7 +113,7 @@ describe("scenarios > visualizations > scatter", () => {// Use force=true because this chart has too many bubbles that overlap with each othertriggerPopoverForBubble(300, true);H.assertEChartsTooltip({- header: "2025",+ header: "2028",rows: [{name: "Widget",@@ -182,7 +182,7 @@ select 10 as size, 2 as x, 5 as y`,{ name: "Product ID", value: "61" },{ name: "Total", value: "16.55" },{ name: "Discount", value: "" },- { name: "Created At", value: "July 4, 2023, 4:57 AM" },+ { name: "Created At", value: "July 4, 2026, 4:57 AM" },{ name: "Quantity", value: "4" },];diff --git a/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.js b/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.jsindex 5c21db0b9ba..08048934cbf 100644--- a/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.js@@ -42,7 +42,7 @@ describe("issue 13504", () => {cy.findByTestId("qb-filters-panel").within(() => {cy.findByText("Total is greater than 50").should("be.visible");- cy.findByText("Created At: Month is Mar 1–31, 2023").should("be.visible");+ cy.findByText("Created At: Month is Mar 1–31, 2026").should("be.visible");});});});@@ -552,7 +552,7 @@ describe("issue 21452", () => {H.cartesianChartCircle().first().trigger("mousemove");H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{color: "#88BF4D",@@ -591,7 +591,7 @@ describe("issue 21504", () => {H.openVizSettingsSidebar();H.leftSidebar().within(() => {- cy.findByText("January 2025").should("be.visible");+ cy.findByText("January 2028").should("be.visible");});});});@@ -751,7 +751,7 @@ describe("issue 25007", () => {it("should display weeks correctly in tooltips for native questions (metabase#25007)", () => {H.createNativeQuestion(questionDetails, { visitQuestion: true });clickLineDot({ index: 1 });- H.echartsTooltip().findByText("May 1–7, 2022");+ H.echartsTooltip().should("contain", "May 4–10, 2025");});});@@ -783,11 +783,11 @@ describe("issue 25156", () => {H.createQuestion(questionDetails, { visitQuestion: true });H.echartsContainer()- .should("contain", "2022")- .and("contain", "2023")- .and("contain", "2023")- .and("contain", "2024")- .and("contain", "2025");+ .should("contain", "2025")+ .and("contain", "2026")+ .and("contain", "2026")+ .and("contain", "2027")+ .and("contain", "2028");});});@@ -1264,8 +1264,8 @@ describe("issue 63671", () => {filter: ["between",["field", PRODUCTS.CREATED_AT, null],- "2025-01-01",- "2025-12-31",+ "2028-01-01",+ "2028-12-31",],},display: "bar",@@ -1276,7 +1276,7 @@ describe("issue 63671", () => {it("should not show an extra value on bar charts when there is only value on the x axis (metabase#63671)", () => {cy.findByTestId("query-visualization-root")- .findByText("2025")+ .findByText("2028").should("have.length", 1);});});diff --git a/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.ts b/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.tsindex 1ff5b15b329..a3f21ceeaf9 100644--- a/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.ts+++ b/e2e/test/scenarios/visualizations-charts/visualizations-charts-reproductions.cy.spec.ts@@ -215,7 +215,7 @@ describe("issue 47847", () => {H.cartesianChartCircleWithColor("#509EE3").eq(0).trigger("mousemove");H.assertEChartsTooltip({- header: "April 24–30, 2022",+ header: "April 27 – May 3, 2025", // expect this to break when we shift years in the Sample DatabaseblurAfter: false,footer: null,rows: [@@ -255,7 +255,7 @@ describe("issue 51926", () => {cy.findByTestId("Pivot Table-button").click();});- cy.findAllByTestId("pivot-table-cell").contains("April 24, 2022");+ cy.findAllByTestId("pivot-table-cell").should("contain", "April 27, 2025"); // expect this to break when we shift years in the Sample Database});});@@ -286,7 +286,7 @@ describe("issue 51952", () => {cy.findByTestId("settings-CREATED_AT").click();H.popover().findByText("Abbreviate days and months").click();- H.echartsContainer().findByText("Jan 2024");+ H.echartsContainer().findByText("Jan 2027");});});diff --git a/e2e/test/scenarios/visualizations-charts/waterfall.cy.spec.js b/e2e/test/scenarios/visualizations-charts/waterfall.cy.spec.jsindex 01793398f45..5079176f3e3 100644--- a/e2e/test/scenarios/visualizations-charts/waterfall.cy.spec.js+++ b/e2e/test/scenarios/visualizations-charts/waterfall.cy.spec.js@@ -93,7 +93,7 @@ describe("scenarios > visualizations > waterfall", () => {// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usagecy.findByText("Custom Expression").click();H.CustomExpressionEditor.type(- "between([Created At: Month], '2022-01-01', '2022-08-01')",+ "between([Created At: Month], '2025-01-01', '2025-08-01')",).blur();cy.button("Done").click();@@ -146,7 +146,7 @@ describe("scenarios > visualizations > waterfall", () => {cy.findByText("Sum of Total").should("not.exist");// x-axis labels (some)- ["2022", "2023", "2026", "Total"].forEach((label) => {+ ["2025", "2026", "2029", "Total"].forEach((label) => {cy.findByText(label).should("exist");});@@ -175,7 +175,7 @@ describe("scenarios > visualizations > waterfall", () => {cy.findByText("Count").should("not.exist");// x-axis labels (some)- ["2022", "2023", "2026", "Total"].forEach((label) => {+ ["2025", "2026", "2029", "Total"].forEach((label) => {cy.findByText(label).should("exist");});@@ -379,7 +379,7 @@ describe("scenarios > visualizations > waterfall", () => {getFirstWaterfallSegment().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Count", value: "744", color: INCREASE_COLOR }],});H.assertEChartsTooltipNotContain(["Sum of Total"]);@@ -394,7 +394,7 @@ describe("scenarios > visualizations > waterfall", () => {getFirstWaterfallSegment().realHover();H.assertEChartsTooltip({- header: "2022",+ header: "2025",rows: [{ name: "Count", value: "744", color: INCREASE_COLOR },{ name: "Sum of Total", value: "42,156.87" },diff --git a/e2e/test/scenarios/visualizations-tabular/column-shortcuts.cy.spec.ts b/e2e/test/scenarios/visualizations-tabular/column-shortcuts.cy.spec.tsindex a5dc0ced971..5b6bb6c674b 100644--- a/e2e/test/scenarios/visualizations-tabular/column-shortcuts.cy.spec.ts+++ b/e2e/test/scenarios/visualizations-tabular/column-shortcuts.cy.spec.ts@@ -21,7 +21,7 @@ const DATE_CASES = [},{option: "Day of week",- value: "Tuesday",+ value: "Friday",example: "Monday, Tuesday",expressions: ["day-name", "get-day-of-week"],},@@ -39,8 +39,8 @@ const DATE_CASES = [},{option: "Year",- value: "2,025",- example: "2023, 2024",+ value: "2,028",+ example: "2026, 2027",expressions: ["get-year"],},];@@ -132,7 +132,7 @@ describe("extract shortcut", () => {extractColumnAndCheck({column: "Created At",option: "Year",- value: "2,025",+ value: "2,028",});H.openNotebook();H.getNotebookStep("expression").findByText("Year").click();@@ -143,7 +143,7 @@ describe("extract shortcut", () => {});H.popover().button("Update").should("not.be.disabled").click();H.visualize();- cy.findByRole("gridcell", { name: "2,027" }).should("be.visible");+ cy.findByRole("gridcell", { name: "2,030" }).should("be.visible");});});diff --git a/e2e/test/scenarios/visualizations-tabular/drillthroughs/chart_drill.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/drillthroughs/chart_drill.cy.spec.jsindex 71c4602d3c9..2aeb7f84cd2 100644--- a/e2e/test/scenarios/visualizations-tabular/drillthroughs/chart_drill.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/drillthroughs/chart_drill.cy.spec.js@@ -36,7 +36,7 @@ describe("scenarios > visualizations > drillthroughs > chart drill", () => {H.queryBuilderMain().within(() => {cy.findByLabelText("Legend").findByText("Gadget").should("exist");- H.echartsContainer().findByText("January 2023").should("exist");+ H.echartsContainer().findByText("January 2026").should("exist");});cy.wait(100); // wait to avoid grabbing the svg before the chart redraws@@ -53,7 +53,7 @@ describe("scenarios > visualizations > drillthroughs > chart drill", () => {);H.queryBuilderMain().within(() => {- H.echartsContainer().findByText("June 5, 2022"); // more granular axis labels+ H.echartsContainer().findByText("June 5, 2025"); // more granular axis labels// confirm that product category is still broken outcy.findByLabelText("Legend").within(() => {@@ -102,7 +102,7 @@ describe("scenarios > visualizations > drillthroughs > chart drill", () => {if (granularity === "month") {cy.findByTestId("qb-filters-panel").findByText(- "Created At: Month is Sep 1, 2022, 12:00 AM – Feb 1, 2023, 12:00 AM",+ "Created At: Month is Sep 1, 2025, 12:00 AM – Feb 1, 2026, 12:00 AM",).should("exist");}@@ -291,7 +291,7 @@ describe("scenarios > visualizations > drillthroughs > chart drill", () => {.contains("Orders by Created At: Week").click();- H.echartsContainer().contains("January 2025");+ H.echartsContainer().contains("January 2028");// drill into a recent weekH.cartesianChartCircle().should("have.length.gte", 4).eq(-4).click();diff --git a/e2e/test/scenarios/visualizations-tabular/drillthroughs/column_extract_drill.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/drillthroughs/column_extract_drill.cy.spec.jsindex e7b97450ae7..ca07021648c 100644--- a/e2e/test/scenarios/visualizations-tabular/drillthroughs/column_extract_drill.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/drillthroughs/column_extract_drill.cy.spec.js@@ -20,7 +20,7 @@ const DATE_CASES = [},{option: "Day of week",- value: "Tuesday",+ value: "Friday",example: "Monday, Tuesday",},{@@ -35,8 +35,8 @@ const DATE_CASES = [},{option: "Year",- value: "2,025",- example: "2023, 2024",+ value: "2,028",+ example: "2026, 2027",},];@@ -195,7 +195,7 @@ describe("extract action", { viewportWidth: 1600 }, () => {extractColumnAndCheck({column: "Min of Created At",option: "Year",- value: "2,022",+ value: "2,025",extraction: "Extract day, month…",});});@@ -221,7 +221,7 @@ describe("extract action", { viewportWidth: 1600 }, () => {extractColumnAndCheck({column: "Created At",option: "Year",- value: "2,025",+ value: "2,028",extraction: "Extract day, month…",});H.openNotebook();@@ -232,7 +232,7 @@ describe("extract action", { viewportWidth: 1600 }, () => {});H.popover().button("Update").should("not.be.disabled").click();H.visualize();- cy.findByRole("gridcell", { name: "2,027" }).should("be.visible");+ cy.findByRole("gridcell", { name: "2,030" }).should("be.visible");});it("should use current user locale for string expressions", () => {@@ -243,7 +243,7 @@ describe("extract action", { viewportWidth: 1600 }, () => {extractColumnAndCheck({column: "Created At",option: "Wochentag",- value: "Dienstag",+ value: "Freitag",extraction: "Auszug Tag, Monat…",});});@@ -414,7 +414,7 @@ describe("extract action", { viewportWidth: 1600 }, () => {extractColumnAndCheck({column: "Created At",option: "Year",- value: "2,025",+ value: "2,028",extraction: "Extract day, month…",});diff --git a/e2e/test/scenarios/visualizations-tabular/drillthroughs/dash_drill.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/drillthroughs/dash_drill.cy.spec.jsindex aae77dac242..7bc4bb37896 100644--- a/e2e/test/scenarios/visualizations-tabular/drillthroughs/dash_drill.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/drillthroughs/dash_drill.cy.spec.js@@ -189,7 +189,7 @@ describe("scenarios > visualizations > drillthroughs > dash_drill", () => {cy.findByTestId("qb-filters-panel").findByText("Product → Category is Doohickey").should("be.visible");- H.queryBuilderMain().findByText("177").should("be.visible"); // Doohickeys for 2022+ H.queryBuilderMain().findByText("177").should("be.visible"); // Doohickeys for 2025});});});diff --git a/e2e/test/scenarios/visualizations-tabular/drillthroughs/table_drills.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/drillthroughs/table_drills.cy.spec.jsindex 95f002c8d47..86b41b3a1c3 100644--- a/e2e/test/scenarios/visualizations-tabular/drillthroughs/table_drills.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/drillthroughs/table_drills.cy.spec.js@@ -284,7 +284,7 @@ describe("scenarios > visualizations > drillthroughs > table_drills", () => {drillCellText: "3,976",menuItems: ["Time", "Products", "Created At"],filterText: "Products → Category is Doohickey",- resultText: "July 31, 2022",+ resultText: "July 31, 2025",});});@@ -294,7 +294,7 @@ describe("scenarios > visualizations > drillthroughs > table_drills", () => {drillCellText: "3,976",menuItems: ["Time", "Products", "Created At"],filterText: "Products → Category is Doohickey",- resultText: "July 31, 2022",+ resultText: "July 31, 2025",});});});diff --git a/e2e/test/scenarios/visualizations-tabular/pivot_tables.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/pivot_tables.cy.spec.jsindex 57d2f9664c4..dd464025ce8 100644--- a/e2e/test/scenarios/visualizations-tabular/pivot_tables.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/pivot_tables.cy.spec.js@@ -247,7 +247,7 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {type: "query",query: {"source-table": ORDERS_ID,- filter: ["<", ["field", ORDERS.CREATED_AT, null], "2022-06-01"],+ filter: ["<", ["field", ORDERS.CREATED_AT, null], "2025-06-01"],aggregation: [["count"]],breakout: [["field", ORDERS.CREATED_AT, { "temporal-unit": "month" }],@@ -517,9 +517,9 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {// check values in the table// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("42,156.87"); // sum of total for 2022+ cy.findByText("42,156.87"); // sum of total for 2025// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("84,313.74"); // sum of "twice total" for 2022+ cy.findByText("84,313.74"); // sum of "twice total" for 2025// check grand totals// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage@@ -829,7 +829,7 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {cy.wait("@datasetPivot");cy.findByTestId("query-visualization-root").within(() => {cy.contains("Row totals");- cy.findByText("333"); // Row totals for 2024+ cy.findByText("333"); // Row totals for 2027cy.findByText("Grand totals");});});@@ -850,8 +850,8 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {["between",["field", ORDERS.CREATED_AT, null],- "2022-11-09",- "2022-11-11",+ "2025-11-09",+ "2025-11-11",],["!=", ["field", ORDERS.PRODUCT_ID, null], 146],],@@ -873,18 +873,18 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {});// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("November 9, 2022");+ cy.findByText("November 9, 2025");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("November 10, 2022");+ cy.findByText("November 10, 2025");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("November 11, 2022");+ cy.findByText("November 11, 2025");collapseRowsFor("Created At: Day");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Totals for November 9, 2022");+ cy.findByText("Totals for November 9, 2025");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Totals for November 10, 2022");+ cy.findByText("Totals for November 10, 2025");// eslint-disable-next-line metabase/no-unscoped-text-selectors -- deprecated usage- cy.findByText("Totals for November 11, 2022");+ cy.findByText("Totals for November 11, 2025");function collapseRowsFor(column_name) {cy.findByText(column_name).parent().find(".Icon-dash").click();@@ -903,7 +903,7 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {["field", PRODUCTS.CATEGORY, { "source-field": ORDERS.PRODUCT_ID }],["field", PEOPLE.STATE, { "source-field": ORDERS.USER_ID }],],- filter: [">", ["field", ORDERS.CREATED_AT, null], "2026-01-01"],+ filter: [">", ["field", ORDERS.CREATED_AT, null], "2029-01-01"],},database: SAMPLE_DB_ID,},@@ -936,7 +936,7 @@ describe("scenarios > visualizations > pivot tables", { tags: "@slow" }, () => {["field", PRODUCTS.CATEGORY, { "source-field": ORDERS.PRODUCT_ID }],["field", PEOPLE.STATE, { "source-field": ORDERS.USER_ID }],],- filter: [">", ["field", ORDERS.CREATED_AT, null], "2026-01-01"],+ filter: [">", ["field", ORDERS.CREATED_AT, null], "2029-01-01"],},database: SAMPLE_DB_ID,},diff --git a/e2e/test/scenarios/visualizations-tabular/smartscalar-trend.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/smartscalar-trend.cy.spec.jsindex 2c556999e96..aeef9aad9e6 100644--- a/e2e/test/scenarios/visualizations-tabular/smartscalar-trend.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/smartscalar-trend.cy.spec.js@@ -538,7 +538,7 @@ describe("scenarios > visualizations > trend chart (SmartScalar)", () => {);cy.findByTestId("scalar-period")- .findByText("Apr 2026")+ .findByText("Apr 2029").should("be.visible");cy.findByTestId("scalar-container").findByText("344").click();@@ -556,7 +556,7 @@ describe("scenarios > visualizations > trend chart (SmartScalar)", () => {// Validate that the filter was appliedcy.findByTestId("scalar-period")- .findByText("Mar 2026")+ .findByText("Mar 2029").should("be.visible");cy.findByTestId("scalar-container").findByText("527").should("be.visible");});diff --git a/e2e/test/scenarios/visualizations-tabular/table.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/table.cy.spec.jsindex ebe5d6a7477..85da6e7a81e 100644--- a/e2e/test/scenarios/visualizations-tabular/table.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/table.cy.spec.js@@ -126,7 +126,7 @@ describe("scenarios > visualizations > table", () => {cy.realPress(["Meta", "c"]);H.readClipboard().should("equal",- "Total Discount ($) Created At\n39.72 February 11, 2025, 9:40 PM",+ "Total Discount ($) Created At\n39.72 February 11, 2028, 9:40 PM",);// Copy unformatted content with Shift+Cmd+C@@ -134,7 +134,7 @@ describe("scenarios > visualizations > table", () => {H.readClipboard().should("equal","Total Discount ($) Created At\n" +- "39.718145389078366 null 2025-02-11T21:40:27.892-08:00",+ "39.718145389078366 null 2028-02-11T21:40:27.892-08:00",);// Escape to clear selection@@ -1343,8 +1343,8 @@ function assertCanViewOrdersTableDashcard() {assertClientSideTableSorting({columnName: "Created At",columnId: "CREATED_AT",- defaultValue: "February 11, 2025, 9:40 PM",- descValue: "April 19, 2026, 2:07 PM",- ascValue: "June 1, 2022, 6:12 PM",+ defaultValue: "February 11, 2028, 9:40 PM",+ descValue: "April 19, 2029, 2:07 PM",+ ascValue: "June 1, 2025, 6:12 PM",});}diff --git a/e2e/test/scenarios/visualizations-tabular/visualizations-tabular-reproductions.cy.spec.js b/e2e/test/scenarios/visualizations-tabular/visualizations-tabular-reproductions.cy.spec.jsindex 3e88c841a05..9b02065e7bc 100644--- a/e2e/test/scenarios/visualizations-tabular/visualizations-tabular-reproductions.cy.spec.js+++ b/e2e/test/scenarios/visualizations-tabular/visualizations-tabular-reproductions.cy.spec.js@@ -57,7 +57,7 @@ describe("issue 6010", () => {cy.wait("@dataset");cy.findByTestId("qb-filters-panel").within(() => {- cy.findByText("Created At: Month is Jan 1–31, 2024").should("be.visible");+ cy.findByText("Created At: Month is Jan 1–31, 2027").should("be.visible");});// FIXME metrics v2 -- check that the values in column Total are above 150});@@ -111,8 +111,8 @@ describe("issue 11435", () => {query: `SELECT "PUBLIC"."ORDERS"."ID" AS "ID", "PUBLIC"."ORDERS"."USER_ID" AS "USER_ID", "PUBLIC"."ORDERS"."PRODUCT_ID" AS "PRODUCT_ID", "PUBLIC"."ORDERS"."SUBTOTAL" AS "SUBTOTAL", "PUBLIC"."ORDERS"."TAX" AS "TAX", "PUBLIC"."ORDERS"."TOTAL" AS "TOTAL", "PUBLIC"."ORDERS"."DISCOUNT" AS "DISCOUNT", "PUBLIC"."ORDERS"."CREATED_AT" AS "CREATED_AT", "PUBLIC"."ORDERS"."QUANTITY" AS "QUANTITY"FROM "PUBLIC"."ORDERS"- WHERE ("PUBLIC"."ORDERS"."CREATED_AT" >= timestamp with time zone '2025-03-12 00:00:00.000+03:00'- AND "PUBLIC"."ORDERS"."CREATED_AT" < timestamp with time zone '2025-03-13 00:00:00.000+03:00')+ WHERE ("PUBLIC"."ORDERS"."CREATED_AT" >= timestamp with time zone '2028-03-12 00:00:00.000+03:00'+ AND "PUBLIC"."ORDERS"."CREATED_AT" < timestamp with time zone '2028-03-13 00:00:00.000+03:00')LIMIT 1048575`,},visualization_settings: {@@ -139,12 +139,12 @@ describe("issue 11435", () => {H.createNativeQuestion(questionDetails, { visitQuestion: true });hoverLineDot({ index: 1 });H.assertEChartsTooltip({- header: "March 11, 2025, 8:45:17.010 PM",+ header: "March 11, 2028, 5:55:36.759 PM",rows: [{color: "#F9D45C",name: "TOTAL",- value: "25.03",+ value: "135.23",},],});@@ -417,7 +417,7 @@ describe("issue 23076", () => {.should("be.visible").eq(1).invoke("text")- .should("eq", "Summen für Mai 2023");+ .should("eq", "Summen für Mai 2026");});});diff --git a/frontend/src/metabase/querying/drills/utils/column-extract-drill.tsx b/frontend/src/metabase/querying/drills/utils/column-extract-drill.tsxindex 36e01d6ff3e..adf4f019ae7 100644--- a/frontend/src/metabase/querying/drills/utils/column-extract-drill.tsx+++ b/frontend/src/metabase/querying/drills/utils/column-extract-drill.tsx@@ -86,7 +86,7 @@ export function getExample(info: Lib.ColumnExtractionInfo) {case "quarter-of-year":return "Q1, Q2";case "year":- return "2023, 2024";+ return "2026, 2027";case "domain":return "example, online";case "host":diff --git a/resources/sample-content.edn b/resources/sample-content.ednindex ed108683b79..8b2b6c11313 100644--- a/resources/sample-content.edn+++ b/resources/sample-content.edn@@ -3295,7 +3295,7 @@:embedding_params nil,:cache_ttl nil,:dataset_query- "{\"database\":1,\"query\":{\"aggregation\":[[\"sum\",[\"field\",2,{\"base-type\":\"type/Integer\"}]]],\"breakout\":[[\"field\",13,{\"base-type\":\"type/DateTime\",\"temporal-unit\":\"month\"}]],\"filter\":[\"and\",[\"between\",[\"field\",13,{\"base-type\":\"type/DateTime\"}],\"2021-01-01\",\"2024-01-23\"],[\"=\",[\"field\",14,{\"base-type\":\"type/Integer\"}],86]],\"source-table\":2},\"type\":\"query\"}",+ "{\"database\":1,\"query\":{\"aggregation\":[[\"sum\",[\"field\",2,{\"base-type\":\"type/Integer\"}]]],\"breakout\":[[\"field\",13,{\"base-type\":\"type/DateTime\",\"temporal-unit\":\"month\"}]],\"filter\":[\"and\",[\"between\",[\"field\",13,{\"base-type\":\"type/DateTime\"}],\"2024-01-01\",\"2027-01-23\"],[\"=\",[\"field\",14,{\"base-type\":\"type/Integer\"}],86]],\"source-table\":2},\"type\":\"query\"}",:id 26,:parameter_mappings "[]",:display "smartscalar",@@ -3399,7 +3399,7 @@:embedding_params nil,:cache_ttl nil,:dataset_query- "{\"database\":1,\"query\":{\"aggregation\":[[\"sum\",[\"field\",2,{\"base-type\":\"type/Integer\"}]]],\"breakout\":[[\"field\",13,{\"base-type\":\"type/DateTime\",\"temporal-unit\":\"month\"}]],\"filter\":[\"and\",[\"between\",[\"field\",13,{\"base-type\":\"type/DateTime\"}],\"2021-01-01\",\"2024-01-23\"],[\"=\",[\"field\",14,{\"base-type\":\"type/Integer\"}],17]],\"source-table\":2},\"type\":\"query\"}",+ "{\"database\":1,\"query\":{\"aggregation\":[[\"sum\",[\"field\",2,{\"base-type\":\"type/Integer\"}]]],\"breakout\":[[\"field\",13,{\"base-type\":\"type/DateTime\",\"temporal-unit\":\"month\"}]],\"filter\":[\"and\",[\"between\",[\"field\",13,{\"base-type\":\"type/DateTime\"}],\"2024-01-01\",\"2027-01-23\"],[\"=\",[\"field\",14,{\"base-type\":\"type/Integer\"}],17]],\"source-table\":2},\"type\":\"query\"}",:id 29,:parameter_mappings "[]",:display "smartscalar",@@ -3676,7 +3676,7 @@:embedding_params nil,:cache_ttl nil,:dataset_query- "{\"database\":1,\"query\":{\"aggregation\":[[\"sum\",[\"field\",2,{\"base-type\":\"type/Integer\"}]]],\"breakout\":[[\"field\",13,{\"base-type\":\"type/DateTime\",\"temporal-unit\":\"month\"}]],\"filter\":[\"and\",[\"between\",[\"field\",13,{\"base-type\":\"type/DateTime\"}],\"2021-01-01\",\"2024-01-23\"],[\"=\",[\"field\",14,{\"base-type\":\"type/Integer\"}],165]],\"source-table\":2},\"type\":\"query\"}",+ "{\"database\":1,\"query\":{\"aggregation\":[[\"sum\",[\"field\",2,{\"base-type\":\"type/Integer\"}]]],\"breakout\":[[\"field\",13,{\"base-type\":\"type/DateTime\",\"temporal-unit\":\"month\"}]],\"filter\":[\"and\",[\"between\",[\"field\",13,{\"base-type\":\"type/DateTime\"}],\"2024-01-01\",\"2027-01-23\"],[\"=\",[\"field\",14,{\"base-type\":\"type/Integer\"}],165]],\"source-table\":2},\"type\":\"query\"}",:id 37,:parameter_mappings "[]",:display "smartscalar",diff --git a/resources/sample-database.db.mv.db b/resources/sample-database.db.mv.dbindex 1ac5a197074..d0b761d7b0d 100644Binary files a/resources/sample-database.db.mv.db and b/resources/sample-database.db.mv.db differ