Skip to content

Commit 01324d1

Browse files
soumyaudobooth
andauthored
MQE-2097: CHANGELOG.MD and Composer version bump (#687)
* MQE-1957: Entity Deprecation Reference - Static Check Documentation * MQE-2097: CHANGELOG.MD and Composer version bump Updated changelog * linting * Linting and grammar * MQE-2097: CHANGELOG.MD and Composer version bump doc updates and minor fixes Co-authored-by: Donald Booth <dobooth@adobe.com>
1 parent aee8ae5 commit 01324d1

File tree

2 files changed

+48
-3
lines changed

2 files changed

+48
-3
lines changed

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,39 @@
11
Magento Functional Testing Framework Changelog
22
================================================
3+
3.0.0 RC2
4+
---------
5+
6+
### Enhancements
7+
8+
* Maintainability
9+
* Added support for PHP 7.4.
10+
* Removed support for PHP 7.2.
11+
* Added support for PHPUnit 9.
12+
* Improved assertion actions to support PHPUnit 9 changes. [See assertions page for details](./docs/test/assertions.md)
13+
* Added new actions: `assertEqualsWithDelta`, `assertNotEqualsWithDelta`, `assertEqualsCanonicalizing`, `assertNotEqualsCanonicalizing`, `assertEqualsIgnoringCase`, `assertNotEqualsIgnoringCase`.
14+
* Added new actions: `assertStringContainsString`, `assertStringNotContainsString`, `assertStringContainsStringIgnoringCase`, `assertStringNotContainsStringIgnoringCase` for string haystacks.
15+
* Removed actions: `assertInternalType`, `assertNotInternalType`, `assertArraySubset`.
16+
* Removed delta option from `assertEquals` and `assertNotEquals`.
17+
* Removed action `pauseExecution` and added `pause`. [See actions page for details](./docs/test/actions.md#pause)
18+
* Removed action `formatMoney` and added `formatCurrency`. [See actions page for details](./docs/test/actions.md#formatcurrency)
19+
* Added new static check that checks and reports references to deprecated test entities.
20+
* Bumped dependencies to support PHP/PHPUnit upgrade.
21+
22+
* Traceability
23+
* Introduced new `.env` configuration `VERBOSE_ARTIFACTS` to toggle saving attachments in Allure. [See configuration page for details](./docs/configuration.md)
24+
25+
### Fixes
26+
27+
* Fixed issue of resolving arguments of type `entity` in action groups within a custom helper.
28+
* Fixed reporting issue in output file for `testDependencies` static check.
29+
* Fixed a bug in `actionGroupArguments` static check when action group filename is missing `ActionGroup`.
30+
* Fixed issue of running suites under root `_suite` directory in Standalone MFTF.
31+
332
3.0.0 RC1
433
---------
534

635
### Enhancements
36+
737
* Customizability
838
* Introduced MFTF helpers `<helper>` to create custom actions outside of MFTF.
939
* Removed deprecated actions `<executeSelenium>` and `<performOn>`.
@@ -23,11 +53,13 @@ Magento Functional Testing Framework Changelog
2353
* Bumped dependencies to latest possible versions.
2454

2555
### Fixes
56+
2657
* Throw exception during generation when leaving out .url for `amOnPage`.
2758
* `request_timeout` and `connection_timeout` added to functional.suite.yml.dist.
2859
* Fixed `ModuleResolver` to resolve test modules moved out of deprecated path.
2960

3061
### Upgrade Instructions
62+
3163
* Run `bin/mftf reset --hard` to remove old generated configurations.
3264
* Run `bin/mftf build:project` to generate new configurations.
3365
* Run `bin/mftf upgrade:tests`. [See command page for details](./docs/commands/mftf.md#upgradetests).

docs/commands/mftf.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -464,18 +464,31 @@ To run specific static check scripts
464464
```bash
465465
vendor/bin/mftf static-checks testDependencies
466466
```
467+
467468
```bash
468469
vendor/bin/mftf static-checks actionGroupArguments
469470
```
471+
472+
```bash
473+
vendor/bin/mftf static-checks deprecatedEntityUsage
474+
```
475+
476+
```bash
477+
vendor/bin/mftf static-checks deprecatedEntityUsage -p path/to/mftf/test/module
478+
```
479+
470480
```bash
471481
vendor/bin/mftf static-checks testDependencies actionGroupArguments
472482
```
473483

474484
#### Existing static checks
475485

476-
* Test Dependency: Checks that test dependencies do not violate Magento module's composer dependencies.
477-
* Action Group Unused Arguments: Checks that action groups do not have unused arguments.
478-
486+
| Argument | Description |
487+
|-----------------------|-----------------------------------------------------------------------------------------------------------|
488+
|`testDependencies` | Checks that test dependencies do not violate Magento module's composer dependencies.|
489+
|`actionGroupArguments` | Checks that action groups do not have unused arguments.|
490+
|`deprecatedEntityUsage`| Checks that deprecated test entities are not being referenced.|
491+
479492
### `upgrade:tests`
480493

481494
When the path argument is specified, this `upgrade` command applies all the major version MFTF upgrade scripts to a `Test Module` in the given path.

0 commit comments

Comments
 (0)