@javascript @test Feature: Uploading files functionality In order for files to be used in Portfolios As an admin The files need to upload and delete as expected. Scenario: Uploading a file and deleting it in order to prompt the deletion message (Bug 1329136) Given I log in as "userA" with password "Password1" And I follow "Content" And I choose "Files" in "Content" # Uploading a file When I attach the file "pdf-test" to "Upload file" And I follow "Delete" And I should see "Are you sure you want to delete this file?" And I press "OK" # Confirmation of deletion Then I should see "File pdf-test.pdf deleted"