Skip to content

Commit

Permalink
chore: add wait-on config note, close #90
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Feb 23, 2019
1 parent eb8cf4c commit d03915c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples.md
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/orb.yml
Expand Up @@ -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:
Expand Down

0 comments on commit d03915c

Please sign in to comment.