javascript test with behat vuejs client docker and symfony server docker with differents repo

Im try to use behat for test two docker apps vuejs client and symfony server with behat tests, the problems these apps are own repo. How I can test with javascript client server when i run behat in symfony? I think to clone client docker before test and run, after run test behat on vuejs container, it’s good idea?

Source: StackOverflow