File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -400,10 +400,14 @@ describe('ApiSummary', () => {
400400 const element = await modelFixture ( oasMultipleServersWithDescriptionAmf ) ;
401401 const nodes = element . shadowRoot . querySelectorAll ( '.server-lists li' ) ;
402402 assert . lengthOf ( nodes , 4 , 'has 4 servers' ) ;
403- assert . equal ( nodes [ 0 ] . textContent . trim ( ) , 'https://api.aws-west-prd.capgroup.com/cdp-proxy/profiles\n MuleSoft PROD' ) ;
404- assert . equal ( nodes [ 1 ] . textContent . trim ( ) , 'https://api.aws-west-snp.capgroup.com/cdp-proxy-e2e/profiles\n MuleSoft UAT (for enterprise consumers)' ) ;
405- assert . equal ( nodes [ 2 ] . textContent . trim ( ) , 'https://api.aws-west-oz.capgroup.com/cdp-proxy-ite2/profiles\n MuleSoft QA (for enterprise consumers)' ) ;
403+ assert . equal ( nodes [ 0 ] . textContent . trim ( ) , 'https://api.aws-west-prd.capgroup.com/cdp-proxy/profiles' ) ;
404+ assert . equal ( nodes [ 0 ] . querySelector ( 'arc-marked' ) . markdown , 'MuleSoft PROD' ) ;
405+ assert . equal ( nodes [ 1 ] . textContent . trim ( ) , 'https://api.aws-west-snp.capgroup.com/cdp-proxy-e2e/profiles' ) ;
406+ assert . equal ( nodes [ 1 ] . querySelector ( 'arc-marked' ) . markdown , 'MuleSoft UAT (for enterprise consumers)' ) ;
407+ assert . equal ( nodes [ 2 ] . textContent . trim ( ) , 'https://api.aws-west-oz.capgroup.com/cdp-proxy-ite2/profiles' ) ;
408+ assert . equal ( nodes [ 2 ] . querySelector ( 'arc-marked' ) . markdown , 'MuleSoft QA (for enterprise consumers)' ) ;
406409 assert . equal ( nodes [ 3 ] . textContent . trim ( ) , 'https://api.aws-west-oz.capgroup.com/cdp-proxy-dev2/profiles' ) ;
410+ assert . isUndefined ( nodes [ 3 ] . querySelector ( 'arc-marked' ) . markdown ) ;
407411 } ) ;
408412 } ) ;
409413
You can’t perform that action at this time.
0 commit comments