Skip to content
Snippets Groups Projects
Unverified Commit a11d4dd7 authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

E2E repro for Adding filter of summarized field grouped by latitude and...

E2E repro for Adding filter of summarized field grouped by latitude and longitude on a map breaks breadcrumbs (#44787)
parent 02466489
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ import {
assertQueryBuilderRowCount,
} from "e2e/support/helpers";
const { ORDERS, ORDERS_ID, PEOPLE, PEOPLE_ID, PRODUCTS, PRODUCTS_ID } =
const { ORDERS, ORDERS_ID, PRODUCTS, PRODUCTS_ID, PEOPLE, PEOPLE_ID } =
SAMPLE_DATABASE;
describe("issue 32625, issue 31635", () => {
......@@ -309,6 +309,34 @@ describe("issue 38354", { tags: "@external" }, () => {
});
});
describe("issue 30056", () => {
const questionDetails = {
query: {
"source-query": {
"source-table": PEOPLE_ID,
aggregation: [["count"]],
breakout: [
["field", PEOPLE.LATITUDE, { "base-type": "type/Float" }],
["field", PEOPLE.LONGITUDE, { "base-type": "type/Float" }],
],
},
filter: [">", ["field", "count", { "base-type": "type/Integer" }], 2],
},
};
beforeEach(() => {
restore();
cy.signInAsNormalUser();
});
it("should show table breadcrumbs for questions with post-aggregation filters (metabase#30056)", () => {
createQuestion(questionDetails, { visitQuestion: true });
// the name of the table is hidden after a few seconds with a CSS animation,
// so check for "exist" only
queryBuilderHeader().findByText("People").should("exist");
});
});
describe("issue 39102", () => {
const questionDetails = {
name: "39102",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment