 
       waitsFor ->
         editorElement.shadowRoot.querySelectorAll('.line.bookmarked').length is 2
+      waitsFor ->
         editorElement.shadowRoot.querySelectorAll('.line-number.bookmarked').length is 2
 
       runs ->


      waitsFor ->
        editorElement.shadowRoot.querySelectorAll('.line.bookmarked').length is 1
        lines = editorElement.shadowRoot.querySelectorAll('.line-number.bookmarked')
        lines.length is 1



      waitsFor ->
        editorElement.shadowRoot.querySelectorAll('.line.bookmarked').length is 0
      waitsFor ->
        editorElement.shadowRoot.querySelectorAll('.line-number.bookmarked').length is 0

  describe "when a bookmark is invalidated", ->
