circleci-orb
circleci-orb copied to clipboard
Need ability to have start parameter take more than one command
Our project has a frontend server and backend server (api). We use a mock api for the backend in cypress tests. We need to be able to run the mock server (to mimic backend api) and a front end server in Circle CI.
Below is what I have tried but it isn't working so I am trying to figure out what I need to do to start that second server specifically on circleci
- cypress/run:
executor: cypress/base-12-14-0
yarn: true
start: yarn start && yarn start-mockapi
I asked about this in the gitter chat and was directed to open a ticket as the start parameter likely doesn't handle passing both commands.
Hi @bahmutov just wondering if this is something you think might be addressed soon?
Hi @bahmutov just wondering if this is something you think might be addressed soon?
Hi @bahmutov just wondering if this is something you think might be addressed soon?
@jennifer-shehane Can you tell me a status on this?
I don't have plans to implement this any time soon. I suggest using https://github.com/bahmutov/start-server-and-test maybe to start multiple services, wait for them to respond, then run tests.
Great. Thank you for the suggestion of a work around. Much appreciated!
This is a duplicate of this issue https://github.com/cypress-io/circleci-orb/issues/313. Going to close