E2E testing with Vagrant VM installation

I installed Shopware using Vagrant. Now I want to use Cypress for e2e testing. Is this possible? Because Cypress opens on the vm if I’m right.