Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MetaGer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
open-source
MetaGer
Commits
23a68595
Commit
23a68595
authored
May 03, 2019
by
Dominik Hebeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing ci
parent
17d025ea
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
.gitlab-ci.yml
.gitlab-ci.yml
+3
-0
test.sh
test.sh
+1
-4
tests/Feature/StaticPagesTest.php
tests/Feature/StaticPagesTest.php
+2
-2
No files found.
.gitlab-ci.yml
View file @
23a68595
...
...
@@ -55,6 +55,9 @@ test metager3:
script
:
-
cd ~/MetaGer_neu
-
sh test.sh
after_script
:
-
kill $browserstackPid
-
kill $servePid
deploy metager3
:
stage
:
deploy
...
...
test.sh
View file @
23a68595
...
...
@@ -13,7 +13,4 @@ servePid=$!
browserstackPid
=
$!
sleep
5
./vendor/bin/phpunit
kill
$browserstackPid
kill
$servePid
\ No newline at end of file
./vendor/bin/phpunit
\ No newline at end of file
tests/Feature/StaticPagesTest.php
View file @
23a68595
...
...
@@ -41,7 +41,7 @@ class StaticPagesTest extends TestCase
private
function
startPageTest
()
{
$this
->
webdriver
->
get
(
"http://localhost"
);
$this
->
webdriver
->
get
(
$mgServer
);
# Test for Page Title
$this
->
assertEquals
(
$this
->
webdriver
->
getTitle
(),
"MetaGer - Mehr als eine Suchmaschine"
);
...
...
@@ -57,7 +57,7 @@ class StaticPagesTest extends TestCase
*/
private
function
navigationMenuTest
()
{
$this
->
webdriver
->
get
(
"http://localhost"
);
$this
->
webdriver
->
get
(
$mgServer
);
// Check if the Navigation menu expands on click
$sidebarToggle
=
$this
->
webdriver
->
findElement
(
WebDriverBy
::
cssSelector
(
"label[for=sidebarToggle]"
));
...
...
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