Added CI OTRS import browser test.

This commit is contained in:
Thorsten Eckel 2016-01-15 13:45:38 +01:00
parent 121d96a3b9
commit 766b29eed6

View file

@ -131,6 +131,7 @@ job_integration_otrs_5:
stage: test
tags:
- core
- OTRS
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz599.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
@ -143,6 +144,7 @@ job_integration_otrs_4:
stage: test
tags:
- core
- OTRS
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz383.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
@ -155,6 +157,7 @@ job_integration_otrs_33:
stage: test
tags:
- core
- OTRS
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz305.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
@ -167,6 +170,7 @@ job_integration_otrs_32:
stage: test
tags:
- core
- OTRS
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz382.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
@ -179,6 +183,7 @@ job_integration_otrs_31:
stage: test
tags:
- core
- OTRS
script:
- export RAILS_ENV=test
- export IMPORT_OTRS_ENDPOINT="http://vz381.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
@ -402,3 +407,21 @@ job_integration_facebook_chrome:
- script/build/test_startup.sh $RAILS_ENV $BROWSER_PORT $WS_PORT
- ruby -I test/ test/integration/facebook_browser_test.rb || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1
- script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT
job_integration_otrs_chrome:
stage: browser
tags:
- browser-chrome
- OTRS
script:
- export BROWSER_PORT=4061
- export WS_PORT=4062
- export IMPORT_BT_OTRS_ENDPOINT="http://vz599.demo.znuny.com/otrs/public.pl?Action=ZammadMigrator"
- export IMPORT_BT_OTRS_ENDPOINT_KEY="01234567899876543210"
- export BROWSER_URL=http://$IP:$BROWSER_PORT
- RAILS_ENV=test rake db:create
- script/bootstrap.sh
- rake assets:precompile
- script/build/test_startup.sh $RAILS_ENV $BROWSER_PORT $WS_PORT
- ruby -I test/ test/integration/otrs_import_browser_test.rb || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1
- script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT