{"action":"opened","issue":{"url":"https://api.github.com/repos/jhedstrom/drupalextension/issues/295","repository_url":"https://api.github.com/repos/jhedstrom/drupalextension","labels_url":"https://api.github.com/repos/jhedstrom/drupalextension/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/jhedstrom/drupalextension/issues/295/comments","events_url":"https://api.github.com/repos/jhedstrom/drupalextension/issues/295/events","html_url":"https://github.com/jhedstrom/drupalextension/issues/295","id":168676973,"number":295,"title":"Way to test what happens when content is in a certain menu?","user":{"login":"melissamcewen","id":1251094,"avatar_url":"https://avatars.githubusercontent.com/u/1251094?v=3","gravatar_id":"","url":"https://api.github.com/users/melissamcewen","html_url":"https://github.com/melissamcewen","followers_url":"https://api.github.com/users/melissamcewen/followers","following_url":"https://api.github.com/users/melissamcewen/following{/other_user}","gists_url":"https://api.github.com/users/melissamcewen/gists{/gist_id}","starred_url":"https://api.github.com/users/melissamcewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melissamcewen/subscriptions","organizations_url":"https://api.github.com/users/melissamcewen/orgs","repos_url":"https://api.github.com/users/melissamcewen/repos","events_url":"https://api.github.com/users/melissamcewen/events{/privacy}","received_events_url":"https://api.github.com/users/melissamcewen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-01T15:41:59Z","updated_at":"2016-08-01T15:41:59Z","closed_at":null,"body":"A site I'm working on has various items of the page dependent on what menu a page is in. Is there a way to test this currently? For example I have a test that's\r\n\r\n```\r\n@api\r\nFeature: related content appears on articles\r\n  In order to help visitors find related content\r\n  Items of the related content type should appear on articles with the same primary taxonomy\r\n\r\n  Scenario: When a related content item and an article have the same taxonomy, the related content item should display on the article\r\n    Given \"taxonomy\" terms:\r\n      | name    |\r\n      | Tag one |\r\n    And \"related_content\" content:\r\n      | title           | status | field_primary_taxonomy | field_related_content_type | field_headline  |\r\n      | This is related |       1| Tag one                | External                   | This is related |\r\n    Given I am viewing an \"Article\" content:\r\n      | title | test title |\r\n      | field_primary_taxonomy  | Tag one       |\r\n      | status            | 1             |\r\n    Then I should see the text \"Related Content\"\r\n    And I should see the text \"This is related\"\r\n```\r\n\r\n\r\n\r\nexcept there would be \" And \"related_content\" content:\" a way to indicate that particular content is in the \"main_menu\""}}
{"actor":{"display_login":"melissamcewen"}}