Martchus
4d56e1775e
Remove test check for timeout again; we might run into it without systemd
2023-01-12 23:45:55 +01:00
Martchus
f04c482538
Allow overriding timeout of wizard's setup detection and log during test
2023-01-11 19:43:46 +01:00
Martchus
c81bb178a7
Check whether setup detection has not timed out in wizard tests
2023-01-11 19:21:58 +01:00
Martchus
9fe89aa82f
Disconnect lambda in wizard test
2023-01-11 19:18:37 +01:00
Martchus
4f29c2daba
Add debugging output in wizard test
2022-12-17 20:39:03 +01:00
Martchus
e5ffffcaec
Avoid messing with user config when running wizard test
2022-11-08 20:35:52 +01:00
Martchus
8f4961d1b9
Set Syncthing's home dir via CLI arg in wizard tests instead of relying on env variable
2022-11-05 14:08:06 +01:00
Martchus
10ddc79382
Move code for configuring setup detection in wizard tests into separate function
2022-11-05 13:59:59 +01:00
Martchus
521567f235
Log Syncthing's output during the wizard test for better debugging
2022-11-03 21:36:02 +01:00
Martchus
0ab21657c4
Mock locating config file for wizard tests to be independent of Qt's behavior
...
Maybe overriding `HOME` is not sufficient for faking a different home dir
to be picked up by `QStandardPaths`. So this change makes
`LIB_SYNCTHING_CONNECTOR_SYNCTHING_CONFIG_DIR` a hard override and uses it
in tests to fake a different path independently from the behavior of
`QStandardPaths`.
2022-11-03 21:35:03 +01:00
Martchus
0ca1fd1638
Don't make altering config dependend on present port
...
To workaround the same problem mentioned in the previous commit.
2022-11-03 00:19:18 +01:00
Martchus
ad81c29a1d
Remove check for Syncthing's port as it doesn't work when 8384 is already used
2022-11-02 23:55:45 +01:00
Martchus
992e754dd7
Enable wizard without WIP flag
...
The wizard likely still needs improvement but it is time to get more
feedback.
2022-10-27 19:23:56 +02:00
Martchus
a3e5825217
Improve wizard tests
...
* Allow setting Syncthing path and port like it is possible with other
tests
* Test configuring currently running instance
* Avoid race condition; one must subscribe to `settingsChanged` before
applying changes
2022-10-16 18:10:14 +02:00
Martchus
b6df8be85a
Extend wizard tests to actualy apply launcher settings
2022-10-16 16:10:50 +02:00
Martchus
9f92e340b9
Add basic tests for wizard
2022-10-16 15:08:29 +02:00