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
Delete skipped filters repro e2e test (#64495)
Fraseraccf8b0b0663
diff --git a/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js b/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.jsindex a219eeec64c..d20d8d83f3b 100644--- a/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js+++ b/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js@@ -40,118 +40,6 @@ describe("issue 9339", () => {});});-describe("issue 12496", { tags: "@skip" }, () => {- beforeEach(() => {- H.restore();- cy.signInAsAdmin();- });-- const datePickerInput = (picker, input) =>- // eslint-disable-next-line no-unsafe-element-filtering- cy- .findAllByTestId("specific-date-picker")- .eq(picker)- .find("input")- .eq(input);- const setup = (unit) => {- H.createQuestion(- {- name: `Orders by Created At: ${unit}`,- query: {- "source-table": ORDERS_ID,- aggregation: [["count"]],- breakout: [["field", ORDERS.CREATED_AT, { "temporal-unit": unit }]],- filter: [- "between",- ["field", ORDERS.CREATED_AT, null],- "2022-04-01",- "2022-05-31",- ],- },- display: "line",- },- { visitQuestion: true },- );- // When a filter is added above, we have to unhide the filter pills:- cy.findByTestId("filters-visibility-control").click();- };-- it("should display correct day range in filter pill when drilling into a week", () => {- setup("week");- H.cartesianChartCircle().eq(0).click({ force: true });- H.popover().contains("See this Order").click();- cy.findByTestId("qb-filters-panel")- .contains("Created At is April 24–30, 2022")- .click();- H.popover().within(() => {- cy.findByTestId("between-date-picker").within(() => {- datePickerInput(0, 0).should("have.value", "04/24/2022");- datePickerInput(1, 0).should("have.value", "04/30/2022");- });- });- });-- it("should display correct day range in filter pill when drilling into a month", () => {- setup("month");- H.cartesianChartCircle().eq(0).click({ force: true });- H.popover().contains("See this Order").click();- cy.findByTestId("qb-filters-panel")- .contains("Created At is April 2022")- .click();- H.popover().within(() => {- cy.findByTestId("between-date-picker").within(() => {- datePickerInput(0, 0).should("have.value", "04/01/2022");- datePickerInput(1, 0).should("have.value", "04/30/2022");- });- });- });-- it("should display correct day range in filter pill when drilling into a hour", () => {- setup("hour");- H.cartesianChartCircle().eq(0).click({ force: true });- H.popover().contains("See this Order").click();- cy.findByTestId("qb-filters-panel")- .contains("Created At is April 30, 2022, 6:00–59 PM")- .click();- H.popover().within(() => {- cy.findByTestId("between-date-picker").within(() => {- datePickerInput(0, 0).should("have.value", "04/30/2022");- datePickerInput(0, 1).should("have.value", "6");- datePickerInput(0, 2).should("have.value", "00");- datePickerInput(1, 0).should("have.value", "04/30/2022");- datePickerInput(1, 1).should("have.value", "6");- datePickerInput(1, 2).should("have.value", "59");- });- });- });-- it("should display correct minute in filter pill when drilling into a minute", () => {- setup("minute");- H.cartesianChartCircle().eq(0).click({ force: true });- H.popover().contains("See this Order").click();- cy.findByTestId("qb-filters-panel")- .contains("Created At is April 30, 2022, 6:56 PM")- .click();- H.popover().within(() => {- datePickerInput(0, 0).should("have.value", "04/30/2022");- datePickerInput(0, 1).should("have.value", "6");- datePickerInput(0, 2).should("have.value", "56");- });- });-- it("should display correct minute in filter pill when drilling into a day", () => {- setup("day");- H.cartesianChartCircle().eq(0).click({ force: true });- H.popover().contains("See this Order").click();- cy.findByTestId("qb-filters-panel")- .contains("Created At is April 30, 2022")- .click();- H.popover().within(() => {- datePickerInput(0, 0).should("have.value", "04/30/2022");- });- });-});-describe("issue 16621", () => {beforeEach(() => {H.restore();