   describe 'Intensity Chart', ->
     # Note: chart content is not testable. See the subjectDetailSpec note
     # for details.
-    #
-    # Note: this test case results in the following benign error message:
-    #     Client error: Error: [$compile:tpload] Failed to load template: /partials/intensity-chart.html
-    # The log messages are not informative. However, the error is ignored
-    # and tests succeed. The error does not occur for a browser load.
-    # TODO - find a way to isolate and correct this problem.
-    #
     it 'should display the chart', ->
       expect(page.chart, 'The chart is not displayed').to.eventually.exist
 

    # The locator for the image select button group element.
    # Since the tvolume number is one-based, the zero-based
    # image select index is one less than the volume number.
    locator = By.repeater('volume in scan.volumes').row(number - 1)
    # Find the image select button group element, then...
    @find(locator).then (elt) ->
      if elt?

          expect(open.isDisplayed(), 'The Open button is initially displayed')
            .to.eventually.be.false

        # FIXME - load is broken after the volume/slice refactoring and
        #   XTK removal.
        # TODO - if XTK is resurrected, then restore and fix. Otherwise,
        #   change to a time series load and volume prep, then enable all
        #   open buttons when loaded.
        #
        # # Get the download button, then...
        # btnGroup.download.then (download) ->
        #   # Click the download button and wait for the image to load, then...
        #   page.loadScanImage(download).then (loaded) ->
        #     expect(loaded, 'The Download button is still displayed a second' +
        #                    ' after being clicked')
        #       .to.be.true
        #     # The open button should be displayed.
        #     btnGroup.open.then (open) ->
        #       expect(open.isDisplayed(), 'The Open button is hidden after' +
        #                                  ' download')
        #         .to.eventually.be.true

    # TODO - Add a test to verify that an alert box is opened when a link for
    #   a missing image is clicked. Currently the opening of an alert box stops
