summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-10-12Format all code using blackMicah Lee
2019-09-22Invert the CSP header setting and put it in its own Website Mode settings ↵Miguel Jacq
group. Make the CSP header mandatory for share/receive modes, optional for website mode only.
2019-09-16Make setting the Content-Security-Policy header optional so it doesn't break ↵Miguel Jacq
website mode shares
2019-09-09Fix the discrepancy between SendBaseModeWeb and Web objects' separate ↵Miguel Jacq
cur_history_id attibutes, ensuring that when we call web.error404() we send a new history_id integer for communicating back to the frontend. Add tests for this
2019-09-09Fix tests in Receive Mode that actually do increment the history item widget ↵Miguel Jacq
count where they didn't previously (due to an additional GET that follows the 302 redirect of a POST request on upload)
2019-09-03Reset the ToggleHistory indicator count/label when a share starts. Add a ↵Miguel Jacq
test for this
2019-09-03Check for the (absence of) hyperlink in page markup before we move on to ↵Miguel Jacq
trying to download the individual file
2019-09-03Test to make sure that we *can't* download an individual file when not in ↵Miguel Jacq
stay_open mode, not just that the hyperlink is not present in the page markup
2019-09-03Extend coverage of website mode testsMiguel Jacq
2019-09-03Aww. Adjust the website test html code since my easter egg didn't workMiguel Jacq
2019-09-03remove unnecessary import from GuiWebSiteTest classMiguel Jacq
2019-09-03Add a basic website testMiguel Jacq
2019-09-03Add tests to check that hyperlink to a shared file exists when in stay_open ↵Miguel Jacq
mode (and that the file is downloadable individually when so), and not if not
2019-09-01Remove the "Allow downloading individual files" setting altogether, and make ↵Micah Lee
it just automatically enabled if "Stop sharing..." is disabled
2019-09-01Fix TestSettings.test_init testMicah Lee
2019-05-24Make GuiReceiveTest.upload_test use basic auth when identical_files_at_once ↵Micah Lee
is True
2019-05-24Fix testsMicah Lee
2019-05-24Replace URLs that have slugs with basic auth in testsMicah Lee
2019-05-23Fix web tests to use basic auth and passwords instead of slugsMicah Lee
2019-05-22Rename slugs to passwords in the testsMicah Lee
2019-04-19Merge pull request #959 from micahflee/958_verboseMicah Lee
Rename --debug to --verbose
2019-04-18Skip GUI and tor tests if pytest is older than 2.9, to allow tests to run in ↵Micah Lee
old ubuntu
2019-04-18Rename debug to verbose in all relevant placesMicah Lee
2019-03-25Standardise all startup_timer, scheduled_start attributes as 'autostart_timer'Miguel Jacq
2019-03-25Standardise all shutdown_timer, shutdown_timeout, timeout attributes as ↵Miguel Jacq
'autostop_timer'
2019-03-25Fix conflictsMiguel Jacq
2019-03-22Merge pull request #935 from mig5/fix_receive_mode_folder_collisionMicah Lee
On a folder name collision, make sure we update the self.receive_mode_dir attribute
2019-03-11Various Startup Timer fixes for strings, bundled mode, stealth mode, ↵Miguel Jacq
startup/shutdown time clashes
2019-03-10Merge pull request #926 from mig5/fix_settings_in_web_testMicah Lee
Use a custom Settings object in test_onionshare_web.py, rather than potentially load non-ephemeral settings
2019-03-08On a folder name collision, make sure we update the self.receive_mode_dir ↵Miguel Jacq
attribute after creating a unique folder with a suffix. Adjust Receive Mode tests to test for this
2019-03-08Fix a minor corner case related to server status button when canceling a ↵Miguel Jacq
scheduled share. Leverage scheduled shares in order to test 'cancel' action in local mode for better test coverage
2019-03-06Prevent a scheduled share from starting after the scheduled time has passed. ↵Miguel Jacq
Add a test for this
2019-03-05Test that the web server is stopped when it's scheduled for a later startMiguel Jacq
2019-03-05Add a Startup Timer feature (scheduled start / dead man's switch)Miguel Jacq
2019-02-26Use a custom Settings object in test_onionshare_web.py, rather than ↵Miguel Jacq
potentially load non-ephemeral settings
2019-02-22remove actual sender_closed test functionMiguel Jacq
2019-02-22Remove obsolete test for sender closing a Receive Mode service via the web ↵Miguel Jacq
interface
2019-02-11Support persistent v3 onionsMiguel Jacq
2019-01-21Write test to confirm that submitting the receive mode form without ↵Micah Lee
selecting files doesn't change in_progress_count or completed_count
2019-01-20Fix tests to use data_dir setting instead of downloads_dirMicah Lee
2019-01-15Make it so GUI tests only run with --runguiMicah Lee
2018-12-16Merge branch 'develop' into 406_osx_sandboxMicah Lee
2018-12-16Merge pull request #831 from micahflee/812_fix_v3_onionsMicah Lee
[WIP] Fix v3 onion services
2018-12-13Remove qtapp.processEvents() call from settings dialog tests, because they ↵Micah Lee
cause a segfault in circleci for some reason
2018-12-13Always pass in both is_authenticated and supports_v3_onions to OnionStubMicah Lee
2018-12-13Fix bug in OnionStub, the stub used in settings dialog testsMicah Lee
2018-12-13Remove unnecessary imports from settings dialog testsMicah Lee
2018-12-13Fix test_load_strings_loads_other_languages testMicah Lee
2018-12-05Update settings dialog tests to use an OnionStub instead of an Onion, and ↵Micah Lee
test different states of tor (authenticate and not, supports v3 and not)
2018-11-25Fix test for Windows settings pathMicah Lee