diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js
index 9898869f0e..b6f4838ae1 100644
--- a/src/app/tabs/test-tab.js
+++ b/src/app/tabs/test-tab.js
@@ -97,9 +97,10 @@ module.exports = class TestTab {
self._events.filePanel.register('newTestFileCreated', file => {
var testList = document.querySelector(`[class^='testList']`)
- var test = yo``
+ var test = yo``
testList.appendChild(test)
self.data.allTests.push(file)
+ self.data.selectedTests.push(file)
})
// self._events.filePanel.register('fileRenamed', (oldName, newName, isFolder) => {