Commit graph

52 commits

Author SHA1 Message Date
050be3709f use fixture from authentik in wordpress 2023-11-24 20:58:23 +01:00
c9844bc688 improve runner commands 2023-11-24 18:31:24 +01:00
8418e5aeb1 rename tests_dir to output_dir 2023-11-24 18:13:49 +01:00
3354859ec1 update argument name 2023-11-24 18:12:52 +01:00
26f5b34279 add output dir as argument to wrapper 2023-11-24 18:12:43 +01:00
349f2a510a rename stuff 2023-11-24 18:11:16 +01:00
21105a001b make dirmanager support str 2023-11-24 18:09:00 +01:00
76a79c11b2 move credentials to environment variables, defined in main 2023-11-24 18:08:47 +01:00
305f485a23 cleanup 2023-11-24 18:04:22 +01:00
be6403de4d disable dummy test 2023-11-24 18:02:46 +01:00
0a977abf65 move ENV_Files to main.py 2023-11-24 17:56:11 +01:00
f9baecba30 WIP: set environment variables in main 2023-11-24 17:54:13 +01:00
f4cb16a162 remove tracing stuff, use --trace instead 2023-11-24 17:51:29 +01:00
ad95ed649f cleanup 2023-11-24 17:51:13 +01:00
d483bf3a0f remove old function with browser fixture 2023-11-24 17:50:06 +01:00
1088235518 loading of admin cookies works now 2023-11-24 15:49:12 +01:00
b4ad3a84ac make user_session setup only use context fixture, not browser 2023-11-24 15:19:25 +01:00
8e240d3f50 FIX TESTS_DIR 2023-11-24 14:40:51 +01:00
32d61cd297 create pytest arguments dynamically 2023-11-24 14:37:49 +01:00
d6f90b1d64 simplify dir creation 2023-11-24 14:16:22 +01:00
d6b4feb9b6 make authentic setup a test a gain 2023-11-24 14:15:46 +01:00
dfe63687a3 make tests dir absolut 2023-11-24 14:15:25 +01:00
826e400150 add main setup 2023-11-24 14:07:29 +01:00
befad97cc1 add asserts to pytest command line arguments 2023-11-24 12:22:45 +01:00
23b81317c5 move get_session_id to utils 2023-11-24 12:11:34 +01:00
bc9d0a3f47 fix formatting 2023-11-24 11:57:29 +01:00
aece37a604 pytest: discover files with name setup*.py 2023-11-24 11:54:38 +01:00
6605287a33 rename so that discovered test file doesnt exist twice 2023-11-24 11:53:31 +01:00
bbea3e0970 __init__.py so src dir is recognized as module 2023-11-24 11:43:47 +01:00
660c5fd712 remove plugins from conftest, breaks test discovery 2023-11-24 11:41:46 +01:00
2cb4a9d526 Easier setup by executing main from root working directory 2023-11-24 11:30:52 +01:00
a4bdb2e868 add test_setup_authentik 2023-11-24 11:23:40 +01:00
7c4d853985 remove demo env file 2023-11-24 11:03:41 +01:00
e64e5e4bc9 setup_authentik almost wrunning 2023-11-24 11:01:04 +01:00
9d13e9a4aa use new interface 2023-11-24 10:36:14 +01:00
ffd9f29b7a change interface or dirmanager 2023-11-24 10:35:42 +01:00
702791e5cd runner is executed authentik setup als function, without pytest 2023-11-24 10:27:54 +01:00
2e4d0247cf add run_setup 2023-11-23 00:47:28 +01:00
fbe9e323ec add failing test 2023-11-23 00:43:02 +01:00
1181c26595 load authentik_plugin in conftest 2023-11-23 00:42:15 +01:00
cc2bb37b64 wip files 2023-11-23 00:41:02 +01:00
e18e0ea99e add dependencies for runners 2023-11-23 00:38:14 +01:00
665fd34ddd WIP create user session in setup_authentik 2023-11-22 23:31:30 +01:00
48d44b945f add dir_manager to Runner 2023-11-22 23:27:06 +01:00
ab8f068a5e traceback of failed test gets saved via hook 2023-11-22 23:25:16 +01:00
c71a4db8cb add tests dir 2023-11-22 23:23:50 +01:00
3d2f4d939d make paths absolute 2023-11-22 23:23:04 +01:00
2919a33191 and new hooks for result logging 2023-11-22 22:51:20 +01:00
97ed87c79f [WIP] Add new automated test framework (#1)
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-11-22 21:40:13 +01:00
859bd57006 test framework 2023-07-07 03:38:10 +02:00