mstdmstd
Новичок
Всем привет,
В Laravel 5.5.35 делаю тесты:
И получаю ошибку в консоле :
Как раз с указанием на строку
И кнопка есть
https://imgur.com/a/ZQ65p
Что-то не настроено с браузером по умолчанию ?
Спасибо!
В Laravel 5.5.35 делаю тесты:
PHP:
$this->browse(function ($first, $second) {
$first->loginAs(User::find(5))
->visit('/admin/dashboard#/admin/user_chat_run/1')
->waitFor('.chat-composer',2);
$second->loginAs(User::find(6))
->visit('/admin/dashboard#/admin/user_chat_run/1')
->waitFor('.chat-composer',2)
->type('#new_user_chat_new_message', 'Hey Taylor') // input / textarea where text would be entered
->press('Send'); // Send - text of button ?
// ->press('#btn_new_message_send'); // btn_new_message_send - id of button ?
$first->waitForText('Hey Taylor')
->assertSee('Jeffrey Way');
});
И получаю ошибку в консоле :
Код:
1) Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\UnknownServerException: unknown error: Element <button id="btn_new_message_send" name="btn_new_message_send" class="btn btn-primary">...</button> is not clickable at point (702, 517). Other element would receive the click: <div class="phpdebugbar-header phpdebugbar-mini-design">...</div>
(Session info: headless chrome=64.0.3282.186)
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.13.0-36-generic x86_64)
Как раз с указанием на строку
PHP:
->press('Send');
И кнопка есть
https://imgur.com/a/ZQ65p
Что-то не настроено с браузером по умолчанию ?
Спасибо!