{"action":"closed","issue":{"url":"https://api.github.com/repos/elcodi/bamboo/issues/413","labels_url":"https://api.github.com/repos/elcodi/bamboo/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/elcodi/bamboo/issues/413/comments","events_url":"https://api.github.com/repos/elcodi/bamboo/issues/413/events","html_url":"https://github.com/elcodi/bamboo/issues/413","id":71536637,"number":413,"title":"Upload image testcases","user":{"login":"rogergros","id":2053670,"avatar_url":"https://avatars.githubusercontent.com/u/2053670?v=3","gravatar_id":"","url":"https://api.github.com/users/rogergros","html_url":"https://github.com/rogergros","followers_url":"https://api.github.com/users/rogergros/followers","following_url":"https://api.github.com/users/rogergros/following{/other_user}","gists_url":"https://api.github.com/users/rogergros/gists{/gist_id}","starred_url":"https://api.github.com/users/rogergros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogergros/subscriptions","organizations_url":"https://api.github.com/users/rogergros/orgs","repos_url":"https://api.github.com/users/rogergros/repos","events_url":"https://api.github.com/users/rogergros/events{/privacy}","received_events_url":"https://api.github.com/users/rogergros/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elcodi/bamboo/labels/Behat","name":"Behat","color":"fbca04"},{"url":"https://api.github.com/repos/elcodi/bamboo/labels/Story","name":"Story","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T09:36:45Z","updated_at":"2015-05-25T16:52:21Z","closed_at":"2015-05-25T16:52:21Z","body":":exclamation: Ideal testcases :exclamation:\r\n\r\n**Feature:**\r\nIn order to have images on the product\r\nAs admin\r\nI want to upload images on the product page\r\n\r\n> **Scenario:** I can upload multiple images on product\r\n> Given i'm a logged admin\r\n> When I am on the product edit page\r\n> And I upload a new image\r\n> And I upload a new image\r\n> And I save\r\n> And I go to edit product page\r\n> Then I can see both images on product page\r\n\r\n> **Scenario:** I can upload multiple images on product\r\n> Given i'm a logged admin\r\n> When I am on the product edit page\r\n> And I upload a new image\r\n> And I upload a new image\r\n> And I save\r\n> And I go to store product page\r\n> Then I can see both images on product page\r\n> And main image is the first uploaded image\r\n\r\n**Feature:**\r\nIn order to have images on variants\r\nAs admin\r\nI want to upload images on the product variant page\r\n\r\n> **Scenario:** I can upload multiple images on product variant\r\n> Given i'm a logged admin\r\n> When I am on the variant edit page\r\n> And I upload a new image\r\n> And I upload a new image\r\n> And I save\r\n> And I go to edit product variant page\r\n> Then I can see both images on variant page\r\n\r\n> **Scenario:** I can upload multiple images on product variant\r\n> Given i'm a logged admin\r\n> When I am on the product variant edit page\r\n> And I upload a new image\r\n> And I upload a new image\r\n> And I save\r\n> And I go to store product page\r\n> Then I can see both images on variant on product page\r\n> And main image is the first uploaded image"}}