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
946a9398
Commit
946a9398
authored
7 years ago
by
Sameer Al-Sakran
Browse files
Options
Downloads
Patches
Plain Diff
not sure Im a huge fan of this method signature, but whatevs. linters pass
parent
cf896ad9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/metabase/dashboard/dashboard.integ.spec.js
+2
-2
2 additions, 2 deletions
frontend/src/metabase/dashboard/dashboard.integ.spec.js
with
2 additions
and
2 deletions
frontend/src/metabase/dashboard/dashboard.integ.spec.js
+
2
−
2
View file @
946a9398
...
...
@@ -6,7 +6,7 @@ import {
login
}
from
"
metabase/__support__/integrated_tests
"
;
import
{
g
etMergedParameterFieldValues
}
from
"
metabase/selectors/metadata
"
;
import
{
makeG
etMergedParameterFieldValues
}
from
"
metabase/selectors/metadata
"
;
import
{
ADD_PARAM_VALUES
}
from
"
metabase/redux/metadata
"
;
// TODO Atte Keinänen 7/17/17: When we have a nice way to create dashboards in tests, this could use a real saved dashboard
...
...
@@ -65,7 +65,7 @@ describe("Dashboard redux actions", () => {
// using hash as dashboard id should invoke the public API
await
store
.
dispatch
(
fetchDashboard
(
'
6e59cc97-3b6a-4bb6-9e7a-5efeee27e40f
'
));
await
store
.
waitForActions
(
ADD_PARAM_VALUES
)
const
getMergedParameterFieldValues
=
makeGetMergedParameterFieldValues
();
const
fieldValues
=
await
getMergedParameterFieldValues
(
store
.
getState
(),
{
parameter
:
{
field_ids
:
[
21
]
}});
expect
(
fieldValues
).
toEqual
([
"
Doohickey
"
,
"
Gadget
"
,
"
Gizmo
"
,
"
Widget
"
]);
})
...
...
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