feat: automated integration test for example/basic

Adds automated CI integration tests to the basic example.
The integration tests launch and configure a keycloak server, launch the
example and test its functionality with a headless browser.
This commit is contained in:
Paul Zinselmeyer 2024-04-21 01:21:36 +02:00
parent c9f63180b3
commit e62aba722c
Signed by: pfzetto
GPG key ID: B471A1AF06C895FD
7 changed files with 402 additions and 80 deletions

View file

@ -13,3 +13,11 @@ tower = "0.4"
tower-sessions = "0.12"
dotenvy = "0.15"
[dev-dependencies]
testcontainers = "0.15.0"
tokio = { version = "1.37.0", features = ["rt-multi-thread"] }
reqwest = { version = "0.12", features = ["rustls-tls"], default-features = false }
env_logger = "0.11.3"
log = "0.4.21"
headless_chrome = "1.0.9"