{"action":"created","issue":{"url":"https://api.github.com/repos/TestArmada/magellan/issues/46","labels_url":"https://api.github.com/repos/TestArmada/magellan/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/TestArmada/magellan/issues/46/comments","events_url":"https://api.github.com/repos/TestArmada/magellan/issues/46/events","html_url":"https://github.com/TestArmada/magellan/issues/46","id":108005775,"number":46,"title":"Tests folder structure should be traversed correctly","user":{"login":"abhagupta","id":825965,"avatar_url":"https://avatars.githubusercontent.com/u/825965?v=3","gravatar_id":"","url":"https://api.github.com/users/abhagupta","html_url":"https://github.com/abhagupta","followers_url":"https://api.github.com/users/abhagupta/followers","following_url":"https://api.github.com/users/abhagupta/following{/other_user}","gists_url":"https://api.github.com/users/abhagupta/gists{/gist_id}","starred_url":"https://api.github.com/users/abhagupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhagupta/subscriptions","organizations_url":"https://api.github.com/users/abhagupta/orgs","repos_url":"https://api.github.com/users/abhagupta/repos","events_url":"https://api.github.com/users/abhagupta/events{/privacy}","received_events_url":"https://api.github.com/users/abhagupta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-23T21:03:56Z","updated_at":"2015-09-23T21:06:41Z","closed_at":null,"body":"If you create a folder structure under `<project>/tests/<some directory>/<testfile.js> ` , the test cases are not recognized unless you change the conf/nightwatch.json with that specific directory. This will not be feasible at large scale when teams will like to create folders for their tracks.  We need to ensure that the folders are ignored and just .js files are recognized as valid test cases at any level under `tests/`"},"comment":{"url":"https://api.github.com/repos/TestArmada/magellan/issues/comments/142728383","html_url":"https://github.com/TestArmada/magellan/issues/46#issuecomment-142728383","issue_url":"https://api.github.com/repos/TestArmada/magellan/issues/46","id":142728383,"user":{"login":"abhagupta","id":825965,"avatar_url":"https://avatars.githubusercontent.com/u/825965?v=3","gravatar_id":"","url":"https://api.github.com/users/abhagupta","html_url":"https://github.com/abhagupta","followers_url":"https://api.github.com/users/abhagupta/followers","following_url":"https://api.github.com/users/abhagupta/following{/other_user}","gists_url":"https://api.github.com/users/abhagupta/gists{/gist_id}","starred_url":"https://api.github.com/users/abhagupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhagupta/subscriptions","organizations_url":"https://api.github.com/users/abhagupta/orgs","repos_url":"https://api.github.com/users/abhagupta/repos","events_url":"https://api.github.com/users/abhagupta/events{/privacy}","received_events_url":"https://api.github.com/users/abhagupta/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T21:06:41Z","updated_at":"2015-09-23T21:06:41Z","body":"```/Users/agupt13/Documents/workspace/testarmada_magellan/magellan-performance/node_modules/testarmada-magellan/src/interop/magellan-nightwatch/get_tests.js:21\r\n  srcFolders.forEach(function (folder) {\r\n             ^\r\nTypeError: Cannot call method 'forEach' of undefined\r\n    at module.exports (/Users/agupt13/Documents/workspace/testarmada_magellan/magellan-performance/node_modules/testarmada-magellan/src/interop/magellan-nightwatch/get_tests.js:21:14)```"}}