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
5025bffd
Commit
5025bffd
authored
5 years ago
by
Paul Rosenzweig
Browse files
Options
Downloads
Patches
Plain Diff
copy over chart drill fixes from EE
parent
ea0e28d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/test/metabase/scenarios/chart_drill.cy.spec.js
+4
-3
4 additions, 3 deletions
frontend/test/metabase/scenarios/chart_drill.cy.spec.js
with
4 additions
and
3 deletions
frontend/test/metabase/scenarios/chart_drill.cy.spec.js
+
4
−
3
View file @
5025bffd
import
{
signInAsAdmin
}
from
"
__support__/cypress
"
;
import
{
signInAsAdmin
,
restore
}
from
"
__support__/cypress
"
;
describe
(
"
chart drill
"
,
()
=>
{
before
(
restore
);
beforeEach
(
signInAsAdmin
);
it
(
"
should allow brush date filter
"
,
()
=>
{
...
...
@@ -31,7 +32,7 @@ describe("chart drill", () => {
// wait for chart to expand and display legend/labels
cy
.
contains
(
"
Gadget
"
);
cy
.
contains
(
"
January, 2017
"
);
cy
.
wait
(
5
00
);
// wait longer to avoid grabbing the svg before a chart redraw
cy
.
wait
(
10
00
);
// wait longer to avoid grabbing the svg before a chart redraw
// drag across to filter
cy
.
get
(
"
.dc-chart svg
"
)
...
...
@@ -40,7 +41,7 @@ describe("chart drill", () => {
.
trigger
(
"
mouseup
"
,
200
,
200
);
// new filter applied
cy
.
contains
(
"
Created At between
June
, 2016
October
, 2016
"
);
cy
.
contains
(
"
Created At between
May
, 2016
August
, 2016
"
);
// more granular axis labels
cy
.
contains
(
"
June, 2016
"
);
// confirm that product category is still broken out
...
...
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