You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(core): support command namespacing with `commandNames` option - #122
* feat(tests): add tests for `commandNames` option - #122
* feat(commands): ability to check auth user from cy command (`cy.getAuthUser`) - #15
* fix(ci): remove duplicate build happening in size check step
* chore(tests): add retries to firestore get action test to solve flakiness in CI
Copy file name to clipboardexpand all lines: README.md
+20
Original file line number
Diff line number
Diff line change
@@ -437,6 +437,26 @@ NOTE: You can also use `firebase serve`:
437
437
1. Run `firebase login:ci` to generate a CI token for `firebase-tools` (this will give your `cy.callRtdb` and `cy.callFirestore` commands admin access to the DB)
438
438
1. Set `FIREBASE_TOKEN` within CI environment variables
439
439
440
+
### Changing Custom Command Names
441
+
442
+
Pass `commandNames` in the `options` object to `attachCustomCommands`:
443
+
444
+
```js
445
+
constoptions= {
446
+
// Key is current command name, value is new command name
For more information about this feature, please see the [original feature request](https://github.com/prescottprue/cypress-firebase/issues/15).
459
+
440
460
### Webpack File Preprocessing
441
461
442
462
If you are using a file preprocessor which is building for the browser environment, such as Webpack, you will need to make sure usage of `fs` is handled since it is used within the cypress-firebase plugin. To do this with webpack, add the following to your config:
0 commit comments