Skip to content

Commit 0758ca0

Browse files
authored
Merge pull request #694 from magento/3.0.0-RC2
3.0.0 rc2 >>> develop
2 parents 254551d + b525101 commit 0758ca0

File tree

88 files changed

+2881
-1182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2881
-1182
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: php
22
php:
3-
- 7.2
43
- 7.3
4+
- 7.4
55
services:
66
- docker
77
before_install:

CHANGELOG.md

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,69 @@
11
Magento Functional Testing Framework Changelog
22
================================================
3-
3.0.0
4-
-----
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+
32+
### GitHub Issues/Pull Requests
33+
34+
* [#567](https://github.com/magento/magento2-functional-testing-framework/pull/567) -- log attachments for failed requests.
35+
36+
3.0.0 RC1
37+
---------
38+
39+
### Enhancements
40+
41+
* Customizability
42+
* Introduced MFTF helpers `<helper>` to create custom actions outside of MFTF.
43+
* Removed deprecated actions `<executeSelenium>` and `<performOn>`.
44+
* Maintainability
45+
* Schema updates for test entities to only allow single entity per file except Data and Metadata.
46+
* Support for sub-folders in test modules.
47+
* Removed support to read test entities from `<magento>dev/tests/acceptance/tests/functional/Magento/FunctionalTest`.
48+
* Removed support for PHP 7.0 and 7.1.
49+
* Removed file attribute for `<module>` in suiteSchema.
50+
* Traceability
51+
* Removed `--debug` option NONE to disallow ability to turn off schema validation.
52+
* Notices added for test entity naming convention violations.
53+
* Metadata file names changed to `*Meta.xml`.
54+
* Readability
55+
* Support only nested assertion syntax [See assertions page for details](./docs/test/assertions.md)
56+
* Upgrade scripts added to upgrade tests to MFTF major version requirements. See upgrade instructions below.
57+
* Bumped dependencies to latest possible versions.
58+
59+
### Fixes
60+
61+
* Throw exception during generation when leaving out .url for `amOnPage`.
62+
* `request_timeout` and `connection_timeout` added to functional.suite.yml.dist.
63+
* Fixed `ModuleResolver` to resolve test modules moved out of deprecated path.
64+
565
### Upgrade Instructions
66+
667
* Run `bin/mftf reset --hard` to remove old generated configurations.
768
* Run `bin/mftf build:project` to generate new configurations.
869
* Run `bin/mftf upgrade:tests`. [See command page for details](./docs/commands/mftf.md#upgradetests).

bin/functional

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
set -e
55

66
echo "==============================="
7-
echo " EXECUTE DevDocsTest "
7+
echo " EXECUTE Functional Tests "
88
echo "==============================="
99
bin/mftf build:project
1010
bin/mftf run:test DevDocsTest -f
11+
bin/mftf run:test FormatCurrencyTest -f

composer.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,44 @@
99
"sort-packages": true
1010
},
1111
"require": {
12-
"php": "~7.2.0||~7.3.0",
12+
"php": "^7.3",
1313
"ext-curl": "*",
1414
"ext-dom": "*",
1515
"ext-json": "*",
1616
"ext-openssl": "*",
17-
"allure-framework/allure-codeception": "~1.3.0",
17+
"ext-intl": "*",
18+
"allure-framework/allure-codeception": "~1.4.0",
1819
"aws/aws-sdk-php": "^3.132",
19-
"codeception/codeception": "~2.4.5",
20-
"composer/composer": "^1.6",
20+
"codeception/codeception": "~4.1.4",
21+
"codeception/module-asserts": "^1.1",
22+
"codeception/module-sequence": "^1.0",
23+
"codeception/module-webdriver": "^1.0",
24+
"composer/composer": "^1.9",
2125
"csharpru/vault-php": "~3.5.3",
2226
"csharpru/vault-php-guzzle6-transport": "^2.0",
23-
"monolog/monolog": "^1.0",
27+
"monolog/monolog": "^1.17",
2428
"mustache/mustache": "~2.5",
2529
"php-webdriver/webdriver": "^1.8.0",
2630
"symfony/console": "^4.4",
27-
"symfony/finder": "^4.4",
31+
"symfony/finder": "^5.0",
2832
"symfony/mime": "^5.0",
2933
"symfony/process": "^4.4",
3034
"vlucas/phpdotenv": "^2.4"
3135
},
3236
"require-dev": {
33-
"squizlabs/php_codesniffer": "~3.2",
34-
"sebastian/phpcpd": "~3.0 || ~4.0",
3537
"brainmaestro/composer-git-hooks": "^2.3.1",
36-
"doctrine/cache": "<1.7.0",
37-
"codeception/aspect-mock": "^3.0",
38-
"goaop/framework": "2.2.0",
3938
"codacy/coverage": "^1.4",
40-
"phpmd/phpmd": "^2.6.0",
41-
"phpunit/phpunit": "~6.5.0 || ~7.0.0",
42-
"rregeer/phpunit-coverage-check": "^0.1.4",
39+
"codeception/aspect-mock": "^3.0",
40+
"doctrine/cache": "<1.7.0",
41+
"goaop/framework": "~2.3.4",
4342
"php-coveralls/php-coveralls": "^1.0",
43+
"phpmd/phpmd": "^2.8.0",
44+
"phpunit/phpunit": "^9.0",
45+
"rregeer/phpunit-coverage-check": "^0.1.4",
46+
"sebastian/phpcpd": "~5.0.0",
47+
"squizlabs/php_codesniffer": "~3.5.4",
4448
"symfony/stopwatch": "~3.4.6"
4549
},
46-
"suggest": {
47-
"epfremme/swagger-php": "^2.0"
48-
},
4950
"replace": {
5051
"facebook/webdriver": "^1.7.1"
5152
},

0 commit comments

Comments
 (0)