-
Notifications
You must be signed in to change notification settings - Fork 103
fix(cypress-commands): make the options optional for clickUi5ListItemByText #7316
New issue
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
fix(cypress-commands): make the options optional for clickUi5ListItemByText #7316
Conversation
Pull Request Test Coverage Report for Build 14933587679Details
💛 - Coveralls |
…tional {} Set the default options to `{force: true}` to mimic the behavior as before
6709f44
to
2f284f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Jianrong-Yu
thanks a lot for your contribution, it's really appreciated!
Adding the options
parameter in the type definitions was an oversight. Initially, I planned to remove it again since force: true
doesn't work, but we can definitely keep it for the other options. The type just needs to reflect that (please see my comment below).
…clickUi5ListItemByText
🎉 This PR is included in version v2.11.0-rc.0 🎉 The release is available on v2.11.0-rc.0 Your semantic-release bot 📦🚀 |
🎉 This PR is included in version v2.10.1 🎉 The release is available on v2.10.1 Your semantic-release bot 📦🚀 |
In the last commit for
cypress-commands/src/commands.ts
, newoptions
parameter is added as a mandatory parameter for functionclickUi5ListItemByText
but it's not used.It should be optional as other functions and the default value should be
{}
.Pull Request Checklist