Commit 06783437 authored by Steven Spinelli's avatar Steven Spinelli Committed by Cecilia Vela Gurovic
Browse files

Behat bug 1814979 Script to check that folder size is displayed after uploading 3 images

Change-Id: I7abce407ed2c57670256a748090821606a7b3784
parent 365b84b1
@javascript @core @javascript @core
Feature: Rename file and add description Feature: Rename file and add description. Create folder and add files
As a user As a user
I want to be able to rename files and add descriptions I want to be able to rename files and add descriptions
So that I can manage my content So that I can manage my content
...@@ -23,3 +23,14 @@ Scenario: Add file, rename and add description ...@@ -23,3 +23,14 @@ Scenario: Add file, rename and add description
And I should not see "mahara_about.pdf" 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 # 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." 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."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment