Conflicts: cms/djangoapps/contentstore/features/advanced-settings.feature cms/djangoapps/contentstore/features/checklists.feature cms/djangoapps/contentstore/features/component.feature cms/djangoapps/contentstore/features/course-overview.feature cms/djangoapps/contentstore/features/course-settings.feature cms/djangoapps/contentstore/features/course-team.feature cms/djangoapps/contentstore/features/course-updates.feature cms/djangoapps/contentstore/features/courses.feature cms/djangoapps/contentstore/features/discussion-editor.feature cms/djangoapps/contentstore/features/grading.feature cms/djangoapps/contentstore/features/html-editor.feature cms/djangoapps/contentstore/features/problem-editor.feature cms/djangoapps/contentstore/features/section.feature cms/djangoapps/contentstore/features/signup.feature cms/djangoapps/contentstore/features/static-pages.feature cms/djangoapps/contentstore/features/subsection.feature cms/djangoapps/contentstore/features/textbooks.feature cms/djangoapps/contentstore/features/upload.feature cms/djangoapps/contentstore/features/video-editor.feature cms/djangoapps/contentstore/features/video.feature lms/djangoapps/courseware/features/certificates.feature lms/djangoapps/courseware/features/help.feature lms/djangoapps/courseware/features/high-level-tabs.feature lms/djangoapps/courseware/features/homepage.feature lms/djangoapps/courseware/features/login.feature lms/djangoapps/courseware/features/lti.feature lms/djangoapps/courseware/features/navigation.feature lms/djangoapps/courseware/features/problems.feature lms/djangoapps/courseware/features/registration.feature lms/djangoapps/courseware/features/signup.feature lms/djangoapps/courseware/features/video.feature lms/djangoapps/courseware/features/word_cloud.feature
61 lines
2.3 KiB
Gherkin
61 lines
2.3 KiB
Gherkin
@shard_3
|
|
Feature: CMS.Upload Files
|
|
As a course author, I want to be able to upload files for my students
|
|
|
|
# Uploading isn't working on safari with sauce labs
|
|
@skip_safari
|
|
Scenario: Users can upload files
|
|
Given I have opened a new course in Studio
|
|
And I go to the files and uploads page
|
|
When I upload the file "test"
|
|
Then I should see the file "test" was uploaded
|
|
And The url for the file "test" is valid
|
|
|
|
@skip_safari
|
|
Scenario: Users can upload multiple files
|
|
Given I have opened a new course in studio
|
|
And I go to the files and uploads page
|
|
When I upload the files "test","test2"
|
|
Then I should see the file "test" was uploaded
|
|
And I should see the file "test2" was uploaded
|
|
And The url for the file "test2" is valid
|
|
And The url for the file "test" is valid
|
|
|
|
# Uploading isn't working on safari with sauce labs
|
|
@skip_safari
|
|
Scenario: Users can update files
|
|
Given I have opened a new course in studio
|
|
And I go to the files and uploads page
|
|
When I upload the file "test"
|
|
And I upload the file "test"
|
|
Then I should see only one "test"
|
|
|
|
# Uploading isn't working on safari with sauce labs
|
|
@skip_safari
|
|
Scenario: Users can delete uploaded files
|
|
Given I have opened a new course in studio
|
|
And I go to the files and uploads page
|
|
When I upload the file "test"
|
|
And I delete the file "test"
|
|
Then I should not see the file "test" was uploaded
|
|
And I see a confirmation that the file was deleted
|
|
|
|
# Uploading isn't working on safari with sauce labs
|
|
@skip_safari
|
|
Scenario: Users can download files
|
|
Given I have opened a new course in studio
|
|
And I go to the files and uploads page
|
|
When I upload the file "test"
|
|
Then I can download the correct "test" file
|
|
|
|
# Uploading isn't working on safari with sauce labs
|
|
@skip_safari
|
|
Scenario: Users can download updated files
|
|
Given I have opened a new course in studio
|
|
And I go to the files and uploads page
|
|
When I upload the file "test"
|
|
And I modify "test"
|
|
And I reload the page
|
|
And I upload the file "test"
|
|
Then I can download the correct "test" file
|