Commit Graph
111 Commits
Author SHA1 Message Date
Joseph Nuthalapati 03e19b0bdc bind: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:22 -04:00
Joseph Nuthalapati a043063ee2 bind: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:18:17 -04:00
Joseph Nuthalapati 73bfcc41f9 deluge: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:17:59 -04:00
Joseph Nuthalapati 4c7781a34a deluge: Add functional test for uploading a torrent
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:17:52 -04:00
Joseph Nuthalapati 996e5932a2 tests: More accurately compute waited time
If test function takes significant time, this will ensure that we don't wait
more the requested wait time.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-21 19:17:38 -04:00
Joseph Nuthalapati 962fb0d678 datetime: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-15 16:12:49 -04:00
Joseph Nuthalapati f16fe404f2 datetime: Add functional test for setting time zone
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-15 16:12:41 -04:00
Joseph Nuthalapati 9d6a706b10 tests: Add missing backups tag on functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:29:22 -04:00
Joseph Nuthalapati 78f1737788 pagekite: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:29:16 -04:00
Joseph Nuthalapati 382e23636a pagekite: Add functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:29:11 -04:00
Joseph Nuthalapati 3ec55ddecd sharing: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:29:05 -04:00
Joseph Nuthalapati 5ee0f71e62 shadowsocks: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:28:45 -04:00
Joseph Nuthalapati 5f15fdda45 quassel: Enable backup/restore
- All the configuration is in data folder, no custom configuration.

- SSL certificate is in the data folder.

- Users, logs etc. are in sqlite file in the data folder.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 18:28:26 -04:00
Joseph Nuthalapati 7248f0eaa6 coquelicot: Fix upload file functional test
When the application state is disabled to start with, the test would fail.
Ensure that application is enabled at the start of the test.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:19 -04:00
Joseph Nuthalapati e001a37449 transmission: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:17 -04:00
Joseph Nuthalapati eea5d6b754 transmission: Implement upload torrent functional test
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:15 -04:00
Joseph Nuthalapati a214e64175 tests: Reduce time for polling in functional tests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:13 -04:00
Joseph Nuthalapati c83a3cd22e coquelicot: Implement functional tests with uploading file
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:11 -04:00
Joseph Nuthalapati 95664015ac coquelicot: Enable backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:09 -04:00
Joseph Nuthalapati 8a2e27e8e0 jsxc: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:05 -04:00
Joseph Nuthalapati 12620fe7c0 searx: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:03 -04:00
Joseph Nuthalapati 6cb37ac19e roundcube: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:19:01 -04:00
Joseph Nuthalapati 8df5b09d0a privoxy: Enable backup/restore (no data)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:58 -04:00
Joseph Nuthalapati 4b3a3483a9 mumble: Implement backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:56 -04:00
Joseph Nuthalapati 852455b519 mediawiki: Backup/restore settings also
Closes #1392.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 19:18:45 -04:00
James Valleroy aef837c9d6 functional_tests: Check ejabberd contact list more robustly
Retry jsxc login if it gets disconnected.

Fixes #1393.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 18:59:51 -04:00
James Valleroy 6bf2b88874 functional_tests: Make coquelicot password entry more robust
Ensure the password form is scrolled into view.

Fixes #1386.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-03 18:57:09 -04:00
James Valleroy 20cbcbc491 functional_tests: Ensure that backups app is installed before test
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:46:01 +05:30
James Valleroy 5f24cc0042 functional_tests: Test ejabberd backup and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:45:54 +05:30
James Valleroy 46e603bc9b functional_tests: Only select app under test for new backup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:45:48 +05:30
James Valleroy d0dd3e94b5 functional_tests: More robust checks using eventually
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:58 +05:30
James Valleroy 6b91058a77 functional_tests: Test repro config backup and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:45 +05:30
James Valleroy dd94cae272 functional_tests: Test mediawiki backup and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:36 +05:30
James Valleroy 21abffd63b functional_tests: Test ikiwiki backup and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:29 +05:30
James Valleroy 0a5ac4a7f1 functional_tests: Test dynamicdns backup and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-09-24 19:44:01 +05:30
Vignan Lavu 537e2c7de8 mediawiki: Enable SVG support for MediaWiki
- Changed configuration file FreedomBoxSettings.php to enable SVG extension.
- Added functional test for upload and viewing of svg file.
- Modified the existing functional test with image file name as parameter.

Closes #1354

Signed-off-by: Vignan Lavu <vignan.lavu@gmail.com>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-31 00:14:11 +05:30
Joseph Nuthalapati bc3a43d18c functional tests: Fix failing test change default app
- Added an additional pre-condition to check whether the Syncthing app is
  enabled.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-13 15:07:09 +05:30
Joseph Nuthalapati 8f88f0f6b4 mediawiki: Fix images throwing 403s
- Increment version number
- Functional test for uploading files

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-08-11 20:26:10 -04:00
Hemanth Kumar Veeranki 13a3f6add7 Add functional test to enable/disable Message Archive Management
- Test will ensure that ejabberd still continues to run, when MAM is
  enabled or disabled

Signed-off-by: Hemanth Kumar Veeranki <hems.india1997@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-08-07 20:39:40 -04:00
Joseph Nuthalapati 9a3af288fa configuration: Option to set a default app for FreedomBox
Closes #1315

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-29 20:50:10 -04:00
Joseph Nuthalapati 36f7322d08 functional_tests: Use body instead of html for state change check
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-29 12:23:02 -04:00
Joseph Nuthalapati cd38e4d352 functional tests: Fix first test failing on a pristine VM
When a user creates an admin account on a pristine VM, the user is already
logged in. The tests wrongly assume that another login is required.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-07-27 12:50:53 +05:30
James Valleroy 68061f848d functional_tests: Rename features, organize by app
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-07-16 11:23:40 +05:30
Joseph Nuthalapati 7a63504c62 mediawiki: Image uploads: improve logic and add functional tests
- Handled cases where the setting for uploading files may be commented out or
  not present in the LocalSettings.php
- Added functional test for logging in as admin and checking whether there is an
  option to upload files.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-06-18 20:48:15 +05:30
Joseph Nuthalapati 62ccfdfebd mediawiki: Make private mode and public registrations mutually exclusive
- Added JavaScript code to make sure that only one of the checkboxes can be
  enabled at any time.
- Handled the condition where a user disables JavaScript and tries to enable
  public registrations when private mode is active. The action will not proceed
  and a warning will be displayed in the response page.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-06-17 11:34:25 -04:00
Hemanth Kumar Veeranki 6f5b4fba38 Added an option to enable/disable private mode in mediawiki
Add tests for mediawiki private mode

Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-06-04 17:37:26 -04:00
Joseph Nuthalapati 0c334b7231 mediawiki: enable/disable public registrations - refactoring & tests
- Add two functional tests to test enabling and disabling public registrations
  for MediaWiki
- Refactor and simplify config-file editing logic in actions script

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-05-07 19:41:33 +05:30
Joseph Nuthalapati 9037749c78 tests: Fix delete_user fixture
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:42 -04:00
Joseph Nuthalapati 42e434351a tests: Fix tests depending on language being English
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:31 -04:00
Joseph Nuthalapati c382df927a tests: Recover from server restart during installation
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:25 -04:00