{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/237","repository_url":"https://api.github.com/repos/Codeception/CodeceptJS","labels_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/237/comments","events_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/237/events","html_url":"https://github.com/Codeception/CodeceptJS/issues/237","id":180430394,"number":237,"title":"Steps are not executed in a docker container","user":{"login":"nayaramoura","id":9553043,"avatar_url":"https://avatars.githubusercontent.com/u/9553043?v=3","gravatar_id":"","url":"https://api.github.com/users/nayaramoura","html_url":"https://github.com/nayaramoura","followers_url":"https://api.github.com/users/nayaramoura/followers","following_url":"https://api.github.com/users/nayaramoura/following{/other_user}","gists_url":"https://api.github.com/users/nayaramoura/gists{/gist_id}","starred_url":"https://api.github.com/users/nayaramoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nayaramoura/subscriptions","organizations_url":"https://api.github.com/users/nayaramoura/orgs","repos_url":"https://api.github.com/users/nayaramoura/repos","events_url":"https://api.github.com/users/nayaramoura/events{/privacy}","received_events_url":"https://api.github.com/users/nayaramoura/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/CodeceptJS/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-01T01:22:40Z","updated_at":"2016-10-05T10:42:50Z","closed_at":null,"body":"Hello, there!\r\n\r\nI'm trying to execute a very simple login scenario using a docker container. The referred scenario is running and passing fine locally, but when I run it in the container it only shows the Feature name + Scenario name and then exits whithout any error.\r\n\r\nThis is my test scenario, what is working fine on my machine:\r\n\r\n```\r\nFeature('login');\r\n\r\nScenario(\"Login with user list\", (I) => {\r\n  I.amOnPage(\"/\");\r\n  I.see(\"My app's name\");\r\n  I.selectOption(\"#user_id\", \"nmoura\");\r\n  I.click(\"input[value=\\\"Login\\\"]\");\r\n  I.wait(1);\r\n  I.see(\"Welcome\");\r\n});\r\n\r\n```\r\n\r\nHere is what I get as response on my machine:\r\n\r\n````\r\n> codeceptjs run --steps\r\n\r\nCodeceptJS v0.4.5\r\nUsing test root \"/Users/nmoura/Documents/github/myapp\"\r\n\r\nlogin --\r\n Login with user list\r\n • I am on page \"/\"\r\n • I see \"My app's name\"\r\n • I select option \"#user_id\", \"nmoura\"\r\n • I click \"input[value=\"Login\"]\"\r\n • I wait 1\r\n • I see \"Welcome\"\r\n ✓ OK in 26195ms\r\n\r\n\r\n  OK  | 1 passed   // 26s\r\n```\r\n\r\nAnd this is what a get when trying to run in the container:\r\n\r\n```\r\n> codeceptjs run --steps\r\n\r\nCodeceptJS v0.4.5\r\nUsing test root \"/usr/src/app\"\r\n\r\nlogin --\r\n Login with user list\r\n```\r\n\r\nIt just stops. No error, no message.\r\n\r\nDo you have any idea about what can be causing this behaviour?\r\nIt's worth mentioning that if I try to use the codeceptjs shell in the container, I see a similar behaviour (It prints the text 'String interactive shell for current suite...' and then nothing).\r\n\r\nSome additional information:\r\n\r\nnode -v = v6.6.0\r\nnpm -v = 3.10.3\r\nCodeceptJS = v0.4.5\r\nhelper = nightmare@2.7.0 / nightmare-upload@0.1.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/comments/251641275","html_url":"https://github.com/Codeception/CodeceptJS/issues/237#issuecomment-251641275","issue_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/237","id":251641275,"user":{"login":"artiomnist","id":20073559,"avatar_url":"https://avatars.githubusercontent.com/u/20073559?v=3","gravatar_id":"","url":"https://api.github.com/users/artiomnist","html_url":"https://github.com/artiomnist","followers_url":"https://api.github.com/users/artiomnist/followers","following_url":"https://api.github.com/users/artiomnist/following{/other_user}","gists_url":"https://api.github.com/users/artiomnist/gists{/gist_id}","starred_url":"https://api.github.com/users/artiomnist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artiomnist/subscriptions","organizations_url":"https://api.github.com/users/artiomnist/orgs","repos_url":"https://api.github.com/users/artiomnist/repos","events_url":"https://api.github.com/users/artiomnist/events{/privacy}","received_events_url":"https://api.github.com/users/artiomnist/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T10:42:49Z","updated_at":"2016-10-05T10:42:49Z","body":"@nayaramoura I am able to run codeceptjs test scripts within a docker container with steps. However, when using a mochawesome reporter the steps are not displayed. "}}
{"actor":{"display_login":"artiomnist"}}