25 Commits

Author SHA1 Message Date
Micah Lee
0e44020bb6 Rename OnionShareGui to MainWindow 2019-10-20 19:41:20 -07:00
Micah Lee
58ad7907fd Replace .format with python 3.6 f-strings in tests 2019-10-20 10:46:14 -07:00
Micah Lee
88e151d414 Format all code using black 2019-10-12 21:01:25 -07:00
Miguel Jacq
2c87ea55ff Fix the discrepancy between SendBaseModeWeb and Web objects' separate 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-09 16:35:05 +10:00
Miguel Jacq
4a4437394d Fix tests in Receive Mode that actually do increment the history item widget count where they didn't previously (due to an additional GET that follows the 302 redirect of a POST request on upload) 2019-09-09 12:19:39 +10:00
Miguel Jacq
7a6d34103d Reset the ToggleHistory indicator count/label when a share starts. Add a test for this 2019-09-03 17:02:29 +10:00
Miguel Jacq
608e0eccc6 Extend coverage of website mode tests 2019-09-03 12:23:27 +10:00
Miguel Jacq
93a63098de Add a basic website test 2019-09-03 11:51:59 +10:00
Micah Lee
e820a0d00d Fix tests 2019-05-24 17:59:14 -07:00
Micah Lee
1efc3d6278 Replace URLs that have slugs with basic auth in tests 2019-05-24 13:38:41 -07:00
Micah Lee
cec63daf3a Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Miguel Jacq
eb823042bb Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
a4c8865dcd Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
eae049d46a Fix a minor corner case related to server status button when canceling a scheduled share. Leverage scheduled shares in order to test 'cancel' action in local mode for better test coverage 2019-03-08 11:03:37 +11:00
Miguel Jacq
26d262ccfc Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Micah Lee
32c0c033d1 Fix tests to use data_dir setting instead of downloads_dir 2019-01-20 12:01:51 -08:00
Miguel Jacq
7a7d992cb7 more cleanup in teardown class 2018-10-17 17:29:44 +11:00
Miguel Jacq
8e4c70e7fb Fix path to large_file in teardown class 2018-10-17 17:23:25 +11:00
Miguel Jacq
ef01da3fad Remove unique settings file per test, because they don't run concurrently anymore 2018-10-17 16:31:51 +11:00
Miguel Jacq
e9cdf4f52d More test coverage, particularly of Receive Mode 2018-10-17 15:21:04 +11:00
Miguel Jacq
63ae7c0d51 Add better workaround for blocking QDialogs. Add unreadable file test and reinstate tor connection killed test 2018-10-17 11:57:21 +11:00
Miguel Jacq
b2a7b0c929 More coverage such as 404 ratelimit, large file tests. Standardise some method naming conventions and other fixes/cleanup 2018-10-16 13:01:44 +11:00
Miguel Jacq
e3459a5136 Move GUI tests into tests/ dir and fix conftest related stuff so everything loads what it needs and passes 2018-10-13 10:35:09 +11:00
Miguel Jacq
bc90b7de93 Revert "Try and move local tests into main tests dir. Rename local tests. Save test settings to unique json files to avoid race conditions"
This reverts commit cd6931ec8c6f2010b7c39ce117211f274987a7a6.
2018-10-11 16:07:16 +11:00
Miguel Jacq
cd6931ec8c Try and move local tests into main tests dir. Rename local tests. Save test settings to unique json files to avoid race conditions 2018-10-11 16:04:37 +11:00