File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ describe('alert_form', () => {
190190 wrapper . find ( '[data-test-subj="my-alert-type-SelectOption"]' ) . first ( ) . simulate ( 'click' ) ;
191191 const alertDescription = wrapper . find ( '[data-test-subj="alertDescription"]' ) ;
192192 expect ( alertDescription . exists ( ) ) . toBeTruthy ( ) ;
193- expect ( alertDescription . first ( ) . text ( ) ) . toBe ( 'Alert when testing' ) ;
193+ expect ( alertDescription . first ( ) . text ( ) ) . toContain ( 'Alert when testing' ) ;
194194 } ) ;
195195
196196 it ( 'renders alert type documentation link' , async ( ) => {
@@ -448,7 +448,7 @@ describe('alert_form', () => {
448448 await setup ( ) ;
449449 const alertDescription = wrapper . find ( '[data-test-subj="alertDescription"]' ) ;
450450 expect ( alertDescription . exists ( ) ) . toBeTruthy ( ) ;
451- expect ( alertDescription . first ( ) . text ( ) ) . toBe ( 'Alert when testing' ) ;
451+ expect ( alertDescription . first ( ) . text ( ) ) . toContain ( 'Alert when testing' ) ;
452452 } ) ;
453453
454454 it ( 'renders alert type documentation link' , async ( ) => {
You can’t perform that action at this time.
0 commit comments