forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes a couple repro tests that were being skipped and moves one of them to a proper scenario test (metabase#12689)
- Loading branch information
Showing
3 changed files
with
24 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,30 @@ describe("scenarios > question > notebook", () => { | |
cy.contains("3"); | ||
}); | ||
|
||
it("should allow post-join filters (metabase#12221)", () => { | ||
cy.log("start a custom question with Orders"); | ||
cy.visit("/question/new"); | ||
cy.contains("Custom question").click(); | ||
cy.contains("Sample Dataset").click(); | ||
cy.contains("Orders").click(); | ||
|
||
cy.log("join to People table using default settings"); | ||
cy.get(".Icon-join_left_outer ").click(); | ||
cy.contains("People").click(); | ||
cy.contains("Orders + People"); | ||
cy.contains("Visualize").click(); | ||
cy.contains("Showing first 2,000"); | ||
|
||
cy.log("attempt to filter on the joined table"); | ||
cy.contains("Filter").click(); | ||
cy.contains("Email").click(); | ||
cy.contains("People – Email"); | ||
cy.get('[placeholder="Search by Email"]').type("wolf."); | ||
cy.contains("[email protected]").click(); | ||
cy.contains("Add filter").click(); | ||
cy.contains("Showing 1 row"); | ||
}); | ||
|
||
describe("nested", () => { | ||
it("should create a nested question with post-aggregation filter", () => { | ||
// start a custom question with orders | ||
|
59 changes: 0 additions & 59 deletions
59
frontend/test/metabase/support/date_field_filter.cy.spec.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.