package.json: update eslint-plugin-jest-dom
Also, add @testing-library/dom because this is needed by the newer user-event. Fix tests for new style standards.
This commit is contained in:
parent
471063522c
commit
c56ae8328b
3 changed files with 131 additions and 19403 deletions
|
|
@ -676,7 +676,7 @@ describe('Click through all steps', () => {
|
|||
|
||||
// leave AWS account id empty
|
||||
screen.getByRole('button', { name: /Next/ }).click();
|
||||
expect(screen.queryByText('Embed an activation key and register systems on first boot')).toBeNull();
|
||||
expect(screen.queryByText('Embed an activation key and register systems on first boot')).not.toBeInTheDocument();
|
||||
|
||||
// fill in AWS to proceed
|
||||
userEvent.type(screen.getByTestId('aws-account-id'), '012345678901');
|
||||
|
|
@ -692,7 +692,7 @@ describe('Click through all steps', () => {
|
|||
|
||||
expect(screen.queryByText(
|
||||
'Review the information and click the Create button to create your image using the following criteria.'
|
||||
)).toBeNull();
|
||||
)).not.toBeInTheDocument();
|
||||
|
||||
// fill in the registration
|
||||
await screen.findByTestId('subscription-activation');
|
||||
|
|
@ -728,7 +728,7 @@ describe('Click through all steps', () => {
|
|||
|
||||
expect(screen.queryByText(
|
||||
'Review the information and click the Create button to create your image using the following criteria.'
|
||||
)).toBeNull();
|
||||
)).not.toBeInTheDocument();
|
||||
|
||||
// fill in the registration
|
||||
await screen.findByTestId('subscription-activation');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue