 
         it "adds an underline to the current line", ->
           expect(
-            editorElement.shadowRoot.querySelectorAll(
+            editorElement.querySelectorAll(
               '.cursor-line.highlight-line-multi-line-solid-bottom'
             )
           ).toHaveLength(1)


        it "adds an underline to the current line", ->
          expect(
            editorElement.shadowRoot.querySelectorAll(
              '.cursor-line.highlight-line-multi-line-dotted-bottom'
            )
          ).toHaveLength(1)

          atom.config.set('highlight-line.hideHighlightOnSelect', true)

        it "will have a highlight when there is no text selected", ->
          expect(editorElement
            .querySelectorAll('.cursor-line.highlight-line')
          ).toHaveLength(1)

        it "won`t have a highlight when there is text selected", ->
          range = new Range(new Point(8, 2), new Point(8, 5))
          editor.setSelectedBufferRange(range)
          expect(editorElement
            .querySelectorAll('.cursor-line.highlight-line')
          ).toHaveLength(0)

