Download the PHP package nmfzone/laravel-behat-dusk without Composer
On this page you can find all versions of the php package nmfzone/laravel-behat-dusk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nmfzone/laravel-behat-dusk
More information about nmfzone/laravel-behat-dusk
Files in nmfzone/laravel-behat-dusk
Package laravel-behat-dusk
Short Description Seamlessly integrate Behat with Laravel Dusk
License MIT
Homepage https://github.com/nmfzone/laravel-behat-dusk
Informations about the package laravel-behat-dusk
Laravel Behat Dusk
Introduction
Seamlessly integrate Behat with Laravel Dusk.
Requirements
- PHP >= 7.1
Installation
If you want to change the default config, you must publish the config file:
Usage
I assume you're using this package for the first time you setup behat (so there is no behat.yml, etc).
- Run this command
php artisan behat-dusk:install
- Duplicate your
.env
to.env.behat
(optional). This will be the environment used by behat. - Adjust
behat.yml
as you wish - To run the test, run this command
php artisan behat
(it's just wrapper of the original behat command. It's automatically runphp artisan serve
for you, and stop it when test is done 🔥) - Enjoy!
Troubleshooting
-
Element is not clickable at (x, y)
If you're experiencing this issue, there is a high possibility that you're clicking an element that outside the viewport.
What does it means? It means your element isn't appears on your screen (maybe your element located in very bottom of the page), when the browser trying to click that element. So, of course it's impossible to click that element.
In the real usage, you're just scrolling the browser to bottom, until you see your element, right? Then, it's just the same here. You need to tell the browser, to scroll the browser to bottom, until it found the element.
Security
If you discover any security related issues, please email to [email protected] instead of using the issue tracker.
Credits
- Nabil M. Firdaus
- All contributors
License
The MIT License (MIT). Please see License File for more information.