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
This option and apparently a few other ones are not documented and are also not available in the Typescript definition (cli/types/index.d.ts) (so cannot be used when using Typescript).
Desired behavior:
Having at least the Typescript definition updated, and if possible a line in the documentation about this option.
The code for this is done in cypress-io/cypress#4109, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Current behavior:
cy.server
command has a really useful optiononAnyRequest
. Which is really practical to inject headers or do other stuff.Here is blog post describing how it can be used : https://medium.com/agilix/cypress-testing-include-custom-http-header-on-each-http-request-2b3693813e97
This option and apparently a few other ones are not documented and are also not available in the Typescript definition (
cli/types/index.d.ts
) (so cannot be used when using Typescript).Desired behavior:
Having at least the Typescript definition updated, and if possible a line in the documentation about this option.
Steps to reproduce: (app code and test code)
This will not work when using typescript, it works with js.
Versions
Cypress 3.2.0
The text was updated successfully, but these errors were encountered: