Skip to content

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

Delete skipped relative time-view-rendering e2e test (#64499)

Fraser14f4f37e34da
diff --git a/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js b/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js
index d20d8d83f3b..28bf0fd0ac6 100644
--- a/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js
+++ b/e2e/test/scenarios/filters-reproductions/filters-reproductions.cy.spec.js
@@ -933,71 +933,6 @@ describe("metabase#32985", () => {
});
});
-describe("metabase#44550", { tags: "@skip" }, () => {
- beforeEach(() => {
- H.restore();
- cy.signInAsAdmin();
- });
-
- it("should display the filter with an offset appropriately in the time-series chrome and in the filter modal (metabase#44550)", () => {
- const questionDetails = {
- database: SAMPLE_DB_ID,
- query: {
- "source-table": ORDERS_ID,
- aggregation: [["count"]],
- breakout: [
- [
- "field",
- ORDERS.CREATED_AT,
- {
- "base-type": "type/DateTime",
- "temporal-unit": "month",
- },
- ],
- ],
- filter: [
- "between",
- [
- "+",
- [
- "field",
- ORDERS.CREATED_AT,
- {
- "base-type": "type/DateTime",
- },
- ],
- ["interval", 7, "day"],
- ],
- ["relative-datetime", -30, "day"],
- ["relative-datetime", 0, "day"],
- ],
- },
- type: "query",
- };
-
- H.createQuestion(questionDetails, { visitQuestion: true });
- cy.findByTestId("filters-visibility-control").click();
- cy.findByTestId("filter-pill").should(
- "have.text",
- "Created At is in the previous 30 days, starting 7 days ago",
- );
-
- cy.log("Repro for the time-series chrome");
- cy.findByTestId("timeseries-filter-button")
- .should("not.have.text", "All time")
- .and("contain", /previous 30 days/i)
- .and("contain", /7 days ago/i);
-
- cy.log("Repro for the filter modal");
- H.filter();
- // Not entirely sure how the DOM looks like in this scenario.
- // TODO: Update the test if needed.
- cy.findByTestId("filter-column-Created At")
- .should("contain", /previous 30 days/i)
- .and("contain", /7 days ago/i);
- });
-});
-
describe("issue 35043", () => {
beforeEach(() => {
H.restore();