I am working on CMS (PHPShop) what use WINDOWS-1251 (Cyrillic – I think it might be the reason of trouble)
I wrote symple test on page.
$I->see('Пожалуйста, оплатите свой заказ'); $I->see('Оплатить заказ №'); $I->seeElement('div', ['class' => 'order']); $I->seeElement('input', ['name' => 'token']); // here is the failer /** * Element located either by name, CSS or XPath element with input' with attribute(s) '"name":"token" was not found. */
If I do search on the page I can find this input with name “token” but test failed. I afraid it because not Unicode encoding problem am I right?