Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
089fa547
Unverified
Commit
089fa547
authored
3 years ago
by
Nemanja Glumac
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Unskip repro for #16273 (#19553)
parent
42ff35d5
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/test/metabase/scenarios/custom-column/custom-column.cy.spec.js
+12
-12
12 additions, 12 deletions
...metabase/scenarios/custom-column/custom-column.cy.spec.js
with
12 additions
and
12 deletions
frontend/test/metabase/scenarios/custom-column/custom-column.cy.spec.js
+
12
−
12
View file @
089fa547
...
...
@@ -434,18 +434,17 @@ describe("scenarios > question > custom column", () => {
cy
.
findByText
(
"
No discount
"
);
});
it
.
skip
(
"
should work with relative date filter applied to a custom column (metabase#16273)
"
,
()
=>
{
it
(
"
should work with relative date filter applied to a custom column (metabase#16273)
"
,
()
=>
{
openOrdersTable
({
mode
:
"
notebook
"
});
cy
.
findByText
(
"
Custom column
"
).
click
();
popover
().
within
(()
=>
{
cy
.
get
(
"
[contenteditable='true']
"
)
.
type
(
"
case([Discount] >0, [Created At], [Product → Created At])
"
)
.
blur
();
cy
.
findByPlaceholderText
(
"
Something nice and descriptive
"
).
type
(
"
MiscDate
"
,
);
cy
.
button
(
"
Done
"
).
click
();
enterCustomColumnDetails
({
formula
:
`case([Discount] > 0, [Created At], [Product → Created At])`
,
name
:
"
MiscDate
"
,
});
cy
.
button
(
"
Done
"
).
click
();
cy
.
findByText
(
"
Filter
"
).
click
();
popover
()
.
contains
(
"
MiscDate
"
)
...
...
@@ -456,10 +455,11 @@ describe("scenarios > question > custom column", () => {
cy
.
findByText
(
"
Years
"
).
click
();
cy
.
button
(
"
Add filter
"
).
click
();
visualize
(
response
=>
{
expect
(
response
.
body
.
error
).
to
.
not
.
exist
;
visualize
(
({
body
})
=>
{
expect
(
body
.
error
).
to
.
not
.
exist
;
});
cy
.
findByText
(
"
MiscDate
"
);
cy
.
findByText
(
"
MiscDate Previous 30 Years
"
);
// Filter name
cy
.
findByText
(
"
MiscDate
"
);
// Column name
});
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment