fix(e2e): use Playwright web installer + session-based token creation for Matomo 5.3
- make Playwright a runtime dependency (installer requires it) - record-and-replay Matomo web installer flow (more stable than container bootstrap) - replace removed UsersManager.getTokenAuth with cookie-session login + createAppSpecificTokenAuth - make HttpClient return (status, body) for HTTPError responses - set deterministic container names in docker-compose and pass MATOMO_CONTAINER_NAME https://chatgpt.com/share/694a7b30-3dd4-800f-ba48-ae7083cfa4d8
This commit is contained in:
@@ -12,13 +12,14 @@ authors = [{ name = "Kevin Veen-Birkenbach", email = "kevin@veen.world" }]
|
||||
license = { text = "All rights reserved by Kevin Veen-Birkenbach" }
|
||||
urls = { Homepage = "https://github.com/kevinveenbirkenbach/matomo-bootstrap" }
|
||||
|
||||
dependencies = []
|
||||
|
||||
[project.optional-dependencies]
|
||||
e2e = [
|
||||
# Playwright is needed at runtime to run the web installer when Matomo is not yet installed.
|
||||
dependencies = [
|
||||
"playwright>=1.40.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
e2e = []
|
||||
|
||||
[tool.setuptools]
|
||||
package-dir = { "" = "src" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user