 
           runs ->
             eachFilePath [rootDir1, rootDir2], (filePath) ->
-              item = Array.from(projectView.element.querySelectorAll('li')).find((a) -> a.textContent.includes(escapeSelector(filePath)))
+              item = Array.from(projectView.element.querySelectorAll('li')).find((a) -> a.textContent.includes(filePath))
               expect(item).toExist()
               nameDiv = item.querySelector("div:first-child")
               expect(nameDiv.dataset.name).toBe(path.basename(filePath))


          runs ->
            eachFilePath [rootDir1], (filePath) ->
              item = Array.from(projectView.element.querySelectorAll('li')).find((a) -> a.textContent.includes(escapeSelector(filePath)))
              expect(item).toExist()
              expect(item.querySelectorAll("div")[1].textContent).toBe(path.join(path.basename(rootDir1), filePath))

            eachFilePath [rootDir2], (filePath) ->
              item = Array.from(projectView.element.querySelectorAll('li')).find((a) -> a.textContent.includes(escapeSelector(filePath)))
              expect(item).toExist()
              expect(item.querySelectorAll("div")[1].textContent).toBe(path.join(path.basename(rootDir2), filePath))


          runs ->
            items = Array.from(projectView.element.querySelectorAll('li'))
            eachFilePath [rootDir1], (filePath) ->
              item = items.find((a) -> a.textContent.includes(filePath))
              expect(item).toExist()
              expect(item).not.toHaveText(path.basename(rootDir1))

