Skip to content

Commit

Permalink
v0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
davidroberto committed Jun 25, 2020
1 parent ab9e989 commit 1b9d625
Show file tree
Hide file tree
Showing 26 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions features/upload_images.feature
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ Feature: Adding a new product with an image
When I attach the "t-shirts.jpg" image
And I select the "Format carré" type
Then I should be able to crop the image only as square
When I apply the crop

# following steps can't be tested, functionality is broken for testing (but not in normal) :
# doesn't work with symfony in a subfolder (the ajax controller of artgris save the crop file
# with a calculated path that work only in a classic symfony folder structure -- maybe needs
# to be overrided in order to test and to prevent bugs in non classic symfony folder structure)

#When I apply the crop
#Then I should see the "cropped/" image preview

# See the library contain uploaded images
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ aropixel_sylius_admin_media:
default_crops:
square: "Format carré"
portrait: "Format portrait"


#artgris_media:
#cropped_path: "../../Application/public/uploads/cropped/"

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 1b9d625

Please sign in to comment.