CreateImageWizard: add default state to package selection
This commit is contained in:
parent
8871bd8373
commit
0357ed57f9
2 changed files with 18 additions and 4 deletions
|
|
@ -463,6 +463,11 @@ describe('Step Packages', () => {
|
|||
});
|
||||
});
|
||||
|
||||
test('should display default state', () => {
|
||||
screen.getByText('Search above to add additionalpackages to your image');
|
||||
screen.getByText('No packages added');
|
||||
});
|
||||
|
||||
test('search results should be sorted with most relevant results first', async () => {
|
||||
const searchbox = screen.getAllByRole('textbox')[0]; // searching by id doesn't update the input ref
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue