2017 © Pedro Peláez
 

package dusk-automation

Bringing dusks power outside the tests directory to automate web tasks.

image

naoray/dusk-automation

Bringing dusks power outside the tests directory to automate web tasks.

  • Thursday, February 8, 2018
  • by Naoray
  • Repository
  • 1 Watchers
  • 1 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 40 % Grown

The README.md

dusk-automation

Software License Total Downloads, (*1)

Laravel Dusk does an awesome job at testing frontend stuff. This packages aims to bring dusks power outside the tests directory to automate web tasks., (*2)

Install

Laravel 5.6+

composer require naoray/dusk-automation, (*3)

Laravel 5.5

composer require naoray/dusk-automation:1.0, (*4)

Usage

Make sure to create the storage directories listed in the configs., (*5)

use Laravel\Dusk\Browser;

class DoSomethingAutomated
{
    public function foo() {
        Dusk::browse(Browser $browser) {
            $browser->visit('some_website.com')
                ->assertSee('some website')
                ->press('#button')
                ->... // see laravel dusk docu for methods
        }
    }

Testing

Run the tests with:, (*6)

bash vendor/bin/phpunit, (*7)

Changelog

Please see CHANGELOG for more information what has changed recently., (*8)

Contributing

Please see CONTRIBUTING for details., (*9)

Security

If you discover any security-related issues, please email krishan.koenig@googlemail.com instead of using the issue tracker., (*10)

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

08/02 2018

dev-master

9999999-dev

Bringing dusks power outside the tests directory to automate web tasks.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Krishan Koenig

laravel automation dusk

08/02 2018

v1.1

1.1.0.0

Bringing dusks power outside the tests directory to automate web tasks.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Krishan Koenig

laravel automation dusk

08/02 2018

v1.0.1

1.0.1.0

Bringing dusks power outside the tests directory to automate web tasks.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Krishan Koenig

laravel automation dusk

22/01 2018

v1.0

1.0.0.0

Bringing dusks power outside the tests directory to automate web tasks.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Krishan Koenig

laravel automation dusk