We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now the RegExp for wildcard parameters requires the wildcard to be exact
Using your example:
cy.visit({ route: 'team.dashboard', parameters: { team: 1 } });
This will replace following /teams/{team}/dashboard to /teams/1/dashboard
/teams/{team}/dashboard
/teams/1/dashboard
What if you have a route that have optional parameters
cy.visit({ route: 'team.dashboard.style', parameters: { team: 1, style: 3 } });
/teams/{team}/dashboard/{style?} to /teams/1/dashboard/%7Bstyle%7D
/teams/{team}/dashboard/{style?}
/teams/1/dashboard/%7Bstyle%7D
The text was updated successfully, but these errors were encountered:
I have fixed this in following pull request #76. I made this pull request since i'm already using this fix on my codebase.
Sorry, something went wrong.
No branches or pull requests
Right now the RegExp for wildcard parameters requires the wildcard to be exact
Using your example:
This will replace following
/teams/{team}/dashboard
to/teams/1/dashboard
What if you have a route that have optional parameters
/teams/{team}/dashboard/{style?}
to/teams/1/dashboard/%7Bstyle%7D
The text was updated successfully, but these errors were encountered: