File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ describe('config argument', function() {
509509 modeBarButtons . sendChartToCloud . click ( gd ) ;
510510 var msg = document . querySelector ( '.plotly-cloud-dialog-message' ) ;
511511 expect ( msg ) . not . toBe ( null , 'confirmation dialog should be shown' ) ;
512- expect ( msg . textContent ) . toContain ( 'https:// example.plotly.com/endpoint ' ) ;
512+ expect ( msg . textContent ) . toContain ( 'example.plotly.com' ) ;
513513 } )
514514 . then ( done , done . fail ) ;
515515 } ) ;
@@ -560,8 +560,8 @@ describe('config argument', function() {
560560
561561 var msg = document . querySelector ( '.plotly-cloud-dialog-message' ) ;
562562 expect ( msg ) . not . toBe ( null , 'confirmation dialog should be shown' ) ;
563- expect ( msg . textContent ) . toContain ( 'https:// yo.plotly.com/endpoint ' ) ;
564- expect ( msg . textContent ) . not . toContain ( 'https:// example.plotly.com/endpoint2 ' ) ;
563+ expect ( msg . textContent ) . toContain ( 'yo.plotly.com' ) ;
564+ expect ( msg . textContent ) . not . toContain ( 'example.plotly.com' ) ;
565565 } )
566566 . catch ( failTest )
567567 . then ( function ( ) {
You can’t perform that action at this time.
0 commit comments