         waitsFor ->
           tabBar.tabForItem(item1).updateIconVisibility.callCount > 0
 
-        expect(tabBar.find('.tab:eq(0) .title')).not.toHaveClass "hide-icon"
+        expect(tabBar.find('tabs-tab:eq(0) .title')).not.toHaveClass "hide-icon"
 
   describe "when the item doesn't have an icon defined", ->
     it "doesn't display an icon on the tab", ->
-      expect(tabBar.find('.tab:eq(2) .title')).not.toHaveClass "icon"
-      expect(tabBar.find('.tab:eq(2) .title')).not.toHaveClass "icon-squirrel"
+      expect(tabBar.find('tabs-tab:eq(2) .title')).not.toHaveClass "icon"
+      expect(tabBar.find('tabs-tab:eq(2) .title')).not.toHaveClass "icon-squirrel"
 
     it "shows the icon on the tab if an icon is defined", ->
       item2.getIconName = -> "squirrel"
       item2.emitIconChanged()
-      expect(tabBar.find('.tab:eq(2) .title')).toHaveClass "icon"
-      expect(tabBar.find('.tab:eq(2) .title')).toHaveClass "icon-squirrel"
+      expect(tabBar.find('tabs-tab:eq(2) .title')).toHaveClass "icon"
+      expect(tabBar.find('tabs-tab:eq(2) .title')).toHaveClass "icon-squirrel"
 
   describe "when a tab item's modified status changes", ->
     it "adds or removes the 'modified' class to the tab based on the status", ->

        atom.commands.dispatch(tabBar.element, 'tabs:close-other-tabs')
        expect(pane.getItems().length).toBe 1
        expect(tabBar.getTabs().length).toBe 1
        expect(tabBar.find('.tab:contains(sample.js)')).not.toExist()
        expect(tabBar.find('.tab:contains(Item 2)')).toExist()

    describe "when tabs:close-tabs-to-right is fired", ->
      it "closes only the tabs to the right of the active tab", ->

        expect(pane.getItems().length).toBe 2
        expect(pane.getItems().indexOf(item2)).toBe -1
        expect(tabBar.getTabs().length).toBe 2
        expect(tabBar.find('tabs-tab:contains(Item 2)')).not.toExist()

    describe "when tabs:close-other-tabs is fired", ->
      it "closes all other tabs except the active tab", ->
