MinkExtension icon indicating copy to clipboard operation
MinkExtension copied to clipboard

fillField fails with longer text

Open greg606 opened this issue 9 years ago • 1 comments

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)

greg606 avatar Apr 07 '16 12:04 greg606

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?

aik099 avatar Apr 07 '16 12:04 aik099