From d03915c422fe0985033e287a7add490b747cb5ae Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Sat, 23 Feb 2019 10:25:46 +0200 Subject: [PATCH] chore: add wait-on config note, close #90 --- docs/examples.md | 2 +- src/orb.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/examples.md b/docs/examples.md index cefe410b..f78aa9e2 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -148,7 +148,7 @@ workflows: ## wait-for-server-to-respond -Starts server, waits for it to respond and then runs all Cypress tests. Uses `npx wait-on ...` command under the hood, see [wait-on](https://github.com/jeffbski/wait-on#readme). Note, if you are using Webpack server, it might not respond to the default HTTP OPTIONS request. In that case use `wait-on` to send `HTTP GET` request by using url `wait-on: 'http-get://localhost:....'`. +Starts server, waits for it to respond and then runs all Cypress tests. Uses `npx wait-on ...` command under the hood, see [wait-on](https://github.com/jeffbski/wait-on#readme). Note, if you are using Webpack server, it might not respond to the default HTTP OPTIONS request. In that case use `wait-on` to send `HTTP GET` request by using url `wait-on: 'http-get://localhost:....'`. You can also pass `wait-on` config, see [issue #90](https://github.com/cypress-io/circleci-orb/issues/90). ```yaml version: 2.1 diff --git a/src/orb.yml b/src/orb.yml index f05490e1..01f3ed9e 100644 --- a/src/orb.yml +++ b/src/orb.yml @@ -472,6 +472,7 @@ examples: Uses `npx wait-on ...` command under the hood, see [wait-on](https://github.com/jeffbski/wait-on#readme). Note, if you are using Webpack server, it might not respond to the default HTTP OPTIONS request. In that case use `wait-on` to send `HTTP GET` request by using url `wait-on: 'http-get://localhost:....'`. + You can also pass `wait-on` config, see [issue #90](https://github.com/cypress-io/circleci-orb/issues/90). usage: version: 2.1 orbs: