@@ -377,11 +377,11 @@ define(function (require, exports, module) {
377377 } , "LiveDevelopment STATUS_OUT_OF_SYNC and DOMAgent.root" , 10000 ) ;
378378
379379 // Grab the node that we've just modified in Brackets.
380- // Verify that we get the original text and not modified text.
380+ // Verify that we get the modified text in memory and not the original text on disk .
381381 var originalNode ;
382382 runs ( function ( ) {
383- originalNode = DOMAgent . nodeAtLocation ( 230 ) ;
384- expect ( originalNode . value ) . toBe ( "Brackets is awesome!" ) ;
383+ originalNode = DOMAgent . nodeAtLocation ( 325 ) ;
384+ expect ( originalNode . value ) . toBe ( "Live Preview in Brackets is awesome!" ) ;
385385 } ) ;
386386
387387 // wait for LiveDevelopment to unload and reload agents after saving
@@ -406,12 +406,11 @@ define(function (require, exports, module) {
406406 } , "LiveDevelopment re-load and re-activate" , 10000 ) ;
407407
408408 // Grab the node that we've modified in Brackets.
409- // This time we should have modified text since the file has been saved in Brackets.
410409 var updatedNode , doneSyncing = false ;
411410 runs ( function ( ) {
412411 testWindow . $ ( LiveDevelopment ) . off ( "statusChange" , statusChangeHandler ) ;
413412
414- updatedNode = DOMAgent . nodeAtLocation ( 230 ) ;
413+ updatedNode = DOMAgent . nodeAtLocation ( 325 ) ;
415414 liveDoc = LiveDevelopment . getLiveDocForPath ( testPath + "/simple1.css" ) ;
416415
417416 liveDoc . getSourceFromBrowser ( ) . done ( function ( text ) {
@@ -424,7 +423,7 @@ define(function (require, exports, module) {
424423 runs ( function ( ) {
425424 expect ( fixSpaces ( browserCssText ) ) . toBe ( fixSpaces ( localCssText ) ) ;
426425
427- // Verify that we have modified text
426+ // Verify that we still have modified text
428427 expect ( updatedNode . value ) . toBe ( "Live Preview in Brackets is awesome!" ) ;
429428 } ) ;
430429
0 commit comments