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
5581b7ba
Unverified
Commit
5581b7ba
authored
3 years ago
by
Ariya Hidayat
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add repro for #17975 (#17980)
parent
9b7c713b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/test/metabase/scenarios/binning/binning-reproductions.cy.spec.js
+32
-0
32 additions, 0 deletions
...tabase/scenarios/binning/binning-reproductions.cy.spec.js
with
32 additions
and
0 deletions
frontend/test/metabase/scenarios/binning/binning-reproductions.cy.spec.js
+
32
−
0
View file @
5581b7ba
...
...
@@ -139,6 +139,38 @@ describe("binning related reproductions", () => {
cy
.
findByText
(
"
2018
"
);
});
it
.
skip
(
"
should not remove order-by (sort) when changing the breakout field on an SQL saved question (metabase#17975)
"
,
()
=>
{
cy
.
createNativeQuestion
(
{
name
:
"
17975
"
,
native
:
{
query
:
"
SELECT * FROM ORDERS
"
,
},
},
{
loadMetadata
:
true
},
);
cy
.
visit
(
"
/question/new
"
);
cy
.
findByText
(
"
Custom question
"
).
click
();
cy
.
findByText
(
"
Saved Questions
"
).
click
();
cy
.
findByText
(
"
17975
"
).
click
();
cy
.
findByText
(
"
Pick the metric you want to see
"
).
click
();
cy
.
findByText
(
"
Count of rows
"
).
click
();
cy
.
findByText
(
"
Pick a column to group by
"
).
click
();
cy
.
findByText
(
"
CREATED_AT
"
).
click
();
cy
.
findByText
(
"
Sort
"
).
click
();
cy
.
findByText
(
"
CREATED_AT
"
).
click
();
// Change the binning of the breakout field
cy
.
findByText
(
"
CREATED_AT: Month
"
).
click
();
cy
.
findByText
(
"
by month
"
).
click
();
cy
.
findByText
(
"
Quarter
"
).
click
();
cy
.
findByText
(
"
CREATED_AT
"
);
});
describe
(
"
binning should work on nested question based on question that has aggregation (metabase#16379)
"
,
()
=>
{
beforeEach
(()
=>
{
cy
.
createQuestion
({
...
...
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