Skip to content
Snippets Groups Projects
Unverified Commit 3077bce1 authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Repro #27123: Exclude filter always ends up showing "Days of the week" (#27389)

parent 04865930
No related branches found
No related tags found
No related merge requests found
import { restore, popover } from "__support__/e2e/helpers";
import { SAMPLE_DATABASE } from "__support__/e2e/cypress_sample_database";
const { ORDERS_ID } = SAMPLE_DATABASE;
const questionDetails = {
query: {
"source-table": ORDERS_ID,
limit: 100,
},
};
describe.skip("issue 27123", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
cy.createQuestion(questionDetails, { visitQuestion: true });
});
it("exclude filter should not resolve to 'Days of the week' regardless of the chosen granularity (metabase#27123)", () => {
cy.findAllByTestId("header-cell").contains("Created At").click();
cy.findByText("Filter by this column").click();
cy.findByText("Exclude...").click();
cy.findByText("Months of the year...").click();
popover()
.should("contain", "Months of the year...")
.and("contain", "January");
});
});
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