The current integration tests do not cover testing that the dashboard is accessible. This means that the integration tests can pass when the dashboard is in fact non functional.
This was exploited when the integration tests failed for dex-auth in https://github.com/canonical/dex-auth-operator/pull/187, where test_login failed with timeout to reach the dashboard.
We should have a test to verify this in this repo since this can potentially break the bundle.
For example, the dashboard is now broken on juju 3.5 due to #188, and yet the integration tests passed for #182 and #183
To Reproduce
Run the charm's integration tests withtox -e integration in main on Juju 3.5
Bug Description
The current integration tests do not cover testing that the dashboard is accessible. This means that the integration tests can pass when the dashboard is in fact non functional. This was exploited when the integration tests failed for dex-auth in https://github.com/canonical/dex-auth-operator/pull/187, where
test_login
failed with timeout to reach the dashboard. We should have a test to verify this in this repo since this can potentially break the bundle.For example, the dashboard is now broken on juju 3.5 due to #188, and yet the integration tests passed for #182 and #183
To Reproduce
tox -e integration
in main on Juju 3.5Environment
juju 3.5/stable microk8s 1.25-strict/stable