ibizaman
403fb20c1b
tests: remove more implicit imports
2025-11-21 09:52:13 +01:00
ibizaman
48802553de
chore: format all files
2025-10-28 22:17:00 +01:00
ibizaman
5b40cf3707
tests: wait automatically on authelia and lldap to start
...
I had issues with race conditions happening where authelia didn't start yet
when the test script was already testing the integration.
2025-10-22 03:33:17 +02:00
ibizaman
283e12d87d
test: merge functions into lib and set backdoor everywhere
2025-10-15 01:20:00 +02:00
ibizaman
3de3dad405
tests: assert user with unknown group cannot login with sso or ldap
2025-10-09 02:04:20 +02:00
ibizaman
969630c22b
revert added tests
...
This reverts commit ffa918aec6 .
It was merged incorrectly because I tricked the tests to succeed by accident.
2025-10-05 00:08:32 +02:00
ibizaman
ffa918aec6
tests: assert user with unknown group cannot login with sso or ldap
2025-10-04 23:52:14 +02:00
ibizaman
3f74b4ecc4
test: add dns record for authelia service
2025-09-17 10:59:12 +02:00
ibizaman
dd2fbf9ea8
test: disable verbose lldap debug output
2025-08-25 11:50:06 +02:00
ibizaman
f17d18f7bc
test: enable authelia debug output
2025-08-25 11:50:06 +02:00
ibizaman
af968c8163
test: add beforeHook option
2025-08-25 11:50:06 +02:00
ibizaman
ebd39bbe73
nextcloud: fix ldap and sso integration and add playwright tests
2025-08-25 11:50:06 +02:00
ibizaman
b2c5637cfc
add debug output to authelia with mitmdump module
2025-08-19 13:36:46 +02:00
ibizaman
91580421be
add playwright test with ldap for forgejo
2025-07-24 23:12:33 +02:00
ibizaman
13f4064e93
rename ldap block to lldap
2025-07-12 21:47:55 +02:00
ibizaman
7efc153706
gracefully handle cases where no trace is found
2025-07-12 00:01:41 +02:00
ibizaman
b57ea2bda3
specify proto in tests as module option too
2025-07-12 00:01:41 +02:00
ibizaman
8d85cbd1be
allow to test login from server too
2025-07-12 00:01:41 +02:00
ibizaman
221ea6244d
allow to set field selector in playwright tests
2025-07-12 00:01:41 +02:00
ibizaman
e4d1e3d7c2
use exec to run python playwright commands
2025-07-12 00:01:41 +02:00
ibizaman
afb062666f
allow to choose browser for playwright test
2025-07-12 00:01:41 +02:00
ibizaman
c6ef5cd405
make sure jellyfin actually started in tests
2025-07-12 00:01:41 +02:00
ibizaman
46a6c430ef
enable nginx access log for all tests
2025-07-12 00:01:41 +02:00
ibizaman
719cf4dad4
create html report for playwright tests
2025-03-19 16:40:11 +01:00
ibizaman
3473117d12
no need for screenshot if there's a trace
2025-01-31 22:39:30 +01:00
ibizaman
71651bdc0e
add start of playwright test for audiobookshelf
2025-01-31 16:31:33 +01:00
ibizaman
6c9f0e50f7
add playwright test for arr services
2025-01-31 08:37:02 +01:00
ibizaman
c280b57bf5
add playwright test for nextcloud
2025-01-30 22:57:56 +01:00
ibizaman
2c713ae9ad
add playwright test for forgejo
2025-01-26 22:39:27 +01:00
ibizaman
cf3442fb13
add playwright test for deluge
2025-01-26 17:32:41 +01:00
ibizaman
76d6c246e2
move indent function to lib
2025-01-26 17:32:41 +01:00
ibizaman
7bc7cd49cf
refactor extraScript in tests
2025-01-23 21:14:50 +01:00
ibizaman
b776bd07bc
refactor pkgs in tests
2025-01-23 21:14:50 +01:00
ibizaman
072979fce2
refactor domain and subdomain vars in tests
2025-01-23 21:14:50 +01:00
ibizaman
441907b134
refactor base module in tests
2025-01-23 21:14:50 +01:00
Pierre Penninckx
34c4b75871
add test for all modules using backup contract ( #383 )
...
Co-authored-by: ibizaman <ibizapeanut@gmail.com>
2024-11-28 21:17:14 +00:00
Pierre Penninckx
5056d203d9
update secret contract and add sops module ( #356 )
...
I find these `mkProvider` and `mkRequester` functions really nice.
Also fixes doc generation related to https://github.com/NixOS/nixpkgs/pull/353513
2024-11-21 12:51:57 -08:00
Pierre Penninckx
a04dca9973
use secrets contract for restic ( #349 )
2024-11-17 21:12:14 +00:00
ibizaman
b85705ab74
switch authelia to new secrets contract
2024-10-24 22:27:47 +02:00
ibizaman
fa87855ee5
switch jellyfin to new secrets contract
...
This rabbit hole of a task lead me to:
- Introduce a hardcoded secret module that is a secret provider
for tests.
- Update LDAP and SSO modules to use the secret contract.
- Refactor the replaceSecrets library function to correctly fail
when a secret file could not be read.
2024-10-24 22:27:47 +02:00
Pierre Penninckx
5a0ae36c85
update secret contract ( #311 )
...
This makes the secret contract better (IMNSHO):
- Improves documentation, explains better the reasoning behind the
contract.
- Makes it easier to create an option implementing the secret contract.
2024-10-01 21:01:00 +00:00
Pierre Penninckx
d711e59f91
Wait actively on ldap being ready ( #286 )
...
Looks like this is needed in the end, other we get into some flaky
situations
2024-09-01 06:36:53 +00:00
Pierre Penninckx
eb791b3019
flake.lock: Update ( #244 )
...
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock )
GitHub Action.
```
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/9ca3f649614213b2aaf5f1e16ec06952fe4c2632?narHash=sha256-7EXDb5WBw%2Bd004Agt%2BJHC/Oyh/KTUglOaQ4MNjBbo5w%3D' (2024-05-27)
→ 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2?narHash=sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w%3D' (2024-08-28)
```
### Running GitHub Actions on this PR
GitHub Actions will not run workflows on pull requests which are opened
by a GitHub Action.
To run GitHub Actions workflows on this PR, run:
```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-31 07:57:21 +00:00
Pierre Penninckx
0fa4a42be7
switch all modules to backup block ( #279 )
2024-08-20 14:33:13 +00:00
ibizaman
6aed5ee6a5
add backup contract
2024-08-20 00:33:26 -07:00
ibizaman
b64c1bf982
do not assume any formatting in curl function for tests
2024-08-14 20:21:32 -07:00
ibizaman
4c4b0c2e61
print curl command in tests
2024-08-14 20:21:32 -07:00
ibizaman
b466ca4346
make extraScript appear as its own subtest
2024-08-14 20:21:32 -07:00
ibizaman
0f2f69f7a1
refactor tests to use common blocks
2024-07-16 10:53:29 +02:00
ibizaman
1b4247233b
refactor common test script
2024-07-12 19:01:41 +02:00