Skip to content

E2E Commands

You are viewing the next version (v6.7) of the documentation.
Click here to switch to the stable version (v6.6), or use the version switcher on the left to navigate between versions.

E2E Commands

CommandDescription
bin/console e2e:restore-dbSets Shopware back to state of the backup
APP_ENV=e2e bin/console e2e:dump-dbCreates a backup of Shopware's database
composer run e2e:setupPrepares Shopware installation and environment for Cypress usage
composer run e2e:openOpens Cypress' e2e tests runner
composer run e2e:prepareInstall dependencies and prepare database for Cypress usage
composer e2e:cypress -- run --spec="cypress/e2e/administration/**/*.cy.js"Runs Cypress' admin e2e tests in CLI
composer e2e:cypress -- run --spec="cypress/e2e/storefront/**/*.cy.js"Runs Cypress' storefront e2e tests in CLI