{"action":"closed","issue":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/375","labels_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/375/comments","events_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/375/events","html_url":"https://github.com/PolymerElements/polymer-starter-kit/issues/375","id":107546126,"number":375,"title":"gulp test:local fails all some tests if base directory is not named 'polymer-starter-kit'","user":{"login":"vl4dt","id":7919892,"avatar_url":"https://avatars.githubusercontent.com/u/7919892?v=3","gravatar_id":"","url":"https://api.github.com/users/vl4dt","html_url":"https://github.com/vl4dt","followers_url":"https://api.github.com/users/vl4dt/followers","following_url":"https://api.github.com/users/vl4dt/following{/other_user}","gists_url":"https://api.github.com/users/vl4dt/gists{/gist_id}","starred_url":"https://api.github.com/users/vl4dt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vl4dt/subscriptions","organizations_url":"https://api.github.com/users/vl4dt/orgs","repos_url":"https://api.github.com/users/vl4dt/repos","events_url":"https://api.github.com/users/vl4dt/events{/privacy}","received_events_url":"https://api.github.com/users/vl4dt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/milestones/2","html_url":"https://github.com/PolymerElements/polymer-starter-kit/milestones/1.1.1","labels_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/milestones/2/labels","id":1277231,"number":2,"title":"1.1.1","description":"","creator":{"login":"addyosmani","id":110953,"avatar_url":"https://avatars.githubusercontent.com/u/110953?v=3","gravatar_id":"","url":"https://api.github.com/users/addyosmani","html_url":"https://github.com/addyosmani","followers_url":"https://api.github.com/users/addyosmani/followers","following_url":"https://api.github.com/users/addyosmani/following{/other_user}","gists_url":"https://api.github.com/users/addyosmani/gists{/gist_id}","starred_url":"https://api.github.com/users/addyosmani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addyosmani/subscriptions","organizations_url":"https://api.github.com/users/addyosmani/orgs","repos_url":"https://api.github.com/users/addyosmani/repos","events_url":"https://api.github.com/users/addyosmani/events{/privacy}","received_events_url":"https://api.github.com/users/addyosmani/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":4,"state":"open","created_at":"2015-08-28T09:07:48Z","updated_at":"2015-09-25T21:49:36Z","due_on":"2015-10-06T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-09-21T16:09:10Z","updated_at":"2015-09-25T21:49:36Z","closed_at":"2015-09-25T21:49:36Z","body":"I have another project based on the PSK 1.0, all tests pass without an issue no matter what the directory name is, I might try to update it in a separate directory to see how it behaves.\r\n\r\nSetup:\r\n\r\nUbuntu 14.04.3 LTS\r\nnode v0.12.7\r\nnpm 2.14.1\r\nbower 2.14.1\r\nzsh 5.0.2 (x86_64-pc-linux-gnu) (plus Prezto)\r\nGoogle Chrome Version 45.0.2454.93 (64-bit)\r\nFirefox 40.0.3\r\n\r\nBut in this case I did all from zero:\r\n```bash\r\n$ git clone https://github.com/PolymerElements/polymer-starter-kit.git\r\n$ cd polymer-starter-kit\r\n$ npm install -g gulp bower && npm install && bower install\r\n```\r\n\r\nThen did the following:\r\n**gulp && gulp test:local**, changed directory name to **psk110**, tried **gulp && gulp test:local** again, this time all tests fail, then I changed the directory back to **polymer-starter-kit** again, all tests passed:\r\n```bash\r\n~/projects/psk/polymer-starter-kit master 1m 28s\r\n❯ gulp && gulp test:local\r\n[09:53:53] Using gulpfile ~/projects/psk/polymer-starter-kit/gulpfile.js\r\n[09:53:53] Starting 'clean'...\r\n[09:53:53] Finished 'clean' after 302 ms\r\n[09:53:53] Starting 'default'...\r\n[09:53:53] Starting 'copy'...\r\n[09:53:53] Starting 'styles'...\r\n[09:53:54] styles all files 98 B\r\n[09:53:54] Finished 'styles' after 582 ms\r\n[09:53:55] copy all files 10.98 MB\r\n[09:53:55] Finished 'copy' after 1.38 s\r\n[09:53:55] Starting 'elements'...\r\n[09:53:55] Finished 'elements' after 4.46 ms\r\n[09:53:55] Starting 'jshint'...\r\n[09:53:55] Starting 'images'...\r\n[09:53:55] Starting 'fonts'...\r\n[09:53:55] Starting 'html'...\r\n[09:53:56] Finished 'fonts' after 520 ms\r\n[09:53:58] Finished 'jshint' after 2.8 s\r\n[09:53:58] images all files 35.41 kB\r\n[09:53:58] Finished 'images' after 2.61 s\r\n[09:53:58] html all files 51.25 kB\r\n[09:53:58] Finished 'html' after 2.22 s\r\n[09:53:58] Starting 'vulcanize'...\r\n[09:54:06] Finished 'vulcanize' after 8.25 s\r\n[09:54:06] Starting 'rename-index'...\r\n[09:54:06] Finished 'rename-index' after 4.79 ms\r\n[09:54:06] Finished 'default' after 12 s\r\n[09:54:08] Using gulpfile ~/projects/psk/polymer-starter-kit/gulpfile.js\r\n[09:54:08] Starting 'wct:local'...\r\nInstalling and starting Selenium server for local browsers\r\nSelenium server running on port 48822\r\nWeb server running on port 2000 and serving from /home/ricardo/projects/psk/polymer-starter-kit\r\nchrome 45                Beginning tests via http://localhost:2000/components/polymer-starter-kit/generated-index.html?cli_browser_id=0\r\nchrome 45                Tests passed\r\nfirefox 40               Beginning tests via http://localhost:2000/components/polymer-starter-kit/generated-index.html?cli_browser_id=1\r\nfirefox 40               Tests passed\r\nTest run ended with great success\r\n\r\nchrome 45 (2/0/0)                       firefox 40 (2/0/0)                    \r\n[09:54:25] Finished 'wct:local' after 16 s\r\n[09:54:25] Starting 'test:local'...\r\n[09:54:25] Finished 'test:local' after 10 μs\r\n                                                                                                                                                                                                                \r\n~/projects/psk/polymer-starter-kit master 35s\r\n❯ cd ..\r\n                                                                                                                                                                                                                \r\n~/projects/psk\r\n❯ rm -rf psk110\r\n                                                                                                                                                                                                                \r\n~/projects/psk 13s\r\n❯ mv polymer-starter-kit psk110\r\n\r\n~/projects/psk\r\n❯ cd psk110\r\n                                                                                                                                                                                                                \r\n~/projects/psk/psk110 master\r\n❯ gulp && gulp test:local\r\n[09:55:27] Using gulpfile ~/projects/psk/psk110/gulpfile.js\r\n[09:55:27] Starting 'clean'...\r\n[09:55:28] Finished 'clean' after 318 ms\r\n[09:55:28] Starting 'default'...\r\n[09:55:28] Starting 'copy'...\r\n[09:55:28] Starting 'styles'...\r\n[09:55:28] styles all files 98 B\r\n[09:55:28] Finished 'styles' after 569 ms\r\n[09:55:29] copy all files 10.98 MB\r\n[09:55:29] Finished 'copy' after 1.38 s\r\n[09:55:29] Starting 'elements'...\r\n[09:55:29] Finished 'elements' after 6.75 ms\r\n[09:55:29] Starting 'jshint'...\r\n[09:55:29] Starting 'images'...\r\n[09:55:29] Starting 'fonts'...\r\n[09:55:29] Starting 'html'...\r\n[09:55:30] Finished 'fonts' after 409 ms\r\n[09:55:31] Finished 'jshint' after 2.57 s\r\n[09:55:31] images all files 35.41 kB\r\n[09:55:31] Finished 'images' after 2.36 s\r\n[09:55:31] html all files 51.25 kB\r\n[09:55:31] Finished 'html' after 2.01 s\r\n[09:55:31] Starting 'vulcanize'...\r\n[09:55:40] Finished 'vulcanize' after 8.39 s\r\n[09:55:40] Starting 'rename-index'...\r\n[09:55:40] Finished 'rename-index' after 2.95 ms\r\n[09:55:40] Finished 'default' after 12 s\r\n[09:55:42] Using gulpfile ~/projects/psk/psk110/gulpfile.js\r\n[09:55:42] Starting 'wct:local'...\r\nInstalling and starting Selenium server for local browsers\r\nSelenium server running on port 45563\r\nWeb server running on port 2000 and serving from /home/ricardo/projects/psk/psk110\r\nchrome 45                Beginning tests via http://localhost:2000/components/psk110/generated-index.html?cli_browser_id=0\r\n404 GET /components/psk110/app/bower_components/polymer/polymer.html\r\nchrome 45                ✖ Test Suite Initialization\r\n\r\n  Polymer is not defined\r\n    <unknown> at   <unknown> at /components/psk110/app/elements/my-greeting/my-greeting.html:30:0\r\n    <unknown> at   <unknown> at /components/psk110/app/elements/my-greeting/my-greeting.html:41:0\r\n\r\nchrome 45                ✖ app/test/my-greeting-basic.html » my-greeting tests » Welcome!\r\n\r\n  Cannot read property 'textContent' of null\r\n    <unknown> at   Context.<anonymous> at my-greeting-basic.html:45:0\r\n\r\n404 GET /components/psk110/app/bower_components/polymer/polymer.html\r\nchrome 45                ✖ Test Suite Initialization\r\n\r\n  Polymer is not defined\r\n    <unknown> at   <unknown> at /components/psk110/app/elements/my-list/my-list.html:30:0\r\n    <unknown> at   <unknown> at /components/psk110/app/elements/my-list/my-list.html:49:0\r\n\r\nchrome 45                ✖ app/test/my-list-basic.html » my-list tests » Item lengths should be equalled\r\n\r\n  expected 6 to equal 0\r\n    <unknown> at   <unknown> at my-list-basic.html:59:0\r\n\r\nchrome 45                Tests failed: 4 failed tests\r\nfirefox 40               Beginning tests via http://localhost:2000/components/psk110/generated-index.html?cli_browser_id=1\r\n404 GET /components/psk110/app/bower_components/polymer/polymer.html\r\nfirefox 40               ✖ app/test/my-greeting-basic.html » my-greeting tests » Welcome!\r\n\r\n  header is null\r\n    <unknown> at   <unknown> at my-greeting-basic.html:45:0\r\n\r\n404 GET /components/psk110/app/bower_components/polymer/polymer.html\r\nfirefox 40               ✖ app/test/my-list-basic.html » my-list tests » Item lengths should be equalled\r\n\r\n  AssertionError: expected 6 to equal 0 (:0)\r\n    <unknown> at   <unknown> at /components/mocha/mocha.js:12308:0\r\n\r\nfirefox 40               Tests failed: 2 failed tests\r\nTest run ended in failure: 4 failed tests, 2 failed tests\r\n\r\nchrome 45 (0/0/4)                       firefox 40 (0/0/2)                    \r\n[09:55:59] 'wct:local' errored after 17 s\r\n[09:55:59] Error: 4 failed tests, 2 failed tests\r\n                                                                                                                                                                                                                \r\n~/projects/psk/psk110 master 35s\r\n❯ cd ..\r\n                                                                                                                                                                                                                \r\n~/projects/psk\r\n❯ mv psk110 polymer-starter-kit\r\n                                                                                                                                                                                                                \r\n~/projects/psk\r\n❯ cd polymer-starter-kit\r\n                                                                                                                                                                                                                \r\n~/projects/psk/polymer-starter-kit master\r\n❯ gulp && gulp test:local\r\n[10:04:54] Using gulpfile ~/projects/psk/polymer-starter-kit/gulpfile.js\r\n[10:04:54] Starting 'clean'...\r\n[10:04:54] Finished 'clean' after 248 ms\r\n[10:04:54] Starting 'default'...\r\n[10:04:54] Starting 'copy'...\r\n[10:04:54] Starting 'styles'...\r\n[10:04:55] styles all files 98 B\r\n[10:04:55] Finished 'styles' after 588 ms\r\n[10:04:56] copy all files 10.98 MB\r\n[10:04:56] Finished 'copy' after 1.37 s\r\n[10:04:56] Starting 'elements'...\r\n[10:04:56] Finished 'elements' after 4.82 ms\r\n[10:04:56] Starting 'jshint'...\r\n[10:04:56] Starting 'images'...\r\n[10:04:56] Starting 'fonts'...\r\n[10:04:56] Starting 'html'...\r\n[10:04:57] Finished 'fonts' after 410 ms\r\n[10:04:58] Finished 'jshint' after 2.6 s\r\n[10:04:58] images all files 35.41 kB\r\n[10:04:58] Finished 'images' after 2.38 s\r\n[10:04:58] html all files 51.25 kB\r\n[10:04:58] Finished 'html' after 2 s\r\n[10:04:58] Starting 'vulcanize'...\r\n[10:05:06] Finished 'vulcanize' after 8.27 s\r\n[10:05:06] Starting 'rename-index'...\r\n[10:05:06] Finished 'rename-index' after 3.61 ms\r\n[10:05:06] Finished 'default' after 12 s\r\n[10:05:09] Using gulpfile ~/projects/psk/polymer-starter-kit/gulpfile.js\r\n[10:05:09] Starting 'wct:local'...\r\nInstalling and starting Selenium server for local browsers\r\nSelenium server running on port 59171\r\nWeb server running on port 2000 and serving from /home/ricardo/projects/psk/polymer-starter-kit\r\nchrome 45                Beginning tests via http://localhost:2000/components/polymer-starter-kit/generated-index.html?cli_browser_id=0\r\nchrome 45                Tests passed\r\nfirefox 40               Beginning tests via http://localhost:2000/components/polymer-starter-kit/generated-index.html?cli_browser_id=1\r\nfirefox 40               Tests passed\r\nTest run ended with great success\r\n\r\nchrome 45 (2/0/0)                       firefox 40 (2/0/0)                    \r\n[10:05:24] Finished 'wct:local' after 15 s\r\n[10:05:24] Starting 'test:local'...\r\n[10:05:24] Finished 'test:local' after 9.77 μs\r\n                                                                                                                                                                                                                \r\n~/projects/psk/polymer-starter-kit master 32s\r\n❯ \r\n```\r\n"}}