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

Add E2E repro for convertTimezone (#44705)

parent 22baa028
No related branches found
No related tags found
No related merge requests found
......@@ -589,6 +589,27 @@ function removeFilter() {
cy.findByTestId("question-row-count").should("have.text", "Showing 2 rows");
}
describe("issue 33439", () => {
beforeEach(() => {
restore();
cy.signInAsNormalUser();
});
it("should show an error message when trying to use convertTimezone on an unsupported db (metabase#33439)", () => {
openOrdersTable({ mode: "notebook" });
addCustomColumn();
enterCustomColumnDetails({
formula:
'convertTimezone("2022-12-28T12:00:00", "Canada/Pacific", "Canada/Eastern")',
name: "Date",
});
popover().within(() => {
cy.findByText("Unsupported function convert-timezone");
cy.button("Done").should("be.disabled");
});
});
});
describe("issue 42244", () => {
const COLUMN_NAME = "Created At".repeat(5);
......
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