Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support multiple wait-on values #152

Closed
a7madgamal opened this issue Jun 2, 2020 · 4 comments · Fixed by #239
Closed

support multiple wait-on values #152

a7madgamal opened this issue Jun 2, 2020 · 4 comments · Fixed by #239
Labels
released type: enhancement New feature or request

Comments

@a7madgamal
Copy link

I'm trying to wait for multiple servers (aka ports) before running the test, is this possible?

@platy
Copy link

platy commented Nov 13, 2020

The solution I came up with was adding new parameters start2 and wait2 - not particularly elegant but it's doing the trick at the moment.

If you want to use it, the forked action is chargery/cypress-io-github-action@f15bca7.

The changes : survemobility@f15bca7

@bahmutov
Copy link
Contributor

I would refactor wait-on and start into accepting a comma-separated list, and the adding support for starting each process, and then waiting for each URL one by one. Something like

start: npm start, npm run api
wait-on: http://localhost:3000,http://localhost:5000

@github-actions
Copy link

🎉 This issue has been resolved in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@platy
Copy link

platy commented Nov 19, 2020

Great! That does seem nicer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants