mirror of
https://github.com/apache/superset.git
synced 2026-05-12 03:15:55 +00:00
refactor(Modal): Upgrade Modal component to Antd5 (#31420)
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com>
This commit is contained in:
@@ -296,10 +296,14 @@ describe('Additional actions tests', () => {
|
||||
});
|
||||
expect(props.actions.redirectSQLLab).toHaveBeenCalledTimes(0);
|
||||
userEvent.click(screen.getByLabelText('Menu actions trigger'));
|
||||
|
||||
expect(screen.queryByText('Edit Chart Properties')).not.toBeInTheDocument();
|
||||
userEvent.click(
|
||||
screen.getByRole('menuitem', { name: 'Edit chart properties' }),
|
||||
);
|
||||
expect(await screen.findByText('Edit Chart Properties')).toBeVisible();
|
||||
expect(
|
||||
await screen.findByText('Edit Chart Properties'),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('Should call getChartDataRequest when click on "View query"', async () => {
|
||||
|
||||
Reference in New Issue
Block a user