     it 'scrolls the view until the passed-on row become visible', ->
       tableElement.makeRowVisible(50)
 
-      expect(tableElement.body.scrollTop).toEqual(847)
+      expect(tableElement.getRowsContainer().scrollTop).toEqual(849)
 
   describe 'core:undo', ->
     it 'triggers an undo on the table', ->

        nextAnimationFrame()

      it 'sets the proper height on the table body content', ->
        bodyContent = tableShadowRoot.querySelector('.table-edit-content')

        expect(bodyContent.offsetHeight).toBeCloseTo(2030)



      atom.commands.dispatch(tableElement, 'table-edit:select-to-beginning-of-table')

      expect(tableElement.getRowsContainer().scrollTop).toEqual(0)

    describe 'table-edit:select-to-end-of-table', ->
      it 'expands the selection to the end of the table', ->
