{"action":"created","issue":{"url":"https://api.github.com/repos/magento/mtf/issues/29","repository_url":"https://api.github.com/repos/magento/mtf","labels_url":"https://api.github.com/repos/magento/mtf/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/magento/mtf/issues/29/comments","events_url":"https://api.github.com/repos/magento/mtf/issues/29/events","html_url":"https://github.com/magento/mtf/issues/29","id":153380659,"number":29,"title":"Functional Test: Need to add custom tab with required filed in CreateSimpleProductEntityTest","user":{"login":"naveenabt","id":18484648,"avatar_url":"https://avatars.githubusercontent.com/u/18484648?v=3","gravatar_id":"","url":"https://api.github.com/users/naveenabt","html_url":"https://github.com/naveenabt","followers_url":"https://api.github.com/users/naveenabt/followers","following_url":"https://api.github.com/users/naveenabt/following{/other_user}","gists_url":"https://api.github.com/users/naveenabt/gists{/gist_id}","starred_url":"https://api.github.com/users/naveenabt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naveenabt/subscriptions","organizations_url":"https://api.github.com/users/naveenabt/orgs","repos_url":"https://api.github.com/users/naveenabt/repos","events_url":"https://api.github.com/users/naveenabt/events{/privacy}","received_events_url":"https://api.github.com/users/naveenabt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/mtf/labels/magento%20test","name":"magento test","color":"fbca04"},{"url":"https://api.github.com/repos/magento/mtf/labels/question","name":"question","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"lanken","id":3597205,"avatar_url":"https://avatars.githubusercontent.com/u/3597205?v=3","gravatar_id":"","url":"https://api.github.com/users/lanken","html_url":"https://github.com/lanken","followers_url":"https://api.github.com/users/lanken/followers","following_url":"https://api.github.com/users/lanken/following{/other_user}","gists_url":"https://api.github.com/users/lanken/gists{/gist_id}","starred_url":"https://api.github.com/users/lanken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanken/subscriptions","organizations_url":"https://api.github.com/users/lanken/orgs","repos_url":"https://api.github.com/users/lanken/repos","events_url":"https://api.github.com/users/lanken/events{/privacy}","received_events_url":"https://api.github.com/users/lanken/received_events","type":"User","site_admin":false},"milestone":null,"comments":25,"created_at":"2016-05-06T05:26:29Z","updated_at":"2016-05-12T11:36:39Z","closed_at":null,"body":"Hi,\r\n\r\nwe have added the \"pincode\" custom tab in product creation section and it has multi select input element.\r\nIf i execute  \"vendor/bin/phpunit --filter CreateSimpleProductEntityTest --debug\" it is getting fail because we have added custom tab called \"pincode\".\r\n\r\nHow to make work \"CreateSimpleProductEntityTest\" test case.\r\nWhile filling the form, it should get select the \"pincode\" from \"multiselect\" input box.\r\n\r\nBelow are the changes i have made to existing \"CreateSimpleProductEntityTest\" test case.\r\n\r\n1-> dev/tests/functional/tests/app/Magento/Catalog/Test/Fixture/CatalogProductSimple.xml\r\n\r\nHere i have added my custom select field.\r\n`<field name=\"pincode_templates\" is_required=\"1\" group=\"pincode\" />`\r\n\r\n2: dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/CreateSimpleProductEntityTest.xml\r\n\r\nHere i have added  below code\r\n\r\n`<variation name=\"CreateSimpleProductEntityTestVariation1\">\r\n<data name=\"product/data/pincode_templates/8\" xsi:type=\"string\">Test Pincode</data>\r\n</variation>`\r\n\r\n3: dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/ProductForm.xml\r\n\r\nHere i have added below code\r\n`\r\n<pincode>\r\n        <class>\\Magento\\Backend\\Test\\Block\\Widget\\Tab</class>\r\n        <selector>#product_info_tabs_pincode</selector>\r\n        <strategy>css selector</strategy>\r\n        <fields>\r\n            <pincode_templates>\r\n                <selector>#pincode_templates</selector>\r\n                <input>multiselect</input>\r\n            </pincode_templates>\r\n        </fields>\r\n    </pincode>`\r\n\r\nAfter made all above changes , still product creation is not working.\r\nplease suggest, do i need to make any changes?\r\n\r\nThanks,\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magento/mtf/issues/comments/218732198","html_url":"https://github.com/magento/mtf/issues/29#issuecomment-218732198","issue_url":"https://api.github.com/repos/magento/mtf/issues/29","id":218732198,"user":{"login":"lanken","id":3597205,"avatar_url":"https://avatars.githubusercontent.com/u/3597205?v=3","gravatar_id":"","url":"https://api.github.com/users/lanken","html_url":"https://github.com/lanken","followers_url":"https://api.github.com/users/lanken/followers","following_url":"https://api.github.com/users/lanken/following{/other_user}","gists_url":"https://api.github.com/users/lanken/gists{/gist_id}","starred_url":"https://api.github.com/users/lanken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanken/subscriptions","organizations_url":"https://api.github.com/users/lanken/orgs","repos_url":"https://api.github.com/users/lanken/repos","events_url":"https://api.github.com/users/lanken/events{/privacy}","received_events_url":"https://api.github.com/users/lanken/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T11:36:39Z","updated_at":"2016-05-12T11:36:39Z","body":"Yes, looks ok. I've done the same and it works.\r\nHave you run generate.php"}}