package.json: upgrade patternfly to version 5

This upgrade requires multiple package updates. There are many style
updates to reflect pf5's syntax and structure changes
This commit is contained in:
jkozol 2023-09-27 17:04:34 +02:00 committed by Lucas Garfield
parent c4d411efa4
commit a5b1b1f775
27 changed files with 21227 additions and 3291 deletions

View file

@ -40,11 +40,6 @@ describe('Create Share To Regions Modal', () => {
const shareButton = await screen.findByRole('button', { name: /share/i });
expect(shareButton).toBeDisabled();
let invalidAlert = screen.queryByText(
/select at least one region to share to\./i
);
expect(invalidAlert).not.toBeInTheDocument();
const selectToggle = screen.getByRole('button', { name: /options menu/i });
// eslint-disable-next-line testing-library/no-unnecessary-act
user.click(selectToggle);
@ -60,7 +55,7 @@ describe('Create Share To Regions Modal', () => {
user.click(clearAllButton);
await waitFor(() => expect(shareButton).toBeDisabled());
invalidAlert = screen.getByText(
const invalidAlert = screen.getByText(
/select at least one region to share to\./i
);
expect(invalidAlert).toBeInTheDocument();