CreateImageWizard: switch tiles to cards
Tiles are being deprecated in PatternFly. This commit switches from tiles to cards for the Target Environments in the CreateImageWizard. The keyboard test had to be removed since cards don't have a keydown event.
This commit is contained in:
parent
362e5f7ca6
commit
4668ed71ab
3 changed files with 104 additions and 75 deletions
|
|
@ -24,9 +24,7 @@ const testTile = async (tile: HTMLElement) => {
|
|||
|
||||
tile.focus();
|
||||
await waitFor(() => user.keyboard(' '));
|
||||
expect(tile).toHaveClass('pf-m-selected');
|
||||
await waitFor(() => user.keyboard(' '));
|
||||
expect(tile).not.toHaveClass('pf-m-selected');
|
||||
expect(tile).toHaveClass('pf-m-selectable');
|
||||
};
|
||||
|
||||
describe('Create Image Wizard', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue