Skip to content

Commit

Permalink
Remove reset tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Nov 21, 2023
1 parent ef0a8f1 commit c3af1fd
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,6 @@ describe("Component: identity-form", () => {

expect(passwordInput).toHaveValue("password");
expect(createButton).toBeEnabled();

// focus off password then focus back on should 1. clear the password and 2. disable the create button
await waitFor(() => {
fireEvent.focus(createButton);
fireEvent.focus(passwordInput);
});

expect(passwordInput).toHaveValue("");
expect(createButton).toBeDisabled();
});

it.skip("Identity form validation test - source - key upload", async () => {
Expand Down Expand Up @@ -326,14 +317,5 @@ describe("Component: identity-form", () => {
const createButton = screen.getByRole("button", { name: /submit/i });

expect(createButton).toBeEnabled();

// focus off password then focus back on should 1. clear the password and 2. disable the create button
await waitFor(() => {
fireEvent.focus(createButton);
fireEvent.focus(proxyPasswordInput);
});

expect(proxyPasswordInput).toHaveValue("");
expect(createButton).toBeDisabled();
});
});

0 comments on commit c3af1fd

Please sign in to comment.