@@ -147,7 +147,7 @@ describe('DirectionButtons', () => {
147147 userEvent . hover ( continueButton . parentElement ! ) ;
148148
149149 expect (
150- await findByText ( 'Complete all required fields to continue' ) ,
150+ await findByText ( 'Complete all fields to continue' ) ,
151151 ) . toBeInTheDocument ( ) ;
152152 } ) ;
153153
@@ -161,7 +161,7 @@ describe('DirectionButtons', () => {
161161
162162 await waitFor ( ( ) => {
163163 expect (
164- queryByText ( 'Complete all required fields to continue' ) ,
164+ queryByText ( 'Complete all fields to continue' ) ,
165165 ) . not . toBeInTheDocument ( ) ;
166166 } ) ;
167167 } ) ;
@@ -170,7 +170,7 @@ describe('DirectionButtons', () => {
170170 const { findByRole, findByText, queryByText } = render (
171171 < TestComponent
172172 disableNext = { true }
173- disabledNextTooltip = "Complete all required fields to submit"
173+ disabledNextTooltip = "Complete all fields to submit"
174174 /> ,
175175 ) ;
176176
@@ -180,10 +180,10 @@ describe('DirectionButtons', () => {
180180 userEvent . hover ( continueButton . parentElement ! ) ;
181181
182182 expect (
183- await findByText ( 'Complete all required fields to submit' ) ,
183+ await findByText ( 'Complete all fields to submit' ) ,
184184 ) . toBeInTheDocument ( ) ;
185185 expect (
186- queryByText ( 'Complete all required fields to continue' ) ,
186+ queryByText ( 'Complete all fields to continue' ) ,
187187 ) . not . toBeInTheDocument ( ) ;
188188 } ) ;
189189
@@ -207,7 +207,7 @@ describe('DirectionButtons', () => {
207207 const { findByRole, queryByText } = render (
208208 < TestComponent
209209 disableNext = { true }
210- disabledNextTooltip = "Complete all required fields to submit"
210+ disabledNextTooltip = "Complete all fields to submit"
211211 loadingNext = { true }
212212 loadingNextTitle = "Saving..."
213213 /> ,
@@ -218,7 +218,7 @@ describe('DirectionButtons', () => {
218218
219219 await waitFor ( ( ) => {
220220 expect (
221- queryByText ( 'Complete all required fields to submit' ) ,
221+ queryByText ( 'Complete all fields to submit' ) ,
222222 ) . not . toBeInTheDocument ( ) ;
223223 } ) ;
224224 } ) ;
0 commit comments