-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENEUROPA-1325: Media entity browser handling for files #9
Conversation
9802c88
to
04c39b5
Compare
@@ -49,3 +49,13 @@ widgets: | |||
weight: 3 | |||
label: 'Add Image' | |||
id: entity_form | |||
e9f8e84a-9574-4de7-90de-caec7acf030d: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we move this browser definition from the main module to the demo one? This doesn't seem to be the scope of the ticket
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is decision was discussed with @upchuk . End users (site builders) could have many field which allow use only some media types. That is why common media entity browser which support all existing media type could be not relevant anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough! :)
a2f432b
to
087427d
Compare
dbb001e
to
dfc0252
Compare
dfc0252
to
bfb44c6
Compare
And I press the "Select entities" button | ||
Then I should see entity browser modal window | ||
When I click "View" | ||
And I select the "Media document" media entity in the entity browser modal window | ||
And I press the "Select entities" button | ||
And I press the "Save" button | ||
Then I should see "sample.pdf" | ||
Then I should see the link "sample.pdf" | ||
# Cleanup of the media entity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cleanup should be done with @afterScenario.
It's not a blocker but please create a follow-up ticket if you don't take this change it here.
OPENEUROPA-1325
Description
Media entity browser handling for files
Change log