Skip to content
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

Testing non-English Drupal sites #351

Open
killes opened this issue Feb 2, 2017 · 2 comments
Open

Testing non-English Drupal sites #351

killes opened this issue Feb 2, 2017 · 2 comments
Labels

Comments

@killes
Copy link

killes commented Feb 2, 2017

It seems that currently it is considered get practice to speficy translated field names/labels in the behat.yml file. Otherwise a simple login test will fail.

I guess, the login test could use the form ids instead of the labels, but I guess there is a preference for the labels.

I find this cumbersome and would like to propose the following: The functions that check the presence of strings should use the existing Drupal translations. This would make sure that tests aren't affected by translation changes and also not by a translation of a previously untranslated English term.

Does anybody have an opinion on the matter and/or suggestions for implementation?

@jhedstrom
Copy link
Owner

There is some other discussion that provides some workarounds: #93, #184, #249.

@leymannx
Copy link

I'd close this in favor of #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants