mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(dashboard): add toast feedback to dashboard actions (#18114)
This commit is contained in:
committed by
GitHub
parent
9fa2812343
commit
d9eef8ec2f
@@ -230,6 +230,7 @@ test('Should "Force refresh"', () => {
|
||||
userEvent.click(screen.getByRole('menuitem', { name: /Force refresh/ }));
|
||||
expect(props.forceRefresh).toBeCalledTimes(1);
|
||||
expect(props.forceRefresh).toBeCalledWith(371, 26);
|
||||
expect(props.addSuccessToast).toBeCalledTimes(1);
|
||||
});
|
||||
|
||||
test('Should "Maximize chart"', () => {
|
||||
|
||||
Reference in New Issue
Block a user