Skip to content

Commit 06632fa

Browse files
committed
#1650 - tests :(
1 parent 730fc6c commit 06632fa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/frontend/src/tests/pages/ChangeRequestDetailPage/ProposedSolutionsList.test.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ describe('Proposed Solutions List Test Suite', () => {
5858

5959
it('Renders correctly when not empty and CR is not reviewed', () => {
6060
renderComponent(exampleProposedSolutions);
61-
expect(screen.getByText('+ Add Solution')).toBeInTheDocument();
6261
expect(screen.getAllByText(/Description/).length).toBe(2);
6362
expect(screen.getByText('Desc 1')).toBeInTheDocument();
6463
expect(screen.getByText('Scope Impact 1')).toBeInTheDocument();
@@ -72,7 +71,6 @@ describe('Proposed Solutions List Test Suite', () => {
7271

7372
it('Renders correctly when empty and CR is not reviewed', () => {
7473
renderComponent();
75-
expect(screen.getByText('+ Add Solution')).toBeInTheDocument();
7674
expect(screen.queryAllByText('Description').length).toBe(0);
7775
expect(screen.queryAllByText('Scope Impact').length).toBe(0);
7876
expect(screen.queryByText('Desc 1')).not.toBeInTheDocument();
@@ -90,7 +88,6 @@ describe('Proposed Solutions List Test Suite', () => {
9088
expect(screen.queryByText('Description')).not.toBeInTheDocument();
9189
expect(screen.queryByText('Scope Impact')).not.toBeInTheDocument();
9290
expect(screen.queryByText('Add')).not.toBeInTheDocument();
93-
screen.getByText('+ Add Solution').click();
9491
expect(screen.getByText('Description')).toBeInTheDocument();
9592
expect(screen.getByText('Scope Impact')).toBeInTheDocument();
9693
expect(screen.getByText('Add')).toBeInTheDocument();

0 commit comments

Comments
 (0)