Open hasanzade-hasan opened 1 year ago
Consider following test cases:
SETUP: upload plugin (move unzipped plugin source code to core's /custom/plugins/
directory)
plugin:zip-import
- Imports a plugin from a zip file, see shopware 6 commands
SETUP: configure plugin to add keys, and set provided options
system:config:get | Get a config value
system:config:set | Set a config value
Test Login&Sign-up settings are configured:
SETUP: assign payment methods to (Storefront) sales channel
Admin Panel:
https://developer.shopware.com/docs/resources/references/core-reference/commands-reference
bin/console system:config:set -j core.loginRegistration.showBirthdayField false
Requirements
If a payment method's flow depends on a specific configuration option, in a different context, set that configuration option and test that flow.
If you don't have access to modify the configuration options, then this can be tricky.
Test plugin installation
Test configuration options
An example test case can be to fill in the information, check-in a radio box or checkbox then refresh the page. Page should expect those values to be seen or checked in, selected etc...