Amazon Pay integration for OXID eShop 6.1 until 6.5.
- Official German Amazon Pay for OXID documentation
- Official English Amazon Pay for OXID documentation
- b-6.1.x module branch is compatible with OXID eShop compilation 6.1 and higher
- see Official documentation
List of Limitations could be found in
- german Documentation Limitations
- english Documentation Limitations
Warning: Running tests will reset the shop.
- Ensure test_config.yml is configured:
* ``` activate_all_modules: true run_tests_for_shop: false run_tests_for_modules: true
-
- For codeception tests to be running, selenium server should be available, several options to solve this:
- Use OXID official vagrant box environment.
- Use OXID official docker sdk configuration.
- Use other preconfigured containers, example:
image: 'selenium/standalone-chrome-debug:3.141.59'
- we are using grunt
- currently grunt is not installed in php container
- so install it on your host system: https://gruntjs.com/getting-started
sudo npm install -g grunt-cli
cd source/modules/osc/amazonpay/resources
- npm install grunt --save-dev
- using: grunt
cd source/modules/osc/amazonpay/resources
grunt
# this command compiles the sass => out/src/css/* and the out/src/js/*
Running phpunit tests:
vendor/bin/runtests
Running phpunit tests with coverage reports (report is generated in .../amazonpay/Tests/reports/
directory):
XDEBUG_MODE=coverage vendor/bin/runtests-coverage
Running codeception tests default way (Host: selenium, browser: chrome):
vendor/bin/runtests-codeception
Running codeception tests example with specific host/browser/testgroup:
SELENIUM_SERVER_HOST=seleniumchrome BROWSER_NAME=chrome vendor/bin/runtests-codeception --group=examplegroup