mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
deluge: Functional tests for bit-torrent group
Add tests to check that usage of Deluge is only permitted to users in the group 'bit-torrent'. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
c975fb94e3
commit
8085879643
2 files changed
+13
-1
No files matched your search
@@ -13,6 +13,18 @@ Scenario: Enable deluge application
|
||||
When I enable the deluge application
|
||||
Then the deluge site should be available
|
||||
|
||||
Scenario: User of 'bit-torrent' group
|
||||
Given the deluge application is enabled
|
||||
When I create a user named delugeuser with password deluge&456 in group bit-torrent
|
||||
And I'm logged in as the user delugeuser with password deluge&456
|
||||
Then the deluge site should be available
|
||||
|
||||
Scenario: User not of 'bit-torrent' group
|
||||
Given the deluge application is enabled
|
||||
When I create a user named nogroupuser with password somep@ssw6
|
||||
And I'm logged in as the user nogroupuser with password somep@ssw6
|
||||
Then the deluge site should not be available
|
||||
|
||||
Scenario: Upload a torrent to deluge
|
||||
Given the deluge application is enabled
|
||||
When all torrents are removed from deluge
|
||||
|
||||
Reference in new issue
Block a user