Skip to content

Commit

Permalink
Update links to cucumber expressions documentation (#2068)
Browse files Browse the repository at this point in the history
* docs: direct link to cucumber expressions documentation

* docs: fix link to cucumber expressions documentation
  • Loading branch information
customcommander committed Jun 29, 2022
1 parent 4f28663 commit 1da05aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/custom_snippet_syntaxes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* An object with the following keys:
* `comment`: a comment to be placed at the top of the function
* `functionName`: the function name to use for the snippet
* `generatedExpressions`: from [cucumber-expressions](https://github.com/cucumber/cucumber-expressions-javascript). In most cases will be an array of length 1. But there may be multiple. If multiple, please follow the behavior of the javascript syntax in presenting each of them. See the "multiple patterns" test in this [file](/src/formatter/step_definition_snippet_builder/javascript_snippet_syntax_spec.ts).
* `generatedExpressions`: from [cucumber-expressions](https://github.com/cucumber/cucumber-expressions#readme). In most cases will be an array of length 1. But there may be multiple. If multiple, please follow the behavior of the javascript syntax in presenting each of them. See the "multiple patterns" test in this [file](/src/formatter/step_definition_snippet_builder/javascript_snippet_syntax_spec.ts).
* `stepParameterNames`: names for the doc string or data table parameter when applicable. Theses should be appended to the parameter names of each generated expressions.
* Please add the keywords `cucumber` and `snippets` to your package, so it can easily be found by searching [npm](https://www.npmjs.com/search?q=cucumber+snippets).
* Please open an issue if you would like more information.
2 changes: 1 addition & 1 deletion docs/support_files/step_definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Cucumber supports two types of expressions:

## Cucumber expressions

[Full docs.](https://cucumber.io/docs/cucumber/cucumber-expressions/)
[Full docs.](https://github.com/cucumber/cucumber-expressions#readme)

Gherkin:
```gherkin
Expand Down

0 comments on commit 1da05aa

Please sign in to comment.