mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 03:11:01 -06:00
timeout added in shared public dashboard test
This commit is contained in:
parent
a184e9c2a9
commit
205c295192
@ -170,7 +170,7 @@ describe('SharePublic', () => {
|
||||
);
|
||||
|
||||
await renderSharePublicDashboard({ panel: mockPanel, dashboard: mockDashboard, onDismiss: () => {} });
|
||||
await waitForElementToBeRemoved(screen.getAllByTestId('Spinner'));
|
||||
await waitForElementToBeRemoved(screen.getAllByTestId('Spinner'), { timeout: 2000 });
|
||||
|
||||
expect(screen.getByTestId(selectors.WillBePublicCheckbox)).toBeDisabled();
|
||||
expect(screen.getByTestId(selectors.LimitedDSCheckbox)).toBeDisabled();
|
||||
|
Loading…
Reference in New Issue
Block a user