Skip to content

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

Delete unimplemented FKs in nested queries e2e test (#63684)

Fraser8c8279e57063
diff --git a/e2e/test/scenarios/models/reproductions.cy.spec.ts b/e2e/test/scenarios/models/reproductions.cy.spec.ts
index 00fa1140fb9..215aa66b4b7 100644
--- a/e2e/test/scenarios/models/reproductions.cy.spec.ts
+++ b/e2e/test/scenarios/models/reproductions.cy.spec.ts
@@ -1360,72 +1360,6 @@ describe("issue 47988", () => {
});
});
-describe("issues 28270, 33708", { tags: "@skip" }, () => {
- beforeEach(() => {
- H.restore();
- cy.signInAsAdmin();
-
- H.createQuestion(
- {
- type: "model",
- query: {
- "source-table": PRODUCTS_ID,
- },
- },
- { visitQuestion: true },
- );
- cy.intercept("POST", "/api/dataset").as("dataset");
- });
-
- it("shows object relationships when model-based ad-hoc question has a filter (metabase#28270)", () => {
- checkRelationships();
- H.modal().icon("close").click();
-
- H.tableHeaderClick("Title");
- H.popover().findByText("Filter by this column").click();
- H.popover().findByLabelText("Filter operator").click();
- // eslint-disable-next-line no-unsafe-element-filtering
- H.popover().last().findByText("Contains").click();
- H.popover().findByLabelText("Filter value").type("a,");
- H.popover().button("Add filter").click();
-
- checkRelationships();
- });
-
- it("shows object relationships after navigating back from relationships question (metabase#33708)", () => {
- checkRelationships();
-
- H.modal().findByText("Orders").click();
- cy.wait("@dataset");
- cy.go("back");
- cy.go("back"); // TODO: remove this when (metabase#33709) is fixed
-
- checkRelationships();
- });
-
- function openObjectDetails() {
- cy.findAllByTestId("cell-data").eq(8).should("have.text", "1").click();
- }
-
- function checkRelationships() {
- openObjectDetails();
-
- cy.wait(["@dataset", "@dataset"]);
-
- H.modal().within(() => {
- cy.findByTestId("fk-relation-orders")
- .should("be.visible")
- .and("contain.text", "93")
- .and("contain.text", "Orders");
-
- cy.findByTestId("fk-relation-reviews")
- .should("be.visible")
- .and("contain.text", "8")
- .and("contain.text", "Reviews");
- });
- }
-});
-
describe("issue 46221", () => {
const modelDetails: NativeQuestionDetails = {
name: "46221",