{"action":"created","issue":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/2931","repository_url":"https://api.github.com/repos/DevExpress/testcafe","labels_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2931/labels{/name}","comments_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2931/comments","events_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2931/events","html_url":"https://github.com/DevExpress/testcafe/issues/2931","id":366797905,"node_id":"MDU6SXNzdWUzNjY3OTc5MDU=","number":2931,"title":"Error in fixture.beforeEach hook - Unhandled promise rejection [object Object] - not sure what it means","user":{"login":"bbonczek","id":11254976,"node_id":"MDQ6VXNlcjExMjU0OTc2","avatar_url":"https://avatars0.githubusercontent.com/u/11254976?v=4","gravatar_id":"","url":"https://api.github.com/users/bbonczek","html_url":"https://github.com/bbonczek","followers_url":"https://api.github.com/users/bbonczek/followers","following_url":"https://api.github.com/users/bbonczek/following{/other_user}","gists_url":"https://api.github.com/users/bbonczek/gists{/gist_id}","starred_url":"https://api.github.com/users/bbonczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbonczek/subscriptions","organizations_url":"https://api.github.com/users/bbonczek/orgs","repos_url":"https://api.github.com/users/bbonczek/repos","events_url":"https://api.github.com/users/bbonczek/events{/privacy}","received_events_url":"https://api.github.com/users/bbonczek/received_events","type":"User","site_admin":false},"labels":[{"id":476768751,"node_id":"MDU6TGFiZWw0NzY3Njg3NTE=","url":"https://api.github.com/repos/DevExpress/testcafe/labels/Need%20clarification","name":"Need clarification","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-04T13:45:44Z","updated_at":"2018-10-04T14:29:30Z","closed_at":null,"author_association":"NONE","body":"### Are you requesting a feature or reporting a bug?\r\nA feature\r\n\r\n\r\n### What is the current behavior?\r\nTests fail with this error:\r\n\r\n```\r\n1) - Error in fixture.beforeEach hook - \r\nUnhandled promise rejection: \r\n[object Object] \r\nBrowser: HeadlessChrome 69.0.3497 / Windows 10.0.0\r\n```\r\nThis error message does not really tell what is wrong.\r\n\r\n### What is the expected behavior?\r\nError message should be more descriptive.\r\n\r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\nNot really sure - it is randomly if we run around ~200 tests on 6 chromes in parallel.\r\n\r\nSample beforeEach section for one of our tests that is failing:\r\n\r\n`fixture 'xxx'\r\n      .page(config.baseUrl)\r\n      .beforeEach(async t => {\r\n          await t\r\n              .click(traceSelectionPage.openTraceConfigurationButton)\r\n              .click(traceSelectionPage.contentListElement.nth(0))\r\n              .click(traceSelectionPage.contentListElement.nth(0))\r\n              .click(traceSelectionPage.contentListElement.withText('File 1'))\r\n              .click(traceSelectionPage.contentListElement.nth(0))\r\n              // select 2 parameters\r\n              .click(traceSelectionPage.contentListElement.nth(0))\r\n              .click(traceSelectionPage.contentListElement.nth(1))\r\n              .click(traceSelectionPage.addParameterButton)\r\n              .click(propertiesPage.okPropertiesButton);\r\n      });`\r\n\r\n\r\n### Specify your\r\n\r\n* operating system:\r\nWindows 10\r\n* testcafe version:\r\n0.22.0\r\n* node.js version:\r\nv8.12.0\r\n\r\nTests are runned on Google Chrome Version 69."},"comment":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/comments/427040662","html_url":"https://github.com/DevExpress/testcafe/issues/2931#issuecomment-427040662","issue_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2931","id":427040662,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzA0MDY2Mg==","user":{"login":"bbonczek","id":11254976,"node_id":"MDQ6VXNlcjExMjU0OTc2","avatar_url":"https://avatars0.githubusercontent.com/u/11254976?v=4","gravatar_id":"","url":"https://api.github.com/users/bbonczek","html_url":"https://github.com/bbonczek","followers_url":"https://api.github.com/users/bbonczek/followers","following_url":"https://api.github.com/users/bbonczek/following{/other_user}","gists_url":"https://api.github.com/users/bbonczek/gists{/gist_id}","starred_url":"https://api.github.com/users/bbonczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbonczek/subscriptions","organizations_url":"https://api.github.com/users/bbonczek/orgs","repos_url":"https://api.github.com/users/bbonczek/repos","events_url":"https://api.github.com/users/bbonczek/events{/privacy}","received_events_url":"https://api.github.com/users/bbonczek/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T14:29:30Z","updated_at":"2018-10-04T14:29:30Z","author_association":"NONE","body":"Actually nvm, I runned it with testcafe 0.22.0 again - I'll provide another log of testcafe in alpha version soon - it takes some time to run those tests ;)"}}
{"actor":{"display_login":"bbonczek"}}