authentik setup and tracing #2

Merged
dan merged 69 commits from working-setup into dev 2023-11-27 17:01:47 +01:00

69 commits

Author SHA1 Message Date
1d316ea744 enable all tests 2023-11-27 16:58:07 +01:00
cad8e3417a add check_if_user_exists 2023-11-27 16:57:36 +01:00
61a02aa187 cleanup 2023-11-27 16:07:25 +01:00
851c06f795 put progress files in PROGRESS dir 2023-11-27 15:04:10 +01:00
2ec7c6fd30 fixup 2023-11-27 14:29:19 +01:00
f38763d912 use new DIR fixture 2023-11-27 14:28:52 +01:00
387d5f1822 use new DIR fixture 2023-11-27 14:27:17 +01:00
d1fbc403c0 use new DIR fixture 2023-11-27 14:26:50 +01:00
9494f8fd44 small changes 2023-11-27 14:25:51 +01:00
d67f56bce7 remove subdir fixtures 2023-11-27 14:25:31 +01:00
a2718084bc rename var holding DirManager 2023-11-27 14:23:22 +01:00
0b7057135f add progress dir 2023-11-27 14:21:39 +01:00
818d2ca8be only trace on fail 2023-11-27 14:19:35 +01:00
bfcd75162b fix _check_dependencies 2023-11-27 14:19:21 +01:00
a07d593796 authentik setup fully working 2023-11-27 14:07:12 +01:00
f8683ac322 add comment 2023-11-27 12:06:46 +01:00
7655373945 remove show_files function 2023-11-24 23:40:27 +01:00
6bceee946a add dependency check 2023-11-24 23:40:08 +01:00
3b7c56a5b3 remove old setup routine in runner 2023-11-24 23:34:16 +01:00
772bc1b94a improve setup with regex 2023-11-24 22:14:34 +01:00
f3b23e5182 update 2023-11-24 20:58:30 +01:00
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