mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
PublicDashboards: Remove flaky test (#67061)
This commit is contained in:
parent
329d940448
commit
0b246942ae
@ -144,14 +144,6 @@ describe('SharePublic', () => {
|
||||
await renderSharePublicDashboard();
|
||||
expect(screen.getByText('Last 6 hours')).toBeInTheDocument();
|
||||
});
|
||||
it('renders default absolute time in input 2', async () => {
|
||||
mockDashboard.time = { from: '2022-08-30T03:00:00.000Z', to: '2022-09-04T02:59:59.000Z' };
|
||||
//@ts-ignore
|
||||
mockDashboard.originalTime = { from: '2022-08-30T06:00:00.000Z', to: '2022-09-04T06:59:59.000Z' };
|
||||
|
||||
await renderSharePublicDashboard();
|
||||
expect(screen.getByText('2022-08-30 00:00:00 to 2022-09-04 00:59:59')).toBeInTheDocument();
|
||||
});
|
||||
it('when modal is opened, then checkboxes are enabled but create button is disabled', async () => {
|
||||
server.use(getNonExistentPublicDashboardResponse());
|
||||
await renderSharePublicDashboard();
|
||||
|
Loading…
Reference in New Issue
Block a user