Skip to content

Commit 185cd0d

Browse files
authored
Merge pull request #352 from magento-gl/MFTF-4.5.0-RC
ACQE-5822 : MFTF 4.5.0 Release Checklist.
2 parents 57331ea + 62a3f79 commit 185cd0d

File tree

9 files changed

+23
-9
lines changed

9 files changed

+23
-9
lines changed

Diff for: .github/.metadata.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
{
2-
"templateVersion": "0.1",
2+
"templateVersion": "0.2",
33
"product": {
44
"name": "Magento2 Functional Testing Framework (MFTF)",
55
"description": "MFTF is a framework to write and execute UI Functional tests for Magento 2 projects"
66
},
77
"contacts": {
88
"team": {
9-
"name": "Magento Quality Engineering / Pangolin",
9+
"name": "Adobe Commerce Quality Engineering / Pangolin",
1010
"DL": "GRP-Pangolin",
1111
"slackChannel": "mftf"
1212
}
1313
},
1414
"ticketTracker": {
1515
"functionalJiraQueue": {
16-
"projectKey": "MQE",
16+
"projectKey": "ACQE",
1717
"component": "Framework - MFTF"
1818
},
1919
"securityJiraQueue": {
2020
"projectKey": "MAGREQ",
2121
"component": "Test Infrastructure"
2222
}
2323
},
24+
"productionCodeBranches": ["master"],
2425
"staticScan": {
2526
"enable": true,
2627
"frequency": "monthly",

Diff for: CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Magento Functional Testing Framework Changelog
22
================================================
3+
4.5.0
4+
---------
5+
### Enhancements
6+
* Increase browser resolution to 1920x1080.
7+
* Add metadata to ACQE Repositories.
8+
* Add magento admin password to credentials example.
9+
10+
### Fixes
11+
* Fixed test failure while running any test suite with an argument.
312

413
4.4.2
514
---------

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/magento2-functional-testing-framework",
33
"description": "Magento2 Functional Testing Framework",
44
"type": "library",
5-
"version": "4.4.2",
5+
"version": "4.5.0",
66
"license": "AGPL-3.0",
77
"keywords": ["magento", "automation", "functional", "testing"],
88
"config": {

Diff for: composer.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: etc/config/.credentials.example

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
magento/tfa/OTP_SHARED_SECRET
2+
magento/MAGENTO_ADMIN_PASSWORD
23

34
#magento/carriers_fedex_account=
45
#magento/carriers_fedex_meter_number=

Diff for: etc/config/.env.example

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ SELENIUM_CLOSE_ALL_SESSIONS=true
2424

2525
#*** Browser for running tests, default chrome. Uncomment and change if you want to run tests on another browser (ex. firefox).
2626
BROWSER=chrome
27+
WINDOW_WIDTH=1920
28+
WINDOW_HEIGHT=1080
2729

2830
#*** Uncomment and set host & port if your dev environment needs different value other than MAGENTO_BASE_URL for Rest API Requests ***#
2931
#MAGENTO_RESTAPI_SERVER_HOST=restapi.magento.com

Diff for: etc/config/functional.suite.dist.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ modules:
2424
backend_name: "%MAGENTO_BACKEND_NAME%"
2525
browser: 'chrome'
2626
restart: true
27-
window_size: 1280x1024
27+
window_size: 1920x1080
2828
username: "%MAGENTO_ADMIN_USERNAME%"
2929
password: "%MAGENTO_ADMIN_PASSWORD%"
3030
pageload_timeout: "%WAIT_TIMEOUT%"
@@ -38,4 +38,4 @@ modules:
3838
capabilities:
3939
unhandledPromptBehavior: "ignore"
4040
chromeOptions:
41-
args: ["--no-sandbox", "--window-size=1280,1024", "--disable-extensions", "--enable-automation", "--disable-gpu", "--enable-Passthrough", "--disable-dev-shm-usage", "--ignore-certificate-errors", "--disable-component-update", "--disable-features=OptimizationHints","--disable-background-networking","--disable-domain-reliability","--disable-breakpad"]
41+
args: ["--no-sandbox", "--window-size=1920,1080", "--disable-extensions", "--enable-automation", "--disable-gpu", "--enable-Passthrough", "--disable-dev-shm-usage", "--ignore-certificate-errors", "--disable-component-update", "--disable-features=OptimizationHints","--disable-background-networking","--disable-domain-reliability","--disable-breakpad"]

Diff for: src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
231231
$testManifest->createTestGroups($configNumber);
232232
}
233233

234+
SuiteGenerator::getInstance()->generateAllSuites($testManifest);
235+
234236
$testManifest->generate();
235237

236-
SuiteGenerator::getInstance()->generateAllSuites($testManifest);
238+
SuiteGenerator::getInstance()->generateTestgroupmembership($testManifest);
237239
} catch (\Exception $e) {
238240
if (!empty(GenerationErrorHandler::getInstance()->getAllErrors())) {
239241
GenerationErrorHandler::getInstance()->printErrorSummary();

Diff for: src/Magento/FunctionalTestingFramework/Suite/SuiteGenerator.php

-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public static function getInstance(): SuiteGenerator
9595
*/
9696
public function generateAllSuites($testManifest)
9797
{
98-
$this->generateTestgroupmembership($testManifest);
9998
$suites = $testManifest->getSuiteConfig();
10099

101100
foreach ($suites as $suiteName => $suiteContent) {

0 commit comments

Comments
 (0)