commit/galaxy-central: carlfeberhard: Browser tests: update empty history message
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c7fa535a805f/ Changeset: c7fa535a805f User: carlfeberhard Date: 2014-02-20 17:56:45 Summary: Browser tests: update empty history message Affected #: 2 files diff -r baf2a8cc97ed720e10b6148254d7dd7478d8e839 -r c7fa535a805f0cc654984fe9344ba70c90238a15 test/casperjs/history-panel-tests.js --- a/test/casperjs/history-panel-tests.js +++ b/test/casperjs/history-panel-tests.js @@ -95,7 +95,7 @@ this.test.assertExists( emptyMsgSelector, emptyMsgSelector + ' exists' ); this.test.assertVisible( emptyMsgSelector, 'Empty history message is visible' ); this.test.assertSelectorHasText( emptyMsgSelector, emptyMsgStr, - 'Message contains "' + emptyMsgStr + '"' ); + 'Message contains\n"' + emptyMsgStr + '":\n"' + this.fetchText( emptyMsgSelector ) + '"' ); }); // ------------------------------------------------------------------- name editing @@ -157,7 +157,7 @@ spaceghost.tools.uploadFile( filepathToUpload, function uploadCallback( _uploadInfo ){ this.test.comment( 'uploaded file should appear in history' ); - this.debug( 'uploaded HDA info: ' + this.jsonStr( _uploadInfo ) ); + //this.debug( 'uploaded HDA info: ' + this.jsonStr( _uploadInfo ) ); var hasHda = _uploadInfo.hdaElement, hasClass = _uploadInfo.hdaElement.attributes[ 'class' ], hasOkClass = _uploadInfo.hdaElement.attributes[ 'class' ].indexOf( wrapperOkClassName ) !== -1; diff -r baf2a8cc97ed720e10b6148254d7dd7478d8e839 -r c7fa535a805f0cc654984fe9344ba70c90238a15 test/casperjs/modules/historypanel.js --- a/test/casperjs/modules/historypanel.js +++ b/test/casperjs/modules/historypanel.js @@ -388,7 +388,7 @@ }, newName : 'Unnamed history', newSize : '0 bytes', - emptyMsg : "Your history is empty. Click 'Get Data' on the left pane to start" + emptyMsg : "This history is empty. Click 'Get Data' on the left pane to start" }, hda : { datasetFetchErrorMsg : 'There was an error getting the data for this dataset' Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org