Commit graph

73 commits

Author SHA1 Message Date
Jens L c7a2410b1d
OAuth Provider Rewrite (#182) 2020-08-19 10:32:44 +02:00
Jens Langhammer b4fc32afac e2e: fix typo, log when docker healthcheck fails 2020-08-14 18:09:49 +02:00
Jens Langhammer 45df127f18 e2e: lock mailhog docker image 2020-08-14 17:55:44 +02:00
Jens Langhammer 00ce2a90f1 e2e: lock version of selenium/chrome 2020-08-14 10:53:37 +02:00
Jens Langhammer 3b2d469780 e2e: ensure that PasswordStage's change_flow is set correctly 2020-07-25 21:37:22 +02:00
Jens Langhammer 738ced3327 e2e: CI -> TF_BUILD 2020-07-23 20:03:35 +02:00
Jens Langhammer 3ffed279d7 e2e: fix flow setup stage test not finding link 2020-07-23 11:04:59 +02:00
Jens Langhammer ac2dd3611f sources/*: remove path-based import from all sources 2020-07-20 16:05:09 +02:00
Jens Langhammer 418b94a45a e2e: fix grafana docker image tag 2020-07-20 13:58:50 +02:00
Jens Langhammer 1393078fe6 e2e: fix oauth/oidc tests not working with current grafana 2020-07-20 13:49:07 +02:00
Jens Langhammer 8d58842c9b e2e: decrease timeouts to fix failed tests 2020-07-13 08:54:56 +02:00
Jens Langhammer 1675dab314 providers/saml: fix encoding for POST bindings 2020-07-12 17:58:38 +02:00
Jens Langhammer 996aa367d3 core: fix autosubmit_form loading full template 2020-07-12 17:45:03 +02:00
Jens Langhammer 06f73512df lib/evaluator: add support for IP Address comparison 2020-07-12 16:36:49 +02:00
Jens Langhammer 8aa0b72b67 e2e: only save screenshots in CI 2020-07-12 16:17:04 +02:00
Jens Langhammer 2056b86ce7 providers/saml: rewrite SAML AuthNRequest Parser and Response Processor 2020-07-11 14:06:42 +02:00
Jens Langhammer 40e794099a e2e: only initialise selenium after setting up container 2020-07-10 16:49:25 +02:00
Jens Langhammer 111b037512 e2e: use non-debug selenium docker image for CI 2020-07-10 15:37:10 +02:00
Jens Langhammer 52f66717d3 e2e: print screenshot filename after test 2020-07-10 15:28:01 +02:00
Jens Langhammer 7ac4242a38 e2e: add test for OAuth Enrollment -> OAuth Authentication 2020-07-10 00:14:48 +02:00
Jens Langhammer 4caa4be476 sources/oauth: fix UserOAuthSourceConnection not being assigned to user after enrollment
sources/oauth: separate handle_new_connection into handle_existing_user_link and handle_enroll
2020-07-10 00:07:59 +02:00
Jens Langhammer c6d8bae147 e2e: generate dex config dynamically 2020-07-09 23:15:22 +02:00
Jens Langhammer 8fe6a5b62d stages/prompt: fix checkbox not working, fix date and datetime not using HTML5 input types 2020-07-09 22:55:44 +02:00
Jens Langhammer dbcb5b4f63 e2e: remove static oauth secret 2020-07-09 14:59:25 +02:00
Jens Langhammer 64c47a59f8 e2e: add tests for OAuth Source, update tests for new base templates 2020-07-09 00:53:18 +02:00
Jens Langhammer d3b0992456 flows: FlowStageBinding: rename .flow to .target to fix select_subclasses() 2020-07-04 00:14:21 +02:00
Jens Langhammer 1d9c92d548 admin: add generic form tests 2020-07-02 22:29:30 +02:00
Jens Langhammer b30b58924f e2e: Add denied tests for oauth and oidc provider 2020-07-02 21:55:02 +02:00
Jens Langhammer 76e2ba4764 e2e/provider/saml: add negative case 2020-07-02 13:48:21 +02:00
Jens Langhammer ce2230f774 stages/otp_*: update user setting design 2020-06-30 21:23:37 +02:00
Jens Langhammer 3114d064ed e2e: improve error message when using wait_for_url 2020-06-30 16:36:30 +02:00
Jens Langhammer 63466e3384 e2e: wait for grafana URL 2020-06-29 23:04:05 +02:00
Jens Langhammer 05183ed937 e2e: saml provider: wait for URL 2020-06-29 22:11:50 +02:00
Jens Langhammer 8d31eef47d stages/password: assign default password change flow to password stage
add e2e tests for password change flow
2020-06-29 21:47:20 +02:00
Jens Langhammer 3c1d02bfc4 e2e: bump selenium waits even more 2020-06-26 23:38:00 +02:00
Jens Langhammer c1b2093cf7 e2e: add utility to wait for URL 2020-06-26 16:21:59 +02:00
Jens Langhammer cc7e4ad0e2 e2e: show browser logs to debug CI issues 2020-06-26 15:06:46 +02:00
Jens Langhammer 9675fbb07d e2e: add tests for enrollment with email 2020-06-25 17:45:06 +02:00
Jens Langhammer 57a7bed99d sources/oauth: fix facebook provider 2020-06-25 10:24:53 +02:00
Jens Langhammer 9eaceb9ec6 e2e: add tests for SAML source 2020-06-24 23:24:45 +02:00
Jens Langhammer 05778d8065 sources/saml: minor formatting fixes 2020-06-24 22:46:20 +02:00
Jens Langhammer 31e0d74495 sources/saml: correctly cleanup transient users, update forms 2020-06-24 22:27:14 +02:00
Jens Langhammer de1be2df88 flows: save entire GET params from shell executor 2020-06-21 20:46:38 +02:00
Jens Langhammer f69e20886b e2e: use class name and timestamp for screenshots 2020-06-21 19:22:30 +02:00
Jens Langhammer fd0f0c65e9 e2e: add more failsafe 2020-06-21 19:03:13 +02:00
Jens Langhammer ed4daa64fe e2e: save screenshots with timestamp instead of class name 2020-06-21 18:44:08 +02:00
Jens Langhammer 887163c45c e2e: add more failsafe 2020-06-21 18:36:43 +02:00
Jens Langhammer 1b3c0adf75 e2e: cleanup, always take screenshots on teardown 2020-06-21 15:09:01 +02:00
Jens Langhammer 0838f518d4 e2e: save screenshot on failure, upload to github actions 2020-06-21 14:43:48 +02:00
Jens Langhammer 5c49cda884 e2e: add more safety checks 2020-06-21 13:40:53 +02:00