Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edmondscommerce/behat-magento-2-context
https://github.com/edmondscommerce/behat-magento-2-context
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/edmondscommerce/behat-magento-2-context
- Owner: edmondscommerce
- Created: 2016-07-29T10:34:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-22T10:19:29.000Z (about 6 years ago)
- Last Synced: 2024-03-25T00:42:33.616Z (8 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Magento Two Context
## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)Behat contexts to aid testing of Magento 2.x sites on both the frontend and admin via blackbox methods only
### Installation
Install via composer
composer require edmondscommerce/behat-magento-2-context
### Include Contexts in Behat Configuration
```
default:
# ...
suites:
default:
# ...
contexts:
- # ...
- EdmondsCommerce\BehatMagentoTwoContext\ProductContext
- EdmondsCommerce\BehatMagentoTwoContext\CheckoutContext
- EdmondsCommerce\BehatMagentoTwoContext\AdminContext
parameters:
magentoSettings:
adminUri: admin/
userName: admin
password: password
simpleUri: fusion-backpack.html
bundleUri: pillow-and-throw-set.html
configurableUri: lafayette-convertible-dress.html
groupedUri: vase-set.html
successPageTitle: Success Page```
The context assumes that for Admin panel is using the default theme and the front end theme is largely based on the luma theme.