Kibana plugin testing inside docker

I'm developing a plugin for kibana and I would like to integrate the kibana testing with our gitlab-ci without having an Desktop environment.
is there a way to run yarn test without having a X environment for example inside a docker container with xvfb? looking at it should work, but this script loads a local elasticsearch.
Is there a way to use a remote elasticsearch for testing with this script or run yarn test inside docker?

Can you share how you do your functional tests?

Thanks in advance,

It might be possible by setting the environment variables outlined here:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.