Skip to content
Snippets Groups Projects
Unverified Commit 82b6d2b3 authored by snipe's avatar snipe
Browse files

Fixed a few more tests

parent c5e587f3
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# REQUIRED: BASIC APP SETTINGS
# --------------------------------------------
APP_ENV=testing-ci
APP_DEBUG=true
APP_DEBUG=false
APP_KEY=ChangeMe
APP_URL=http://localhost:8000
APP_TIMEZONE='US/Pacific'
......
......@@ -10,10 +10,10 @@
<link rel="shortcut icon" type="image/ico" href="{{ ($snipeSettings) && ($snipeSettings->favicon!='') ? Storage::disk('public')->url('').e($snipeSettings->favicon) : 'favicon.ico' }} ">
{{-- stylesheets --}}
<link rel="stylesheet" href="{{ mix('css/all.css') }}">
<link rel="stylesheet" href="{{ url('css/all.css') }}">
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">
<link rel="stylesheet" href="{{ url('css/dist/all.css') }}">
<link rel="shortcut icon" type="image/ico" href="{{ url(asset('favicon.ico')) }}">
......
......@@ -11,7 +11,7 @@ class_name: AcceptanceTester
modules:
enabled:
- WebDriver:
url: 'https://snipe-it.dev:1337'
url: 'https://snipe-it.local:8890'
browser: 'firefox'
- \Helper\Acceptance
- Laravel5:
......
<?php
$I = new AcceptanceTester($scenario);
$I->wantTo('sign in');
$I->amOnPage('/login');
$I->see('Please Login');
$I->seeElement('input[type=text]');
$I->seeElement('input[type=password]');
<?php
class LoginCest
{
public function _before(AcceptanceTester $I)
{
}
// tests
public function tryToTest(AcceptanceTester $I)
{
$I->wantTo('sign in');
$I->amOnPage('/login');
$I->see(trans('auth/general.login_prompt'));
$I->seeElement('input[type=text]');
$I->seeElement('input[type=password]');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment