Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
06783437
Commit
06783437
authored
Feb 07, 2019
by
Steven Spinelli
Committed by
Cecilia Vela Gurovic
Mar 04, 2019
Browse files
Behat bug 1814979 Script to check that folder size is displayed after uploading 3 images
Change-Id: I7abce407ed2c57670256a748090821606a7b3784
parent
365b84b1
Changes
1
Show whitespace changes
Inline
Side-by-side
test/behat/features/user_content/file_edit.feature
View file @
06783437
@javascript
@core
Feature
:
Rename file and add description
Feature
:
Rename file and add description
. Create folder and add files
As a user
I want to be able to rename files and add descriptions
So that I can manage my content
...
...
@@ -23,3 +23,14 @@ Scenario: Add file, rename and add description
And
I should not see
"mahara_about.pdf"
# Verify Quota is displayed on the sidebar of the Content->Files page and default maximum of 50.0MB
And
I should see
"You have used 0.1MB of your 50.0MB quota."
# Verify folder show content size
When
I fill in
"Folder1"
for
"files_filebrowser_createfolder_name"
And
I press
"Create folder"
And
I follow
"Folder1"
And
I attach the file
"Image3.png"
to
"File"
And
I attach the file
"Image2.png"
to
"File"
And
I attach the file
"testvid3.mp4"
to
"File"
And
I follow
"Parent folder"
Then
I should see
"96.5K"
And
I should see
"You have used 0.2MB of your 50.0MB quota."
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment