-
Task
-
Resolution: Unresolved
-
Must have
-
None
-
None
-
Testing
Background:
Given I am logged in as administrator
And I add a new Post
Scenario: Upload local file
Given I add a block "File" from section "Most used"
When I select "Upload" option
Then a new window will open
************************
When I select a PDF from my computer
And I select Open option
Then the PDF embeds into the File block
And a Copy option is available
And options to edit the link file are available
************************
Scenario: Upload from Media Library
Given I add a block "File" from section "Most used"
When I select "Media Library" option
Then a new window opens
And two options are available: "Select Files" and "Upload from GPI Media Library"
************************
When I select "Upload from GPI Media Library" option
Then a new window opens
And I can either search or look for the file I am interested into
************************
When I select a file
And select the "Insert into WP media" option
Then the file gets imported into the "Media Library:
************************
When I select a file
And select the "Select" option
Then the file gets embedded into the File block