Skip to content

E2E Commands

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