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

Repro #20683: Error when filtering date by current quarter in Postgres (#20695)

parent 73c71c06
No related branches found
No related tags found
No related merge requests found
import { restore, visualize } from "__support__/e2e/cypress";
describe.skip("issue 20683", () => {
beforeEach(() => {
restore("postgres-12");
cy.signInAsAdmin();
cy.visit("/");
cy.findByText("New").click();
cy.findByText("Question")
.should("be.visible")
.click();
cy.findByText("QA Postgres12").click();
cy.findByText("Orders").click();
});
it("should filter postgres with the 'current quarter' filter (metabase#20683)", () => {
cy.findByText("Add filters to narrow your answer").click();
cy.findByText("Created At").click();
cy.findByText("Previous").click();
cy.findByText("Current").click();
cy.findByText("Day").click();
cy.findByText("Quarter").click();
cy.button("Add filter").click();
visualize();
// We don't have entries for the current quarter so we expect no results
cy.findByText("No results!");
});
});
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