Skip to content

Commit c6358a7

Browse files
committed
Merge branch 'VidhiRambhia/master'
2 parents f31066b + 4a8b2b0 commit c6358a7

File tree

9 files changed

+652
-33
lines changed

9 files changed

+652
-33
lines changed

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ Configuration values for specific types of testing (e2e / component) can be conf
3535
// .cypress-cucumber-preprocessorrc.json
3636
{
3737
"e2e": {
38-
"stepDefintions": "cypress/e2e/[filepath].{js,mjs,ts,tsx}"
38+
"stepDefinitions": "cypress/e2e/[filepath].{js,mjs,ts,tsx}"
3939
},
4040
"component": {
41-
"stepDefintions": "src/[filepath].{js,mjs,ts,tsx}"
41+
"stepDefinitions": "src/[filepath].{js,mjs,ts,tsx}"
4242
}
4343
}
4444
```

docs/step-definitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ From Cucumber you might be familiar with the fact that step definitons *aren't*
2828
2929
This is *not* true for the preprocessor and represents the only place where the two experiences (Cucumber vs. Cypress + this preprocessor) deviates significantly. However, the preprocessor don't magically understand your intention in regards to this.
3030

31-
**Pairing** dictates which step definitions will be available in which feature files. Furthermore, hooks specified in paired files are the hooks which will take effect. Pairing is entirely configured through the `stepDefintions` property. Below are some examples to further explain this concept.
31+
**Pairing** dictates which step definitions will be available in which feature files. Furthermore, hooks specified in paired files are the hooks which will take effect. Pairing is entirely configured through the `stepDefinitions` property. Below are some examples to further explain this concept.
3232

3333
A prerequisite for understanding this process is some knowledge of glob / search patterns. Explaining this however is out of the scope is this page. Internally, [glob](https://github.com/isaacs/node-glob) is used.
3434

0 commit comments

Comments
 (0)