{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/890","repository_url":"https://api.github.com/repos/webcompat/webcompat.com","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/890/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/890/comments","events_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/890/events","html_url":"https://github.com/webcompat/webcompat.com/issues/890","id":124294747,"number":890,"title":"Intermittent Search test failures","user":{"login":"miketaylr","id":67283,"avatar_url":"https://avatars.githubusercontent.com/u/67283?v=3","gravatar_id":"","url":"https://api.github.com/users/miketaylr","html_url":"https://github.com/miketaylr","followers_url":"https://api.github.com/users/miketaylr/followers","following_url":"https://api.github.com/users/miketaylr/following{/other_user}","gists_url":"https://api.github.com/users/miketaylr/gists{/gist_id}","starred_url":"https://api.github.com/users/miketaylr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketaylr/subscriptions","organizations_url":"https://api.github.com/users/miketaylr/orgs","repos_url":"https://api.github.com/users/miketaylr/repos","events_url":"https://api.github.com/users/miketaylr/events{/privacy}","received_events_url":"https://api.github.com/users/miketaylr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webcompat/webcompat.com/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-30T02:23:08Z","updated_at":"2016-03-03T04:45:45Z","closed_at":null,"body":"This fails pretty frequently, but not 100% of the time. And if you re-trigger a build on Travis it will usually pass after the failure.\r\n\r\nSo... it would be good to figure out why this happens (and why it's a recent thing).\r\n\r\n```\r\nFAIL: main - Search (non-auth) - Search works (3496ms)\r\n\r\nAssertionError: The search results show up on the page.: expected 'Issue 280: w3.org - desktop site instead of mobile site' to include 'vladvlad'\r\n\r\n  at Function.assert.include  <node_modules/intern/node_modules/chai/chai.js:2977:45>\r\n\r\n  at CompatCommand.<anonymous>  <tests/functional/search-non-auth.js:92:18>\r\n\r\n  at runCallback  <node_modules/intern/node_modules/leadfoot/Command.js:509:31>\r\n\r\n  at CompatCommand.<anonymous>  <node_modules/intern/node_modules/leadfoot/Command.js:526:11>\r\n\r\n  at <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:235:37>\r\n\r\n  at runCallbacks  <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:11:18>\r\n\r\n  at <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:188:17>\r\n\r\n  at Object.run [as _onImmediate]  <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:131:29>\r\n\r\n  at processImmediate [as _immediateCallback]  <timers.js:354:15>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.Command.then  <node_modules/intern/node_modules/leadfoot/Command.js:525:10>\r\n\r\n  at Test.registerSuite.Search works [as test]  <tests/functional/search-non-auth.js:91:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.Command.end  <node_modules/intern/node_modules/leadfoot/Command.js:475:10>\r\n\r\n  at Test.registerSuite.Search works [as test]  <tests/functional/search-non-auth.js:94:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n127.0.0.1 - - [30/Dec/2015 02:19:03] \"GET / HTTP/1.1\" 200 -\r\n\r\nExpected fixture file: /home/travis/build/webcompat/webcompat.com/tests/fixtures/api/issues/labels.6665c4820456e6a813dcbbdddd690ffc.json\r\n\r\n127.0.0.1 - - [30/Dec/2015 02:19:03] \"GET /api/issues/labels?per_page=100 HTTP/1.1\" 200 -\r\n\r\n127.0.0.1 - - [30/Dec/2015 02:19:03] \"GET /api/issues/category/new HTTP/1.1\" 200 -\r\n\r\n127.0.0.1 - - [30/Dec/2015 02:19:04] \"GET /issues?q=vladvlad HTTP/1.1\" 200 -\r\n\r\nExpected fixture file: /home/travis/build/webcompat/webcompat.com/tests/fixtures/api/issues/labels.6665c4820456e6a813dcbbdddd690ffc.json\r\n\r\n127.0.0.1 - - [30/Dec/2015 02:19:04] \"GET /api/issues/labels?per_page=100 HTTP/1.1\" 200 -\r\n\r\nFAIL: main - Search (non-auth) - Search from the homepage (14080ms)\r\n\r\nNoSuchElement: [POST http://localhost:4444/wd/hub/session/a82eeaae-3abd-4880-a73f-bab8a12c0b58/element / {\"using\":\"css selector\",\"value\":\".wc-IssueItem:nth-of-type(1) a\"}] Unable to locate element: {\"method\":\"css selector\",\"selector\":\".wc-IssueItem:nth-of-type(1) a\"}\r\n\r\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\r\n\r\nBuild info: version: '2.48.0', revision: 'b7b081a', time: '2015-10-07 15:48:56'\r\n\r\nSystem info: host: 'testing-worker-linux-docker-8399f37a-3194-linux-5', ip: '172.17.1.255', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic', java.version: '1.7.0_76'\r\n\r\nDriver info: driver.version: unknown\r\n\r\n  at Server._post  <node_modules/intern/node_modules/leadfoot/Server.js:68:9>\r\n\r\n  at ProxiedSession._post  <node_modules/intern/node_modules/leadfoot/Session.js:57:30>\r\n\r\n  at ProxiedSession.Session.find  <node_modules/intern/node_modules/leadfoot/Session.js:1053:15>\r\n\r\n  at CompatCommand.<anonymous>  <node_modules/intern/node_modules/leadfoot/Command.js:41:36>\r\n\r\n  at <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:235:37>\r\n\r\n  at runCallbacks  <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:11:18>\r\n\r\n  at <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:188:17>\r\n\r\n  at Object.run [as _onImmediate]  <node_modules/intern/node_modules/leadfoot/node_modules/dojo/Promise.js:131:29>\r\n\r\n  at processImmediate [as _immediateCallback]  <timers.js:354:15>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.find  <node_modules/intern/node_modules/leadfoot/Command.js:22:10>\r\n\r\n  at <CompatCommand.prototype.(anonymous function) [as findByCssSelector] (/home/travis/build/webcompat/webcompat.com/node_modules/intern/node_modules/leadfoot/lib/strategies.js:24:16)>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:108:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at <CompatCommand.target.(anonymous function) [as getVisibleText] (/home/travis/build/webcompat/webcompat.com/node_modules/intern/node_modules/leadfoot/Command.js:656:11)>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:108:62>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.Command.then  <node_modules/intern/node_modules/leadfoot/Command.js:525:10>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:109:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.Command.end  <node_modules/intern/node_modules/leadfoot/Command.js:475:10>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:112:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at <CompatCommand.target.(anonymous function) [as getCurrentUrl] (/home/travis/build/webcompat/webcompat.com/node_modules/intern/node_modules/leadfoot/Command.js:592:11)>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:113:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.Command.then  <node_modules/intern/node_modules/leadfoot/Command.js:525:10>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:114:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n  at new CompatCommand  <node_modules/intern/runner.js:213:14>\r\n\r\n  at CompatCommand.Command.end  <node_modules/intern/node_modules/leadfoot/Command.js:475:10>\r\n\r\n  at Test.registerSuite.Search from the homepage [as test]  <tests/functional/search-non-auth.js:117:10>\r\n\r\n  at Test.run  <node_modules/intern/lib/Test.js:169:19>\r\n\r\n  at <node_modules/intern/lib/Suite.js:237:13>\r\n\r\n  at signalListener  <node_modules/intern/node_modules/dojo/Deferred.js:37:21>\r\n\r\n  at Promise.then.promise.then  <node_modules/intern/node_modules/dojo/Deferred.js:258:5>\r\n\r\n  at runTest  <node_modules/intern/lib/Suite.js:236:46>\r\n\r\n  at <node_modules/intern/lib/Suite.js:249:7>\r\n\r\n  at process._tickCallback  <node.js:442:13>\r\n\r\n2/6 tests failed\r\n```"},"comment":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/comments/191579155","html_url":"https://github.com/webcompat/webcompat.com/issues/890#issuecomment-191579155","issue_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/890","id":191579155,"user":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T04:45:45Z","updated_at":"2016-03-03T04:45:45Z","body":"Let's see if it's copy-able in devtools.\r\n\r\n`JSON.stringify(e)` in the console:\r\n\"{\"readyState\":0,\"responseText\":\"\",\"status\":0,\"statusText\":\"error\"}\"\r\n\r\nand the capture of what the devtools are showing. \r\n\r\n![capture d ecran 2016-03-03 a 13 44 16](https://cloud.githubusercontent.com/assets/505230/13484957/1d523880-e146-11e5-8203-c6f0824dc578.png)\r\n\r\n"}}