Commit graph

37 commits

Author SHA1 Message Date
15190508ec remove norecursedirs 2023-12-05 18:08:02 +01:00
b09d781321 fix plugin 2023-12-05 18:07:54 +01:00
eee64f4542 fix dependency types 2023-12-05 17:04:58 +01:00
f0bf98f613 WIP 2023-12-05 17:04:24 +01:00
db8d9f6298 remove prevent_skip 2023-12-05 16:57:38 +01:00
ce76e14358 move all tests to their own dir 2023-12-05 16:52:23 +01:00
d38808ac65 fixup 2023-12-05 16:50:30 +01:00
24dae132a1 turn dependencies into strings 2023-12-05 16:50:17 +01:00
97fb896c43 turn each test dir into a package 2023-12-05 16:42:01 +01:00
be722938c8 Merge commit '8f720f889b' into nextcloud 2023-12-05 16:13:02 +01:00
8f720f889b initial commit 2023-12-04 23:42:12 +01:00
6da13d1120 fix credentials 2023-12-04 23:34:19 +01:00
f911e8aacd add imbox 2023-12-04 23:31:47 +01:00
8b1b30d907 use URL fixture 2023-12-04 22:04:37 +01:00
e98f93557b increase timeout to 15s 2023-12-04 22:03:45 +01:00
e94be119d5 use nextcloud setup and tests 2023-12-04 21:48:34 +01:00
a4391ad985 simplify fixture with baseurl 2023-12-04 21:48:22 +01:00
7f37b1a8b0 implement test_nextcloud_quota 2023-12-04 21:48:06 +01:00
2958b95c65 use url fixture in setup_nextcloud_admin_session, cleanup 2023-12-04 19:57:01 +01:00
5220336eff add global URL fixture 2023-12-04 19:54:02 +01:00
164503f408 add BaseUrl test cases 2023-12-04 19:36:06 +01:00
fb864659d8 add BaseUrl 2023-12-04 19:35:54 +01:00
ae0c90cb8a remove prototype 2023-12-04 19:34:25 +01:00
6f51dc6766 use Path directly in storage_state 2023-12-04 19:08:36 +01:00
e33dc95632 use Path directly in storage_state 2023-12-04 19:07:58 +01:00
c02af669fe fix nextcloud setup 2023-12-04 19:04:30 +01:00
8118aac5a8 implement nextcloud fixtures 2023-12-04 19:04:21 +01:00
ba7f7ac8c8 add nextcloud to ENV_FILES 2023-12-04 17:19:20 +01:00
3fa10aaa69 implement env manager (#6)
* add EnvManager class

* holds all functions that are env file related

* integrates runner dependency resolution

* add integration and unit tests for EnvManager

Reviewed-on: local-it-infrastructure/e2e_tests#6
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-04 17:09:01 +01:00
d3dc0f942a new-features (#5)
* refactoring and rework: runner now has setups / tests / cleanups as lists
* add nextcloud runner
* add email testing prototype with imap fixture
* add dependency resolution (sort env files in input so that test order is correct)

Reviewed-on: local-it-infrastructure/e2e_tests#5
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-04 12:46:30 +01:00
2e33f8f014 make-all-env-files-available (#4)
Before, a test had only access to it's own env file / configuration (wordpress could see wordpress env file). Now, all env files are available. Wordpress test can also read authentik env file, for example to get the authentik domain.

Reviewed-on: local-it-infrastructure/e2e_tests#4
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-11-30 10:53:20 +01:00
8172f685de rework-output-and-test-logic (#3)
* fix flakey tests in authentik / wordpress

* make it possible to rerun tests partially -> passed will be skipped, failed will be repeated

* improve organization of all outputs (moving, renaming, keeping multiple versions etc.)

* add html reports, replace .txt tracebacks

* combine all html reports into one

* add demo runner with comments for documentation purposes

Reviewed-on: local-it-infrastructure/e2e_tests#3
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-11-29 14:14:46 +01:00
d2cd6ba47f authentik setup and tracing (#2)
* authentik sessions created successfully during setup without breaking tracing

* setup works on EN and DE localization by using regex patterns

* automated tracing with pytest --trace option, manual hook no longer needed

Reviewed-on: local-it-infrastructure/e2e_tests#2
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-11-27 17:01:45 +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
5961516536 add config 2023-06-15 22:22:58 +02:00
6ec9b5df50 init 2023-06-15 21:53:12 +02:00