@@ -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 ( / D e s c r i p t i o n / ) . 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