Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
89dc99d
Use live-code-coverage to get Code Coverage
asbiin Jan 14, 2018
b6219b7
Mkdir coverage
asbiin Jan 14, 2018
54de2b5
Add test to pass Login form
asbiin Jan 14, 2018
481af45
Fix StyleCI
asbiin Jan 14, 2018
8dc5955
Add verbose option
asbiin Jan 15, 2018
1721666
Add waitForLinkText
asbiin Jan 15, 2018
e574ca1
Add FakeUserTableSeeder to environnement testing
asbiin Jan 15, 2018
b4a441b
Enhance tests
asbiin Jan 16, 2018
dd3ec55
Update composer
asbiin Jan 18, 2018
8ce05e7
Upload img capture and add comment to the PR
asbiin Jan 19, 2018
2db3a14
Update travis
asbiin Jan 19, 2018
3400788
Using submit instead of click
asbiin Jan 19, 2018
011e8f2
Add saucelabs
asbiin Jan 19, 2018
51233ee
Run one selenium instance only
asbiin Jan 19, 2018
5be9bdf
Using saucelabs
asbiin Jan 19, 2018
277a9a9
New try
asbiin Jan 19, 2018
e1e8963
using localhost to ping sauceconnect
asbiin Jan 19, 2018
e88cd55
Try adding capability
asbiin Jan 19, 2018
7bcfcd8
add new config travis
asbiin Jan 19, 2018
b8f4fd1
One quote !!
asbiin Jan 19, 2018
965256c
Add App_URL to env
asbiin Jan 19, 2018
343f5a8
Using SESSION_DRIVER=file
asbiin Jan 19, 2018
bc6a9ef
Run phpunit again, deactivate SAUCELABS
asbiin Jan 19, 2018
61df24f
Remove semicolons
asbiin Jan 19, 2018
de2cdfe
Remove fi
asbiin Jan 19, 2018
216d82e
Merge branch 'master' into ci/browser/add-code-coverage
asbiin Jan 19, 2018
e4abacd
Add runtests script
asbiin Jan 19, 2018
a8e7b6d
Update sig
asbiin Jan 19, 2018
f66892f
Use urldecode
asbiin Jan 19, 2018
650be06
Merge branch 'ci/browser/add-code-coverage' of github.com:monicahq/mo…
asbiin Jan 19, 2018
6fb71e8
Update travis script
asbiin Jan 19, 2018
7e71b3e
Fix steward lines
asbiin Jan 20, 2018
3d36f4d
Merge branch 'master' into ci/browser/add-code-coverage
asbiin Jan 22, 2018
202cfbc
Update scripts
asbiin Jan 22, 2018
e0d300d
Merge branch 'ci/browser/add-code-coverage' of github.com:monicahq/mo…
asbiin Jan 22, 2018
87e3750
Update composer
asbiin Jan 22, 2018
bb3f677
I can't chmod shell file right now
asbiin Jan 22, 2018
b209b2c
OK found howto chmod the file !
asbiin Jan 22, 2018
3e7879d
Bash is better
asbiin Jan 22, 2018
d5008b1
Fix root path
asbiin Jan 22, 2018
6119ffd
Update signatures
asbiin Jan 22, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add saucelabs
  • Loading branch information
asbiin committed Jan 19, 2018
commit 011e8f2b5cf9df97079d8d6d437fc3f7f1137c3f
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jdk:

addons:
chrome: stable
sauce_connect:
username: "asbiin"
jwt:
secure: "niuYhwCsFVUHS6DU3j0xi24habQOSqKpzo7qUlGmlx1x31wZNDrl+wfifeTVv6nnjoShyr4s6svn3ULl1K8tQMdyHJlO247WKMg/PSnaSUyll5+luuP5SLpV+USP8g9a7HAjU+jQO5uE/GXKDDQcD+o5dV6gv9stmc9u/np45kwgVx55bj013ll0M5qlyflJZFgp3b/M+bvqkvIFDPN2U7iFs0dkhqxBI+6qbTAN4aTtxPSPrsYdt9W8Re1suzy2/CJEEQ2xKE4zm7WQ2dg6BrpbaU2bdG6wWZUw2toA8iCyxFgbJUlXmAjPEQ5Wr+gWEQ9bLcwCIoHxUMIRbqY/SNzve7KnGXOUEF0yttyAv3aq9STA58Mr+H15zXdA5ZAwpE/tNojfaacEya/bg9fwUWOCqrPXIhwFirhf8oD2y8n+SWD27rP0qD9um9HGqGkh6bqFefIZi2xVzLya1r/2kxqFskrj+0xPjjKYwMwJIM5s7HyrtIxR7QTpFEbgHpZjCmT31I65ds56ec34wbZ0W61bm4aQAxz7UIedCYsTrqtTzTYxUJEht3/1D5FH0PSBWQACJmdjSHvh0pP7zzG2cqzq2IhHCSZjnhh6LGUPQtgZh3kq1fSP0Zw74iSVrxQETsGoPwYA6R38e+V39vV8yUHjMUXNPIhgcQQZHiZcEWI="

before_script:
- cp .env.travis .env
Expand Down
4 changes: 2 additions & 2 deletions tests/BrowserSelenium/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Tests\BrowserSelenium;

use Lmc\Steward\ConfigProvider;
use Facebook\WebDriver\WebDriverExpectedCondition;
use Lmc\Steward\Test\AbstractTestCase;
use Facebook\WebDriver\WebDriverExpectedCondition;

/**
* Abstract class for custom tests, could eg. define some properties or instantiate some common components in setUp().
Expand Down Expand Up @@ -65,7 +65,7 @@ public function initAndLogin()
$this->findById('email')->sendKeys('admin@admin.com');
$this->findById('password')->sendKeys('admin');
$this->findByTag('button')->submit();

$this->wd->wait()->until(
WebDriverExpectedCondition::urlContains('/dashboard')
);
Expand Down