- 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>
- 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>
- 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>
- find_by_value depends on the language being English
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
- 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>
- 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>
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>
- 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>