Skip to content
Snippets Groups Projects
Commit 9ed9384e authored by jurgenhaas's avatar jurgenhaas
Browse files

Browser based tests are now using the prepared CSS in the theme path of the PHP container

Behat, Backstop and Cypress as browser based tests are now working in a sequence and not parallel anymore
parent 98b6b682
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,13 @@
dependencies:
- 'Build Site'
.test_lakedrops_theme: &test_lakedrops_theme
before_script:
- DIR=$(dc exec php pwd)
- dc cp ${THEME_CSS_PATH} php:${DIR}/${THEME_CSS_PATH}
after_script:
- dc exec php rm -rf ${THEME_CSS_PATH}
Test Code Style:
<<: *test_lakedrops_default
script:
......@@ -46,6 +53,7 @@ Test PHPUnit:
Test Behat:
<<: *test_lakedrops_default
<<: *test_lakedrops_theme
needs:
- job: Build Site
- job: Import DB
......@@ -72,6 +80,7 @@ Test Behat:
Test Backstop:
<<: *test_lakedrops_default
<<: *test_lakedrops_theme
needs:
- job: Build Site
- job: Build Theme
......@@ -83,12 +92,9 @@ Test Backstop:
optional: true
- job: Update DB
optional: true
- job: Test Behat
optional: true
script:
- DIR=$(dc exec php pwd)
- echo $DIR
- docker exec fingrp_develop-php-1 ls -lisa web/themes/contrib/allianz
- dc cp ${THEME_CSS_PATH} php:${DIR}/${THEME_CSS_PATH}
- docker exec fingrp_develop-php-1 ls -lisa web/themes/contrib/allianz
- backstop test
artifacts:
name: backstop
......@@ -103,6 +109,7 @@ Test Backstop:
Test Cypress E2E:
<<: *test_lakedrops_default
<<: *test_lakedrops_theme
needs:
- job: Build Site
- job: Build Theme
......@@ -114,6 +121,10 @@ Test Cypress E2E:
optional: true
- job: Update DB
optional: true
- job: Test Behat
optional: true
- job: Test Backstop
optional: true
script:
- tests/cypress-run
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment