Skip to content

Commit 55997e3

Browse files
committed
#1650 - tests.
1 parent 880376a commit 55997e3

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ describe('Proposed Solutions List Test Suite', () => {
5858
renderComponent(exampleProposedSolutions);
5959
expect(screen.getByText('+ Add Solution')).toBeInTheDocument();
6060
expect(screen.getAllByText(/Description/).length).toBe(2);
61-
expect(screen.getAllByText(/Budget Impact/).length).toBe(2);
62-
expect(screen.getAllByText(/Timeline Impact/).length).toBe(2);
6361
expect(screen.getByText('Desc 1')).toBeInTheDocument();
6462
expect(screen.getByText('Scope Impact 1')).toBeInTheDocument();
6563
expect(screen.getByText('$11')).toBeInTheDocument();
@@ -75,8 +73,6 @@ describe('Proposed Solutions List Test Suite', () => {
7573
expect(screen.getByText('+ Add Solution')).toBeInTheDocument();
7674
expect(screen.queryAllByText('Description').length).toBe(0);
7775
expect(screen.queryAllByText('Scope Impact').length).toBe(0);
78-
expect(screen.queryAllByText('Budget Impact').length).toBe(0);
79-
expect(screen.queryAllByText('Timeline Impact').length).toBe(0);
8076
expect(screen.queryByText('Desc 1')).not.toBeInTheDocument();
8177
expect(screen.queryByText('Scope Impact 1')).not.toBeInTheDocument();
8278
expect(screen.queryByText('$11')).not.toBeInTheDocument();
@@ -91,14 +87,10 @@ describe('Proposed Solutions List Test Suite', () => {
9187
renderComponent();
9288
expect(screen.queryByText('Description')).not.toBeInTheDocument();
9389
expect(screen.queryByText('Scope Impact')).not.toBeInTheDocument();
94-
expect(screen.queryByText('Budget Impact')).not.toBeInTheDocument();
95-
expect(screen.queryByText('Timeline Impact')).not.toBeInTheDocument();
9690
expect(screen.queryByText('Add')).not.toBeInTheDocument();
9791
screen.getByText('+ Add Solution').click();
9892
expect(screen.getByText('Description')).toBeInTheDocument();
9993
expect(screen.getByText('Scope Impact')).toBeInTheDocument();
100-
expect(screen.getByText('Budget Impact')).toBeInTheDocument();
101-
expect(screen.getByText('Timeline Impact')).toBeInTheDocument();
10294
expect(screen.getByText('Add')).toBeInTheDocument();
10395
});
10496

0 commit comments

Comments
 (0)