LandingPage: Adds empty state when no images
This commit is contained in:
parent
4cbd745ec5
commit
9c1125cf37
3 changed files with 43 additions and 20 deletions
|
|
@ -37,6 +37,10 @@ describe('Images Table', () => {
|
|||
// check action loads
|
||||
screen.getByTestId('create-image-action');
|
||||
|
||||
// make sure the empty-state message isn't present
|
||||
const emptyState = screen.queryByTestId('empty-state');
|
||||
expect(emptyState).toBeNull();
|
||||
|
||||
// check table
|
||||
const table = screen.getByTestId('images-table');
|
||||
expect(table.rows).toHaveLength(4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue