mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
chore(deps-dev): bump eslint-plugin-jest-dom from 3.6.5 to 5.5.0 in /superset-frontend (#31217)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <joe@preset.io>
This commit is contained in:
@@ -400,7 +400,7 @@ describe('ResultSet', () => {
|
||||
name: /fetch data preview/i,
|
||||
}),
|
||||
).toBeVisible();
|
||||
expect(screen.queryByRole('table')).toBe(null);
|
||||
expect(screen.queryByRole('table')).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('Async queries - renders "Refetch results" button when a query has no results', () => {
|
||||
@@ -429,7 +429,7 @@ describe('ResultSet', () => {
|
||||
name: /refetch results/i,
|
||||
}),
|
||||
).toBeVisible();
|
||||
expect(screen.queryByRole('table')).toBe(null);
|
||||
expect(screen.queryByRole('table')).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('Async queries - renders on the first call', () => {
|
||||
@@ -454,12 +454,12 @@ describe('ResultSet', () => {
|
||||
screen.queryByRole('button', {
|
||||
name: /fetch data preview/i,
|
||||
}),
|
||||
).toBe(null);
|
||||
).not.toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByRole('button', {
|
||||
name: /refetch results/i,
|
||||
}),
|
||||
).toBe(null);
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('should allow download as CSV when user has permission to export data', async () => {
|
||||
|
||||
Reference in New Issue
Block a user