MinkExtension
MinkExtension copied to clipboard
fillField fails with longer text
this code fails (this is javascript, selenium with phantomjs):
$randomEmail = md5(uniqid(rand(), true)).'@email.com';
$this->fillField($field, $randomEmail);
$this->assertFieldContains($field, $randomEmail);
with the following error:
The field "app_bundle_members_type[members][0][personalData][email]" value is "3fbba3dfbb710e97fd56", but "[email protected]" expected. (Behat\Mink\Exception\ExpectationException)
Doesn't look like bug in MinkExtension, but rather with a particular driver (or even PhantomJS bug). And therefore I suggest reporting in relevant Mink driver repo instead.
Does same problem happen if using real Selenium, not PhantomJS or with any other driver?