mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
[fix] Allow dashboard viewer auto refresh dashboard (#8014)
This commit is contained in:
@@ -71,9 +71,9 @@ describe('HeaderActionsDropdown', () => {
|
||||
expect(wrapper.find(MenuItem)).toHaveLength(1);
|
||||
});
|
||||
|
||||
it('should not render the RefreshIntervalModal', () => {
|
||||
it('should render the RefreshIntervalModal', () => {
|
||||
const wrapper = setup(overrideProps);
|
||||
expect(wrapper.find(RefreshIntervalModal)).toHaveLength(0);
|
||||
expect(wrapper.find(RefreshIntervalModal)).toHaveLength(1);
|
||||
});
|
||||
|
||||
it('should render the URLShortLinkModal', () => {
|
||||
@@ -105,9 +105,9 @@ describe('HeaderActionsDropdown', () => {
|
||||
expect(wrapper.find(MenuItem)).toHaveLength(2);
|
||||
});
|
||||
|
||||
it('should not render the RefreshIntervalModal', () => {
|
||||
it('should render the RefreshIntervalModal', () => {
|
||||
const wrapper = setup(overrideProps);
|
||||
expect(wrapper.find(RefreshIntervalModal)).toHaveLength(0);
|
||||
expect(wrapper.find(RefreshIntervalModal)).toHaveLength(1);
|
||||
});
|
||||
|
||||
it('should render the URLShortLinkModal', () => {
|
||||
|
||||
Reference in New Issue
Block a user