-
Notifications
You must be signed in to change notification settings - Fork 132
Adding 2 tips to Tips and Tricks. #335
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
Conversation
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.
Looks good other than a small typo.
docs/tips-tricks.md
Outdated
`contains()` ignores whitespace while `text()` accounts for it. | ||
|
||
**Why?** | ||
If you are comparing text wihtin a selector and have an unexpected space, or a blank line above or below the string, `text()` will fail while the `contains(text())` format will catch it. |
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.
typo: wihtin should be within
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.
Good eye.
Description
Adding two new tips to the Tips and Tricks page.
https://devdocs.magento.com/mftf/docs/tips-tricks.html