Skip to content

Commit

Permalink
TRACKING-577 add more random demo data to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stiegi committed Apr 13, 2021
1 parent 8704a77 commit 2ae7fae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helper/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ docker exec "$(docker ps -aqf 'name=shopware-test_app_server_1')" /bin/bash -c "
log_on_cmd "Installing Shopware6 inside Docker container..."
docker exec -u "${USER_GROUP_ID}" "$(docker ps -aqf 'name=shopware-test_app_server_1')" /bin/bash -c "./psh.phar install"

log_on_cmd "Create more demo data to make sure homepage has enough products for pagination to appear"
docker exec "$(docker ps -aqf 'name=shopware-test_app_server_1')" /bin/bash -c "APP_ENV=prod ./bin/console framework:demodata"

log_on_cmd "Install Cypress dependency 'xvfb' in Shopware6 app docker container..."
docker exec "$(docker ps -aqf 'name=shopware-test_app_server_1')" /bin/bash -c "apt-get update -y"
docker exec "$(docker ps -aqf 'name=shopware-test_app_server_1')" /bin/bash -c "apt-get install -y xvfb"
Expand Down

0 comments on commit 2ae7fae

Please sign in to comment.