E2e tests in gitlab CI with api and client separated

On SO the question was flagged as not “specific” enough, hope someone can give me a hint here:


Currently I run the e2e tests locally every time before deployment. I want to automate this.

Current steps to run the e2e tests correctly:
Drop, create, migrate, seed DB & start server

npm run e2e

The API and the Client are in 2 separate repo’s. How do I get them to interact in order to execute the e2e tests, when I deploy my client to gitlab?

How about simply cloning each others repo in tests? By setting up read only deploy keys this should work. Even the repo itself is just cloned into the runner albeit automatically.

1 Like


I have to fill in a username and password.

I have to become project master first to add the deploy keys.