|
1 | 1 | Magento Functional Testing Framework Changelog
|
2 | 2 | ================================================
|
3 | 3 |
|
| 4 | +2.1.0 |
| 5 | +----- |
| 6 | +### Enhancements |
| 7 | +* Traceability |
| 8 | + * Severity in `<annotation>` tags now properly reflect Magento severity values. |
| 9 | +* Modularity |
| 10 | + * Added ability to pass in simple values to actionGroups via addition of `type` attribute in actionGroup `<argument>` declaration. |
| 11 | + * For examples, see devdocs article on actionGroups. |
| 12 | + * Merging resolution now depends on Magento instance's installed modules. This also means merging order now follows the expected module merging order. |
| 13 | +* Customizability |
| 14 | + * Added `<assertArrayIsSorted>` action. This action takes in an array of data and asserts that the array is properly sorted, according to the provided `sortOrder` |
| 15 | + * Added `<selectMultipleOptions>` action. This is a variation of `<searchAndSelectOptions>` that is given a `filterSelector`, `optionSelector`, and an `<array>` of options to select. |
| 16 | + * For a working sample, see `SearchAndMultiselectActionGroup.xml` under `Catalog` in magento2ce. |
| 17 | + * Test actions that deal with `<url...>` now utilize and grab the page's full url, not just the `/path?query#fragment` portion. |
| 18 | + * All `<assert...>` actions support a clearer, more readable nested syntax. |
| 19 | + * Both old and new syntax are supported. See devdocs `Assertions` article for examples. |
| 20 | + * Added support for overriding a data-entity's `field` values during test runtime, prior to persistence via `<createData>` actions. |
| 21 | + * Added `removeBackend="true"` attribute to `<operation>`. Only applicable to `operation` definitions of `type="adminFormKey"`, attribute prevents pre-pending of `MAGENTO_BACKEND_NAME` to the `url` specified. |
| 22 | + * Specific to use case where `adminFormKey` operations don't follow `MAGENTO_BASE_URL/MAGENTO_BACKEND_NAME/MAGENTO_BACKEND_NAME/API_URL` format. |
| 23 | +* Readability |
| 24 | + * Data Entities used in tests (`<test>`, `<page>`, `<section>`, `<element>`, `<data>`) now require alphanumeric naming. |
| 25 | +* Maintainability |
| 26 | + * Documentation for all test actions have been added to XML schema. Turning on documentation hinting will display relevant information while writing test XML. |
| 27 | + * All references to `.env` file contents are now resolved at test runtime, as opposed to generation. |
| 28 | + |
| 29 | +### Fixes |
| 30 | +* Fixed an issue with using the character `-` in parameterized selector references. |
| 31 | + * Users should now be able to use any characters except for `'` when providing a `'stringLiteral'` to a parameterized selector/url. |
| 32 | +* Fixed an issue where entity substitution was not enabled in all `<assert...>` test actions. |
| 33 | + |
| 34 | +### GitHub Issues/Pull requests: |
| 35 | +* [#37](https://github.com/magento/magento2-functional-testing-framework/issues/37) -- Unable to make API requests using self signed certificate to HTTPS domain (fixed in [#39](https://github.com/magento/magento2-functional-testing-framework/pull/39)) |
| 36 | + |
4 | 37 | 2.0.3
|
5 | 38 | -----
|
6 | 39 | ### Enhancements
|
|
0 commit comments