Created browser test, updated view

This commit is contained in:
Gregorio Chiko Putra
2019-05-11 13:16:33 +07:00
parent c66f26457e
commit 0777268f3e
10 changed files with 304 additions and 4 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',
];
}
}