jhedstrom / drupalextension

An integration layer between Behat, Mink Extension, and Drupal.
GNU General Public License v2.0
210 stars 192 forks source link

Approach for testing multi-lingual sites using the domain as the language selection method #249

Open nicrodgers opened 8 years ago

nicrodgers commented 8 years ago

Is anyone using the Behat Drupal Extension to test multi-lingual sites using the domain as the language selection method? How did you approach it?

Up until our, our multi-lingual site detected language based on path, but we now have to change to domain based detection. Our existing test suite works fine with path-based detection, but now we need to update it to work with domain-based.

I am wondering how best to approach it, specifically:

Any thoughts appreciated.

jhedstrom commented 6 years ago

Also related #184 and #93.

mathiasselleslach commented 6 years ago

@nicrodgers ,

Not sure if still relevant, but I was looking into the same a while back and used this as a base to go from: https://stackoverflow.com/a/13342710

leymannx commented 5 years ago

I'd close this in favor of I'd close this in favor of https://github.com/jhedstrom/drupalextension/issues/93