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
9573f6d8
Unverified
Commit
9573f6d8
authored
3 years ago
by
Nemanja Glumac
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
#18352 Repro: Pulse table cards with INT64 values fail to render in 0.41.0 (#18356)
parent
ca14538b
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/test/metabase/scenarios/sharing/reproductions/18352-subscription-int64-value-card.cy.spec.js
+59
-0
59 additions, 0 deletions
...roductions/18352-subscription-int64-value-card.cy.spec.js
with
59 additions
and
0 deletions
frontend/test/metabase/scenarios/sharing/reproductions/18352-subscription-int64-value-card.cy.spec.js
0 → 100644
+
59
−
0
View file @
9573f6d8
import
{
restore
,
setupSMTP
}
from
"
__support__/e2e/cypress
"
;
import
{
USERS
}
from
"
__support__/e2e/cypress_data
"
;
const
{
admin
:
{
first_name
,
last_name
},
}
=
USERS
;
const
questionDetails
=
{
name
:
"
18352
"
,
native
:
{
query
:
"
SELECT 'foo', 1 UNION ALL SELECT 'bar', 2
"
,
},
};
describe
.
skip
(
"
issue 18352
"
,
()
=>
{
beforeEach
(()
=>
{
restore
();
cy
.
signInAsAdmin
();
setupSMTP
();
cy
.
createNativeQuestionAndDashboard
({
questionDetails
}).
then
(
({
body
:
{
card_id
,
dashboard_id
}
})
=>
{
cy
.
intercept
(
"
POST
"
,
`/api/card/
${
card_id
}
/query`
).
as
(
"
cardQuery
"
);
cy
.
visit
(
`/question/
${
card_id
}
`
);
cy
.
wait
(
"
@cardQuery
"
);
cy
.
visit
(
`/dashboard/
${
dashboard_id
}
`
);
},
);
});
it
(
"
should send the card with the INT64 values (metabase#18352)
"
,
()
=>
{
cy
.
icon
(
"
share
"
).
click
();
cy
.
findByText
(
"
Dashboard subscriptions
"
).
click
();
cy
.
findByText
(
"
Email it
"
).
click
();
cy
.
findByPlaceholderText
(
"
Enter user names or email addresses
"
).
click
();
cy
.
findByText
(
`
${
first_name
}
${
last_name
}
`
).
click
();
// Click this just to close the popover that is blocking the "Send email now" button
cy
.
findByText
(
`To:`
).
click
();
cy
.
button
(
"
Send email now
"
).
click
();
cy
.
findByText
(
"
Email sent
"
);
cy
.
request
(
"
GET
"
,
"
http://localhost:80/email
"
).
then
(
({
body
:
[{
html
}]
})
=>
{
expect
(
html
).
not
.
to
.
include
(
"
An error occurred while displaying this card.
"
,
);
expect
(
html
).
to
.
include
(
"
foo
"
);
expect
(
html
).
to
.
include
(
"
bar
"
);
},
);
});
});
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