Get Laravel Dusk installed using PhantomJS so it can work with Travis CI easily

This commit is contained in:
Jonny Barnes 2017-02-18 12:27:21 +00:00
parent db44423c2e
commit 94969e7f97
25 changed files with 314 additions and 1123 deletions

View file

@ -0,0 +1,20 @@
<?php
namespace Tests\Browser\Pages;
use Laravel\Dusk\Page as BasePage;
abstract class Page extends BasePage
{
/**
* Get the global element shortcuts for the site.
*
* @return array
*/
public static function siteElements()
{
return [
'@element' => '#selector',
];
}
}