{"id":24780446,"url":"https://github.com/webgriffe/shopware-e2e-test-demo","last_synced_at":"2025-07-12T16:03:05.245Z","repository":{"id":191386538,"uuid":"684449872","full_name":"webgriffe/shopware-e2e-test-demo","owner":"webgriffe","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-29T10:55:41.000Z","size":211,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-12T16:02:32.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webgriffe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-29T06:36:09.000Z","updated_at":"2024-04-17T09:18:46.000Z","dependencies_parsed_at":"2023-08-29T17:25:16.696Z","dependency_job_id":"3e70666b-ac85-45de-9061-e8e357206a79","html_url":"https://github.com/webgriffe/shopware-e2e-test-demo","commit_stats":null,"previous_names":["webgriffe/shopware-e2e-test-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webgriffe/shopware-e2e-test-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fshopware-e2e-test-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fshopware-e2e-test-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fshopware-e2e-test-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fshopware-e2e-test-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webgriffe","download_url":"https://codeload.github.com/webgriffe/shopware-e2e-test-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fshopware-e2e-test-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265016759,"owners_count":23698368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-29T10:30:50.371Z","updated_at":"2025-07-12T16:03:05.200Z","avatar_url":"https://github.com/webgriffe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shopware End-to-End Test Demo Project\n\nThis repository contains a Shopware 6 demo project with end-to-end tests.\n\n## Requirements\n\n* [PHP](https://www.php.net/) 8.2 with [extensions required by Shopware](https://docs.shopware.com/en/shopware-6-en/first-steps/system-requirements#environment)\n* [Composer](https://getcomposer.org/)\n* [Node.js](https://nodejs.org/it) 18.x with [npm](https://www.npmjs.com/)\n* [Symfony CLI](https://symfony.com/download)\n* [Docker](https://www.docker.com/)\n* [Docker Compose](https://docs.docker.com/compose/)\n\n## Installation\n\nInstall PHP dependencies:\n\n```bash\ncomposer install\n```\n\nInstall Node.js dependencies:\n\n```bash\nnpm install\n```\n\nCreate a `docker-compose.override.yml` file like the following and adapt it to fit your system:\n\n```yaml\nversion: '3'\n\nservices:\n###\u003e symfony/mailer ###\n  mailer:\n    image: schickling/mailcatcher\n    ports: [\"1025:1025\", \"1080:1080\"]\n###\u003c symfony/mailer ###\n\n###\u003e shopware/core ###\n  database:\n    ports:\n      - \"3306:3306\"\n    labels:\n      com.symfony.server.service-ignore: true\n###\u003c shopware/core ###\n\n###\u003e shopware/elasticsearch ###\n  opensearch:\n    ports:\n      - \"9200:9200\"\n###\u003c shopware/elasticsearch ###\n\n```\n\nStart development services with:\n\n```bash\ncomposer dev:start\n```\n\nThis command will:\n\n1. Start Docker Compose\n2. Start Symfony CLI proxy\n3. Start a Symfony CLI server for development on port `8000`\n4. Start a Symfony CLI server for end-to-end tests on port `8005`\n\nCreate an `.env.local` file like the following and adapt it to fit your system:\n\n```\nMAILER_DSN=smpt://127.0.0.1:1025\nAPP_ENV=dev\nAPP_URL=http://127.0.0.1:8000\nAPP_SECRET=ChangeMe\nBLUE_GREEN_DEPLOYMENT=0\nDATABASE_URL=mysql://shopware:!ChangeMe!@127.0.0.1/shopware\nOPENSEARCH_URL=http://127.0.0.1:9200\nSHOPWARE_ES_ENABLED=1\nSHOPWARE_ES_INDEXING_ENABLED=1\n\n```\n\nInstall Shopware on development database with:  \n\n```bash\nbin/console system:install --basic-setup\n```\n\nIf you enabled Elasticsearch, you need to run the following command to create the index:\n\n```bash\nbin/console es:index\n```\n\n## Prepare for end-to-end tests\n\nCreate an `.env.e2e.local` file like the following and adapt it to fit your system:\n\n```\nDATABASE_URL=mysql://root:!ChangeMe!@127.0.0.1:3306/shopware_e2e\n\n```\n\nThe `DATABASE_URL` env var in this file should point to a different database to use with end-to-end tests.\n\nThen prepare end-to-end tests database and dump with:\n\n```bash\ncomposer test:e2e:prepare\n```\n\nThis command will:\n\n1. Install Shopware on end-to-end tests database\n2. Disable first run wizard on that database\n3. Dump the end-to-end database to `var/dumps`. This dump will be imported before each end-to-end test run to isolate tests.\n\n## Run end-to-end tests\n\nWhen you have end-to-end database prepared you can run end-to-end tests with:\n\n```bash\ncomposer test:e2e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgriffe%2Fshopware-e2e-test-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebgriffe%2Fshopware-e2e-test-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgriffe%2Fshopware-e2e-test-demo/lists"}