docs: Updated note / added keyword 'i18n'

This commit is contained in:
Jennifer Shehane
2017-08-22 16:34:49 -04:00
parent 404c8af917
commit 4ea1e89037
@@ -183,8 +183,8 @@ cy.get('.main').contains('New Post')
This is helpful when writing tests from the perspective of a user interacting with your app. They just know they want to click the button labeled "Submit", they have no idea that it has a `type` attribute of `submit`, or a CSS class of `my-submit-button`.
{% note warning Localization %}
If your app is translated into multiple languages, make sure you consider the implications of using user-facing text to find DOM elements!
{% note warning Internationalization %}
If your app is translated into multiple languages for i18n, make sure you consider the implications of using user-facing text to find DOM elements!
{% endnote %}
## When Elements Are Missing