test(web): make thalos snapshot assertion deterministic
This commit is contained in:
parent
c74f56a4b0
commit
d867b966da
@ -62,7 +62,7 @@ describe('Thalos App', () => {
|
|||||||
|
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
expect(loadDashboard).toHaveBeenCalledTimes(1);
|
expect(loadDashboard).toHaveBeenCalledTimes(1);
|
||||||
expect(screen.getByText(/demo-user/)).toBeInTheDocument();
|
expect(screen.getByText('subject: demo-user')).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user