Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
29573602
Commit
29573602
authored
Dec 16, 2017
by
Viral Solani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dusk and install browser kit test suite
parent
83714231
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
88 deletions
+0
-88
ExampleTest.php
tests/Browser/ExampleTest.php
+0
-22
HomePage.php
tests/Browser/Pages/HomePage.php
+0
-42
Page.php
tests/Browser/Pages/Page.php
+0
-20
.gitignore
tests/Browser/console/.gitignore
+0
-2
.gitignore
tests/Browser/screenshots/.gitignore
+0
-2
No files found.
tests/Browser/ExampleTest.php
deleted
100644 → 0
View file @
83714231
<?php
namespace
Tests\Browser
;
use
Laravel\Dusk\Browser
;
use
Tests\DuskTestCase
;
class
ExampleTest
extends
DuskTestCase
{
/**
* A basic browser test example.
*
* @return void
*/
public
function
testBasicExample
()
{
$this
->
browse
(
function
(
Browser
$browser
)
{
$browser
->
visit
(
'/'
)
->
assertSee
(
'Laravel'
);
});
}
}
tests/Browser/Pages/HomePage.php
deleted
100644 → 0
View file @
83714231
<?php
namespace
Tests\Browser\Pages
;
use
Laravel\Dusk\Browser
;
class
HomePage
extends
Page
{
/**
* Get the URL for the page.
*
* @return string
*/
public
function
url
()
{
return
'/'
;
}
/**
* Assert that the browser is on the page.
*
* @param Browser $browser
*
* @return void
*/
public
function
assert
(
Browser
$browser
)
{
//
}
/**
* Get the element shortcuts for the page.
*
* @return array
*/
public
function
elements
()
{
return
[
'@element'
=>
'#selector'
,
];
}
}
tests/Browser/Pages/Page.php
deleted
100644 → 0
View file @
83714231
<?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'
,
];
}
}
tests/Browser/console/.gitignore
deleted
100644 → 0
View file @
83714231
*
!.gitignore
tests/Browser/screenshots/.gitignore
deleted
100644 → 0
View file @
83714231
*
!.gitignore
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment