@@ -56,7 +56,7 @@ describe('Proposed Solutions List Test Suite', () => {
5656
5757 it ( 'Renders correctly when not empty and CR is not reviewed' , ( ) => {
5858 renderComponent ( exampleProposedSolutions ) ;
59- expect ( screen . getByText ( '+ Add Proposed Solution' ) ) . toBeInTheDocument ( ) ;
59+ expect ( screen . getByText ( '+ Add Solution' ) ) . toBeInTheDocument ( ) ;
6060 expect ( screen . getAllByText ( / D e s c r i p t i o n / ) . length ) . toBe ( 2 ) ;
6161 expect ( screen . getAllByText ( / B u d g e t I m p a c t / ) . length ) . toBe ( 2 ) ;
6262 expect ( screen . getAllByText ( / T i m e l i n e I m p a c t / ) . length ) . toBe ( 2 ) ;
@@ -72,7 +72,7 @@ describe('Proposed Solutions List Test Suite', () => {
7272
7373 it ( 'Renders correctly when empty and CR is not reviewed' , ( ) => {
7474 renderComponent ( ) ;
75- expect ( screen . getByText ( '+ Add Proposed Solution' ) ) . toBeInTheDocument ( ) ;
75+ expect ( screen . getByText ( '+ Add Solution' ) ) . toBeInTheDocument ( ) ;
7676 expect ( screen . queryAllByText ( 'Description' ) . length ) . toBe ( 0 ) ;
7777 expect ( screen . queryAllByText ( 'Scope Impact' ) . length ) . toBe ( 0 ) ;
7878 expect ( screen . queryAllByText ( 'Budget Impact' ) . length ) . toBe ( 0 ) ;
@@ -94,7 +94,7 @@ describe('Proposed Solutions List Test Suite', () => {
9494 expect ( screen . queryByText ( 'Budget Impact' ) ) . not . toBeInTheDocument ( ) ;
9595 expect ( screen . queryByText ( 'Timeline Impact' ) ) . not . toBeInTheDocument ( ) ;
9696 expect ( screen . queryByText ( 'Add' ) ) . not . toBeInTheDocument ( ) ;
97- screen . getByText ( '+ Add Proposed Solution' ) . click ( ) ;
97+ screen . getByText ( '+ Add Solution' ) . click ( ) ;
9898 expect ( screen . getByText ( 'Description' ) ) . toBeInTheDocument ( ) ;
9999 expect ( screen . getByText ( 'Scope Impact' ) ) . toBeInTheDocument ( ) ;
100100 expect ( screen . getByText ( 'Budget Impact' ) ) . toBeInTheDocument ( ) ;
@@ -104,11 +104,11 @@ describe('Proposed Solutions List Test Suite', () => {
104104
105105 it ( 'Renders correctly when not empty and CR is reviewed' , ( ) => {
106106 renderComponent ( exampleProposedSolutions , true ) ;
107- expect ( screen . queryByText ( '+ Add Proposed Solution' ) ) . not . toBeInTheDocument ( ) ;
107+ expect ( screen . queryByText ( '+ Add Solution' ) ) . not . toBeInTheDocument ( ) ;
108108 } ) ;
109109
110110 it ( 'Renders correctly when empty and CR is reviewed' , ( ) => {
111111 renderComponent ( [ ] , false ) ;
112- expect ( screen . queryByText ( '+ Add Proposed Solution' ) ) . not . toBeInTheDocument ( ) ;
112+ expect ( screen . queryByText ( '+ Add Solution' ) ) . not . toBeInTheDocument ( ) ;
113113 } ) ;
114114} ) ;
0 commit comments