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
Joseph Nuthalapati
42e2995abc
tor: Make tests independent of language
...
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:36:22 -04:00
Joseph Nuthalapati
a152811d70
test: sharing: Fix tests that check text in English
...
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:36:14 -04:00
Joseph Nuthalapati
2ac2726752
tests: snapshots: Remove find_by_value usages
...
- find_by_value depends on the language being English
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:36:10 -04:00
Joseph Nuthalapati
a950371d2a
Fix tests for firstboot, users and groups
...
- Make browser actions independent of language
- Increase timeout for submit actions since actions like enable take too long on
slower machines
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:36:04 -04:00
Joseph Nuthalapati
e99b7c942b
tests: Improve waiting for installation and configuration
...
- Use Selenium's built-in waiting constructs to wait for page loads to complete
- Make tests independent of language (tested in Chinese)
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:35:47 -04:00
Joseph Nuthalapati
b2fea1b0de
language: Fix tests broken by recent feature
...
Tests were breaking because of the following reasons:
- Language options were moved to another page
- Language selections were changed from English to their respective languages
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:35:39 -04:00
Joseph Nuthalapati
143a24a64a
snapshots: Fix tests broken by UI changes
...
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-04-08 12:35:26 -04:00
Sunil Mohan Adapa
436a32d358
sharing: Add functional tests
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org >
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
2018-03-12 18:27:29 +05:30
James Valleroy
075ccf402a
functional-tests: Minor cleanup of license headers and whitespace
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org >
2018-02-28 19:13:11 +01:00
Joseph Nuthalapati
af1406119d
searx: Add basic functional tests
...
- Tests to enable/disable Searx
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com >
Reviewed-by: James Valleroy <jvalleroy@mailbox.org >
2018-02-28 19:01:03 +01:00
Joseph Nuthalapati
0bdc2802f2
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 >
2018-02-28 19:00:42 +01:00