mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
functional-tests: Merge plinth-tester into plinth
- Rename Plinth-tester to FreedomBox - Add pytest.ini to discover the root directory for tests easily - Update README to say that py.test should be run from functional_tests directory. - Add geckodriver.log to .gitignore Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
73bac986e4
commit
0bdc2802f2
45 files changed
+2130
No files matched your search
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @tor
|
||||
Feature: Anonymity Network
|
||||
Manage Tor configuration.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the tor application is installed
|
||||
|
||||
Scenario: Enable tor application
|
||||
Given the tor application is disabled
|
||||
When I enable the tor application
|
||||
Then the tor service should be running
|
||||
|
||||
Scenario: Disable tor application
|
||||
Given the tor application is enabled
|
||||
When I disable the tor application
|
||||
Then the tor service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @deluge
|
||||
Feature: BitTorrent Client
|
||||
Run the Deluge BitTorrent client.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the deluge application is installed
|
||||
|
||||
Scenario: Enable deluge application
|
||||
Given the deluge application is disabled
|
||||
When I enable the deluge application
|
||||
Then the deluge site should be available
|
||||
|
||||
Scenario: Disable deluge application
|
||||
Given the deluge application is enabled
|
||||
When I disable the deluge application
|
||||
Then the deluge site should not be available
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @transmission
|
||||
Feature: BitTorrent Client
|
||||
Run the Transmission BitTorrent client.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the transmission application is installed
|
||||
|
||||
Scenario: Enable transmission application
|
||||
Given the transmission application is disabled
|
||||
When I enable the transmission application
|
||||
Then the transmission site should be available
|
||||
|
||||
Scenario: Disable transmission application
|
||||
Given the transmission application is enabled
|
||||
When I disable the transmission application
|
||||
Then the transmission site should not be available
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @minetest
|
||||
Feature: Block Sandbox
|
||||
Run the Minetest server
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the minetest application is installed
|
||||
|
||||
Scenario: Enable minetest application
|
||||
Given the minetest application is disabled
|
||||
When I enable the minetest application
|
||||
Then the minetest service should be running
|
||||
|
||||
Scenario: Disable minetest application
|
||||
Given the minetest application is enabled
|
||||
When I disable the minetest application
|
||||
Then the minetest service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @radicale
|
||||
Feature: Calendar and Addressbook
|
||||
Configure CalDAV/CardDAV server.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the radicale application is installed
|
||||
|
||||
Scenario: Enable radicale application
|
||||
Given the radicale application is disabled
|
||||
When I enable the radicale application
|
||||
Then the radicale service should be running
|
||||
|
||||
Scenario: Disable radicale application
|
||||
Given the radicale application is enabled
|
||||
When I disable the radicale application
|
||||
Then the radicale service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @ejabberd
|
||||
Feature: Chat Server
|
||||
Run ejabberd chat server.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the ejabberd application is installed
|
||||
|
||||
Scenario: Enable ejabberd application
|
||||
Given the ejabberd application is disabled
|
||||
When I enable the ejabberd application
|
||||
Then the ejabberd service should be running
|
||||
|
||||
Scenario: Disable ejabberd application
|
||||
Given the ejabberd application is enabled
|
||||
When I disable the ejabberd application
|
||||
Then the ejabberd service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @infinoted
|
||||
Feature: Collaborative Text Editor
|
||||
Run Gobby Server - Infinoted
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the infinoted application is installed
|
||||
|
||||
Scenario: Enable infinoted application
|
||||
Given the infinoted application is disabled
|
||||
When I enable the infinoted application
|
||||
Then the infinoted service should be running
|
||||
|
||||
Scenario: Disable infinoted application
|
||||
Given the infinoted application is enabled
|
||||
When I disable the infinoted application
|
||||
Then the infinoted service should not be running
|
||||
@@ -0,0 +1,51 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@system @essential
|
||||
Feature: Configuration
|
||||
Configure the system.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
|
||||
Scenario: Change hostname
|
||||
When I change the hostname to mybox
|
||||
Then the hostname should be mybox
|
||||
|
||||
Scenario: Change domain name
|
||||
When I change the domain name to mydomain
|
||||
Then the domain name should be mydomain
|
||||
|
||||
Scenario Outline: Change language
|
||||
When I change the language to <language>
|
||||
Then Plinth language should be <language>
|
||||
|
||||
Examples:
|
||||
| language |
|
||||
| Danish |
|
||||
| German |
|
||||
| Spanish |
|
||||
| French |
|
||||
| Norwegian Bokmål |
|
||||
| Dutch |
|
||||
| Polish |
|
||||
| Portuguese |
|
||||
| Russian |
|
||||
| Swedish |
|
||||
| Telugu |
|
||||
| Turkish |
|
||||
| Simplified Chinese |
|
||||
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@essential @date-and-time @system
|
||||
Feature: Date and Time
|
||||
Configure time zone and network time service.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
|
||||
Scenario: Enable network time application
|
||||
Given the network time application is disabled
|
||||
When I enable the network time application
|
||||
Then the network time service should be running
|
||||
|
||||
Scenario: Disable network time application
|
||||
Given the network time application is enabled
|
||||
When I disable the network time application
|
||||
Then the network time service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @roundcube
|
||||
Feature: Email Client
|
||||
Run webmail client.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the roundcube application is installed
|
||||
|
||||
Scenario: Enable roundcube application
|
||||
Given the roundcube application is disabled
|
||||
When I enable the roundcube application
|
||||
Then the roundcube site should be available
|
||||
|
||||
Scenario: Disable roundcube application
|
||||
Given the roundcube application is enabled
|
||||
When I disable the roundcube application
|
||||
Then the roundcube site should not be available
|
||||
@@ -0,0 +1,49 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @coquelicot
|
||||
Feature: File Sharing
|
||||
Run Coquelicot File Sharing server.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the coquelicot application is installed
|
||||
|
||||
Scenario: Enable coquelicot application
|
||||
Given the coquelicot application is disabled
|
||||
When I enable the coquelicot application
|
||||
Then the coquelicot service should be running
|
||||
|
||||
Scenario: Disable coquelicot application
|
||||
Given the coquelicot application is enabled
|
||||
When I disable the coquelicot application
|
||||
Then the coquelicot service should not be running
|
||||
|
||||
Scenario: Modify maximum upload size
|
||||
Given the coquelicot application is enabled
|
||||
When I modify the maximum file size of coquelicot to 256
|
||||
Then the maximum file size of coquelicot should be 256
|
||||
|
||||
Scenario: Modify upload password
|
||||
Given the coquelicot application is enabled
|
||||
When I modify the coquelicot upload password to whatever123
|
||||
Then I should be able to login to coquelicot with password whatever123
|
||||
|
||||
Scenario: Modify maximum upload size in disabled case
|
||||
Given the coquelicot application is disabled
|
||||
When I modify the maximum file size of coquelicot to 123
|
||||
Then the coquelicot service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @syncthing
|
||||
Feature: File Synchronization
|
||||
Run Syncthing File Synchronization server.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the syncthing application is installed
|
||||
|
||||
Scenario: Enable syncthing application
|
||||
Given the syncthing application is disabled
|
||||
When I enable the syncthing application
|
||||
Then the syncthing service should be running
|
||||
|
||||
Scenario: Disable syncthing application
|
||||
Given the syncthing application is enabled
|
||||
When I disable the syncthing application
|
||||
Then the syncthing service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @quassel
|
||||
Feature: IRC Client
|
||||
Run Quassel core.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the quassel application is installed
|
||||
|
||||
Scenario: Enable quassel application
|
||||
Given the quassel application is disabled
|
||||
When I enable the quassel application
|
||||
Then the quassel service should be running
|
||||
|
||||
Scenario: Disable quassel application
|
||||
Given the quassel application is enabled
|
||||
When I disable the quassel application
|
||||
Then the quassel service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @ttrss
|
||||
Feature: News Feed Reader
|
||||
Run TT-RSS News Feed Reader.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the ttrss application is installed
|
||||
|
||||
Scenario: Enable ttrss application
|
||||
Given the ttrss application is disabled
|
||||
When I enable the ttrss application
|
||||
Then the ttrss service should be running
|
||||
|
||||
Scenario: Disable ttrss application
|
||||
Given the ttrss application is enabled
|
||||
When I disable the ttrss application
|
||||
Then the ttrss service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@system
|
||||
Feature: Server Administration
|
||||
Run server administration application - Cockpit.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the cockpit application is installed
|
||||
|
||||
Scenario: Enable cockpit application
|
||||
Given the cockpit application is disabled
|
||||
When I enable the cockpit application
|
||||
Then the cockpit site should be available
|
||||
|
||||
Scenario: Disable cockpit application
|
||||
Given the cockpit application is enabled
|
||||
When I disable the cockpit application
|
||||
Then the cockpit site should not be available
|
||||
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@system @essential
|
||||
Feature: Service Discovery
|
||||
Configure service discovery.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
|
||||
Scenario: Enable service discovery application
|
||||
Given the service discovery application is disabled
|
||||
When I enable the service discovery application
|
||||
Then the service discovery service should be running
|
||||
|
||||
Scenario: Disable service discovery application
|
||||
Given the service discovery application is enabled
|
||||
When I disable the service discovery application
|
||||
Then the service discovery service should not be running
|
||||
@@ -0,0 +1,35 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@sso @essential @system
|
||||
Feature: Single Sign On
|
||||
Test Single Sign On features.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the syncthing application is installed
|
||||
Given the syncthing application is enabled
|
||||
|
||||
|
||||
Scenario: Logged out Plinth user cannot access Syncthing web interface
|
||||
Given I'm a logged out user
|
||||
When I access syncthing application
|
||||
Then I should be prompted for login
|
||||
|
||||
Scenario: Logged in Plinth user can access Syncthing web interface
|
||||
When I access syncthing application
|
||||
Then the syncthing site should be available
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @sip
|
||||
Feature: SIP Server
|
||||
Make audio and video calls.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the repro application is installed
|
||||
|
||||
Scenario: Enable repro application
|
||||
Given the repro application is disabled
|
||||
When I enable the repro application
|
||||
Then the repro service should be running
|
||||
|
||||
Scenario: Disable repro application
|
||||
Given the repro application is enabled
|
||||
When I disable the repro application
|
||||
Then the repro service should not be running
|
||||
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @shadowsocks
|
||||
Feature: Socks5 Proxy
|
||||
Run the Shadowsocks Socks5 proxy client.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the shadowsocks application is installed
|
||||
Given the shadowsocks application is configured
|
||||
|
||||
Scenario: Enable shadowsocks application
|
||||
Given the shadowsocks application is disabled
|
||||
When I enable the shadowsocks application
|
||||
Then the shadowsocks service should be running
|
||||
|
||||
Scenario: Disable shadowsocks application
|
||||
Given the shadowsocks application is enabled
|
||||
When I disable the shadowsocks application
|
||||
Then the shadowsocks service should not be running
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# This file is part of Plinth-tester.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@system @snapshots
|
||||
Feature: Storage Snapshots
|
||||
Run storage snapshots application - Snapper.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the snapshot application is installed
|
||||
|
||||
Scenario: Create a snapshot
|
||||
Given the list of snapshots is empty
|
||||
When I manually create a snapshot
|
||||
Then there should be 1 snapshot in the list
|
||||
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@system @essential @users-groups
|
||||
Feature: Users and Groups
|
||||
Manage users and groups.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
|
||||
Scenario: Create user
|
||||
Given the user alice doesn't exist
|
||||
When I create a user named alice with password secret123
|
||||
Then alice should be listed as a user
|
||||
|
||||
Scenario: Rename user
|
||||
Given the user alice exists
|
||||
Given the user bob doesn't exist
|
||||
When I rename the user alice to bob
|
||||
Then alice should not be listed as a user
|
||||
Then bob should be listed as a user
|
||||
|
||||
Scenario: Delete user
|
||||
Given the user alice exists
|
||||
When I delete the user alice
|
||||
Then alice should not be listed as a user
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @mumble
|
||||
Feature: Voice Chat
|
||||
Run Mumble voice chat server.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the mumble application is installed
|
||||
|
||||
Scenario: Enable mumble application
|
||||
Given the mumble application is disabled
|
||||
When I enable the mumble application
|
||||
Then the mumble service should be running
|
||||
|
||||
Scenario: Disable mumble application
|
||||
Given the mumble application is enabled
|
||||
When I disable the mumble application
|
||||
Then the mumble service should not be running
|
||||
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @matrixsynapse
|
||||
Feature: VoIP and Chat Server
|
||||
Run Matrix Synapse server
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the domain name is set to mydomain
|
||||
Given the matrixsynapse application is installed
|
||||
Given the domain name for matrixsynapse is set to mydomain
|
||||
|
||||
Scenario: Enable matrixsynapse application
|
||||
Given the matrixsynapse application is disabled
|
||||
When I enable the matrixsynapse application
|
||||
Then the matrixsynapse service should be running
|
||||
|
||||
Scenario: Disable matrixsynapse application
|
||||
Given the matrixsynapse application is enabled
|
||||
When I disable the matrixsynapse application
|
||||
Then the matrixsynapse service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @privoxy
|
||||
Feature: Web Proxy
|
||||
Proxy web connections for enhanced privacy.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the privoxy application is installed
|
||||
|
||||
Scenario: Enable privoxy application
|
||||
Given the privoxy application is disabled
|
||||
When I enable the privoxy application
|
||||
Then the privoxy service should be running
|
||||
|
||||
Scenario: Disable privoxy application
|
||||
Given the privoxy application is enabled
|
||||
When I disable the privoxy application
|
||||
Then the privoxy service should not be running
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @ikiwiki
|
||||
Feature: Wiki and Blog
|
||||
Manage wikis and blogs.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the wiki application is installed
|
||||
|
||||
Scenario: Enable wiki application
|
||||
Given the wiki application is disabled
|
||||
When I enable the wiki application
|
||||
Then the wiki site should be available
|
||||
|
||||
Scenario: Disable wiki application
|
||||
Given the wiki application is enabled
|
||||
When I disable the wiki application
|
||||
Then the wiki site should not be available
|
||||
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @mediawiki
|
||||
Feature: Wiki Engine
|
||||
Manage wikis, multimedia and more.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the mediawiki application is installed
|
||||
|
||||
Scenario: Enable mediawiki application
|
||||
Given the mediawiki application is disabled
|
||||
When I enable the mediawiki application
|
||||
Then the mediawiki site should be available
|
||||
|
||||
Scenario: Disable mediawiki application
|
||||
Given the mediawiki application is enabled
|
||||
When I disable the mediawiki application
|
||||
Then the mediawiki site should not be available
|
||||
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @jsxc
|
||||
Feature: XMPP Client
|
||||
Run the JSXC XMPP client.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
|
||||
Scenario: Install jsxc application
|
||||
Given the jsxc application is installed
|
||||
Then the jsxc site should be available
|
||||
Reference in new issue
Block a user