Skip to content

Commit

Permalink
Remove duplicate assertion in Create PipelineRun test
Browse files Browse the repository at this point in the history
Duplication likely the result of a bad merge when adding the
timeout to the assertion. No need to wait again for the same thing
once the first assertion passes.
  • Loading branch information
AlanGreene authored and tekton-robot committed Oct 4, 2023
1 parent 3571dd1 commit cfe0a29
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/containers/CreatePipelineRun/CreatePipelineRun.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ describe('CreatePipelineRun yaml mode', () => {
timeout: 3000
}
);
await waitFor(() => {
expect(queryAllByText(/Loading/).length).toBe(0);
});
await waitFor(() => {
expect(getByRole(/textbox/)).toBeTruthy();
});
Expand Down

0 comments on commit cfe0a29

Please sign in to comment.