95 Commits

Author SHA1 Message Date
James Valleroy
88cab90917
functional_tests: Use longer password when creating user
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-25 16:27:03 -04:00
Joseph Nuthalapati
6e0671e142
sharing: Add functional test for public shares
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 17:56:45 -04:00
James Valleroy
1600c25ae8
monkeysphere: Hide by default
Update functional test to show advanced apps.

Closes #1453.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-10 11:16:01 -07:00
Joseph Nuthalapati
23e4aac400
searx: Improve functional tests
- Make tests more semantically correct
- Add implementation for missing fixture - When I log out
- Check whether file exists when disabling public access

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-09 10:40:54 -04:00
Joseph Nuthalapati
7e1e5182cc
searx: Preserve public_access setting
- Preserve the setting during enable/disable as well as during backup/restore.
- Show setting as disabled when application is disabled but restore user's
  original preference value on enable.
- Add functional test for this.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-09 10:40:49 -04:00
Joseph Nuthalapati
2d85b61199
searx: Add option to allow public access to the application
[jvalleroy] Resolved merge conflict to use shortcut component.

Fixes #1590

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-09 10:37:16 -04:00
LoveIsGrief
d551d52537
i2p: Add functional tests
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-01 17:33:26 -07:00
Sunil Mohan Adapa
895b5f1fa8
functional_tests: Reorder tests to disable apps after tests
To reduce memory/CPU requirement on the VM running the services for functional
tests. The following items are kept enabled as these are enabled by default in
FreedomBox.:

- NTP daemon

- Restricted console login

- Unattended upgrades

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-09 21:20:42 -05:00
Joseph Nuthalapati
241d3a98d5
Disable Coquelicot for Buster release
As confirmed by multiple users, Coquelicot is no longer useful for uploading
files, which makes it useless as a file sharing application.

We might enable it in the future if it's actively maintained once again, or find
an alternative.

- Skip functional tests

- Disable modules-enabled file

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 18:34:14 -05:00
Sunil Mohan Adapa
ee87c00578
ttrss: Make functional test definitions specific to ttrss
- So as not to clash with future apps that may have feed add/remove capability.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-26 15:24:09 -08:00
James Valleroy
1eed7d581d
ttrss: Add backup support
- Use backup hooks to dump and restore database.
- Add functional test for backup and restore.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-26 15:23:47 -08:00
Joseph Nuthalapati
8bc34f84c3
config: Rename Default App to Webserver Home Page
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:30:59 -05:00
James Valleroy
e385e7a87a
monkeysphere: Re-enable functional tests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-05 21:51:44 -05:00
James Valleroy
a3dbe56a4e
repro: Also disable functional tests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-05 21:51:18 -05:00
James Valleroy
c5ee844cb1
shadowsocks: Use resolvable domains in functional tests
Shadowsocks server will fail to start if the domain cannot be
resolved.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-03 17:43:25 -08:00
Sunil Mohan Adapa
22dd2d26f3
mldonkey: Add functional test for uploading
- Run yapf for automatic formatting.

- Move disable test to the end so that after all test are run, app is usually
  disabled.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-28 10:54:53 -08:00
J. Carlos Romero
1c8c9d067a
mldonkey: Add backup/restore support
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-28 10:54:27 -08:00
James Valleroy
b8737ad663
help: Add functional test to check status logs page
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-28 09:57:02 -08:00
Sunil Mohan Adapa
c35cecb34a
openvpn: Add backup/restore support
- Add functional tests

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-27 08:16:24 -05:00
James Valleroy
af018e3018
radicale: Add functional tests for setting access rights
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-26 22:06:57 -08:00
Sunil Mohan Adapa
529c281734
syncthing: Add backup/restore support
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-26 21:30:29 -05:00
Sunil Mohan Adapa
260dcd4d32
mldonkey: Update description and minor updates
- Update description to simply and talk about multiple protocols supported.

- Don't diagnose on IPv6 as mldonkey does not listen there.

- Run yapf and isort.

- Minor styling fixes.

- Update functional tests to check for service running.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-25 14:39:31 -08:00
J. Carlos Romero
548c6b98f3
mldonkey: Add new module for the eDonkey network
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-25 14:39:10 -08:00
Sunil Mohan Adapa
1ec5b213ad
snapshot: Minor styling fixes
- Avoid use of _ in functional steps.

- flake8 fixes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-08 14:00:26 -08:00
Joseph Nuthalapati
0b9922434c
snapshot: Fix failing tests
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-08 14:00:11 -08:00
James Valleroy
6adec225d3
radicale: Add tests for well-known URLs
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-06 17:57:43 -05:00
James Valleroy
a99c4e0901
functional_tests: Move backup test into backups feature
Remove @bind tag from backups feature.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-13 20:48:14 -05:00
Michael Pimmer
067fea7d17
Backups: functional tests update; restoring backup bugfix
- updated functional tests to work with changed UI
- fixed bug when restoring an uploaded file

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-13 18:28:31 -05:00
James Valleroy
be3e8b7939
functional_tests: Add sso tags
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-18 11:49:57 -05:00
Michael Pimmer
33dde221d1
Functional tests: check that browser waits for redirects to finish
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 16:22:17 -05:00
James Valleroy
006147b417
functional_tests: Remove remaining backup export steps
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:55 -05:00
Michael Pimmer
c988d468f2
Backups: functional test to download and restore an archive
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:42 -05:00
James Valleroy
82a4a5fc5e
functional_tests: Remove backup export steps
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-17 09:00:09 -05:00
Joseph Nuthalapati
68ff01c301
tahoe: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-01 20:39:57 -04:00
Joseph Nuthalapati
78950b1ba3
tahoe: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-01 20:39:52 -04:00
Joseph Nuthalapati
874dcdf282
monkeysphere: Skip functional tests until bugs are resolved
Currently, monkeysphere does not get installed properly unless FreedomBox
security is disabled. Skip these tests until the monkeysphere is patched
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911907 .

Another way to enable these tests is to disable restricted logins (write steps
to do that) before running them.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:40 -04:00
Joseph Nuthalapati
37262f1bb7
monkeysphere: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:36 -04:00
Joseph Nuthalapati
f52e13d316
monkeysphere: Add functional tests for import/publish keys
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:31 -04:00
Joseph Nuthalapati
a75b415624
tests: Change the domain to be an FQDN
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:28 -04:00
Joseph Nuthalapati
5be3249217
upgrades: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:11 -04:00
Joseph Nuthalapati
37d84c0f50
upgrades: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:22:05 -04:00
Joseph Nuthalapati
47faa5512d
tor: Enable backup/restore
Backup and restore all instances of tor and not just FreedomBox instance.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:21:58 -04:00
Joseph Nuthalapati
6dd7823c9e
tor: Add functional tests for relays and hidden services
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-29 23:21:51 -04:00
Joseph Nuthalapati
1eacbf1be7
ssh: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:05 -04:00
Joseph Nuthalapati
6c565f8678
deluge: Add missing backups tag in functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:19:00 -04:00
Joseph Nuthalapati
03a6cf25e5
snapshot: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:56 -04:00
Joseph Nuthalapati
2c1372c26d
snapshot: Add functional tests for setting configuration
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:45 -04:00
Joseph Nuthalapati
327741bc22
security: Enable backup/restore
Currently only the restricted login setting is backed up and restored. Fail2Ban
needs ability to backup and restore state of services.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:30 -04:00
Joseph Nuthalapati
b04ac3c76c
security: Add functional tests for restricted logins
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:26 -04:00
Joseph Nuthalapati
03e19b0bdc
bind: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:22 -04:00