{"action":"opened","issue":{"url":"https://api.github.com/repos/wp-cli/cron-command/issues/32","repository_url":"https://api.github.com/repos/wp-cli/cron-command","labels_url":"https://api.github.com/repos/wp-cli/cron-command/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/cron-command/issues/32/comments","events_url":"https://api.github.com/repos/wp-cli/cron-command/issues/32/events","html_url":"https://github.com/wp-cli/cron-command/issues/32","id":349074832,"node_id":"MDU6SXNzdWUzNDkwNzQ4MzI=","number":32,"title":"Automatically rerun failed scenarios","user":{"login":"schlessera","id":83631,"node_id":"MDQ6VXNlcjgzNjMx","avatar_url":"https://avatars1.githubusercontent.com/u/83631?v=4","gravatar_id":"","url":"https://api.github.com/users/schlessera","html_url":"https://github.com/schlessera","followers_url":"https://api.github.com/users/schlessera/followers","following_url":"https://api.github.com/users/schlessera/following{/other_user}","gists_url":"https://api.github.com/users/schlessera/gists{/gist_id}","starred_url":"https://api.github.com/users/schlessera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlessera/subscriptions","organizations_url":"https://api.github.com/users/schlessera/orgs","repos_url":"https://api.github.com/users/schlessera/repos","events_url":"https://api.github.com/users/schlessera/events{/privacy}","received_events_url":"https://api.github.com/users/schlessera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T10:46:10Z","updated_at":"2018-08-09T10:46:10Z","closed_at":null,"author_association":"MEMBER","body":"The following changes need to be made:\n\n1. In the `.travis.yml` file, the `- composer behat` line in the `script:` section needs to be changed into the following:\n```\n- composer behat || composer behat-rerun\n```\n\n2. In the `composer-json` file, the requirement on `wp-cli/wp-cli-tests` needs to be adapted to require at least `v2.0.7`:\n```\n\"wp-cli/wp-cli-tests\": \"^2.0.7\"\n```\n\n3. In the `composer-json` file, the `\"scripts\"` section needs to be extended. Immediately after the line `\"behat\": \"run-behat-tests\",`, the following line needs to be inserted:\n```\n\"behat-rerun\": \"rerun-behat-tests\",\n```\n\n---\n\nHere's an example of how this should look like:\n\n![](https://cl.ly/383q2Z3y140f/Image%2525202018-08-09%252520at%25252012.40.22%252520PM.png)"}}
{"actor":{"display_login":"schlessera"}}