Default E2E tests hanging

Hello,
I am working on my first plugin for Grafana.
I managed to do something but I am stuck with the generate E2E tests.
My test hange when trying to ping the health status of the data source but failed.
If someone has an idea on what and how the E2E tests work ?

My code: grafana-akvorado/tests/configEditor.spec.ts at main · moutyque/grafana-akvorado · GitHub
My failed CI/CD: Change the health check for e2e · moutyque/grafana-akvorado@a5df22a · GitHub

Thx

Hi,

It doesn’t seem like the plugin is properly installed on your instance. The plugin id specified in plugin.json is “ovhcloudnetworkobservability-akvorado-datasource”, whereas the the plugin you provision in docker has the type “ovh-akvorado-datasource”. I assume this is because you have changed the pluginId since you scaffolded the plugin in the first place? I suggest you do a global search for “ovh-akvorado-datasource” in your project and make sure it’s replace with your new pluginid.

Additionally, it looks like you need to provide a url (and possibly more fields) for the provisioning of your plugin to be valid.

Hope this was helpful. Good luck testing!
Erik