     _getTextsForElements: (cssQuery) ->
       Ext.Array.map(@app.getEl().query(cssQuery), (el) -> el.innerHTML).join('__')
 
+    _createAppAndWaitForVisible: (callback) ->
+      @_createApp(project: '/project/431439')
+      @waitForVisible(css: '.progress-bar-container.field-PercentDoneByStoryCount').then =>
+        callback()
+
+    _mouseOverAndWaitForVisible: (fieldName) ->
+      @mouseOver(css: '.progress-bar-container.field-' + fieldName).then =>
+        @waitForVisible(css: '.percentDonePopover')
+
   beforeEach ->
 
     Rally.environment.getContext().context.subscription.Modules = ['Rally Portfolio Manager']

        _ref: '/user/1'
        _refObjectName: 'Name of Owner'
      State: '/state/1'

    @ajax.whenQuerying('PortfolioItem/Feature').respondWith [feature]



      @app.destroy()


  it 'should create popover when hovering over a progress bar', ->
    @ajax.whenQuerying('state').respondWith([
      {
      '_type': "State"
      'Name': "Column1"
      '_ref': '/state/1'
      'WIPLimit': 4
      }
    ])
    feature =
