Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-nero committed Dec 12, 2024
1 parent 9778567 commit 431c84c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ test('rendering and switching tabs for a non-standard role', async () => {
expect(screen.getByRole('button', { name: 'Update Role' })).toBeDisabled();

await user.click(getStandardEditorTab());
expect(
screen.getByText(/Some fields were not readable by the standard editor/)
).toBeVisible();
expect(screen.getByText(/This role is too complex/)).toBeVisible();
expect(screen.getByLabelText('Role Name')).toHaveValue('some-role');
expect(screen.getByLabelText('Description')).toHaveValue('');
expect(screen.getByRole('button', { name: 'Update Role' })).toBeDisabled();
Expand Down

0 comments on commit 431c84c

Please sign in to comment.