AutorÃa | Ultima modificación | Ver Log |
@core @core_filesFeature: View licence linksIn order to get select the applicable licence when uploading a fileAs a userI need to be able to navigate to a page containing licence terms from the file managerBackground:Given the following "blocks" exist:| blockname | contextlevel | reference | pagetypepattern | defaultregion || private_files | System | 1 | my-index | side-post |@javascriptScenario: Uploading a file displays licence list modalGiven I log in as "admin"And I follow "Manage private files..."And I follow "Add..."And I follow "Upload a file"And I click on "Help with Choose licence" "icon" in the "File picker" "dialogue"Then I should see "Follow these links for further information on the available licence options:"@javascript @_file_uploadScenario: Altering a file should display licence list modalGiven I log in as "admin"And I follow "Manage private files..."And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanagerAnd I press "Save changes"And I follow "Manage private files..."And I click on "empty.txt" "link" in the "Manage private files" "dialogue"And I click on "Help with Choose licence" "icon"Then I should see "Follow these links for further information on the available licence options:"@javascript @_file_uploadScenario: Recent files should display licence list modalGiven I log in as "admin"And I follow "Manage private files..."And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanagerAnd I press "Save changes"And I follow "Manage private files..."And I follow "Add..."And I click on "Recent files" "link" in the "File picker" "dialogue"And I click on "empty.txt" "link" in the "File picker" "dialogue"And I click on "Help with Choose licence" "icon" in the ".fp-setlicense" "css_element"Then I should see "Follow these links for further information on the available licence options:"@javascript @_file_uploadScenario: Private files should display licence list modalGiven I log in as "admin"And I follow "Manage private files..."And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanagerAnd I press "Save changes"And I follow "Manage private files..."And I follow "Add..."And I click on "Private files" "link" in the "File picker" "dialogue"And I click on "empty.txt" "link" in the "File picker" "dialogue"And I click on "Help with Choose licence" "icon" in the ".fp-setlicense" "css_element"Then I should see "Follow these links for further information on the available licence options:"