Skip to content

MFTF 2.3.10 - Merge to Master #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
84207fb
Fixed admin page url variables generation
Cristian101 Apr 2, 2018
f24ea28
MAGEDOC-3187: MFTF: Change the Contribution Guidelines link
dshevtsov Oct 8, 2018
59524a1
Merge pull request #248 from magento-devdocs/MAGEDOC-3187
KevinBKozan Oct 10, 2018
8964863
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 10, 2018
8d2e278
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 10, 2018
ae505fb
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 11, 2018
af01a97
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 11, 2018
d24d74c
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 12, 2018
ff1a22e
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 15, 2018
f01995c
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 15, 2018
82ed2ba
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 16, 2018
7543050
MQE-1260: Create RERUN_COUNT field in Jenkins MFTF Parameters section…
aljcalandra Oct 16, 2018
f0779ac
MQE-1227: "Required" attribute value is skipped for metadata (#249)
jilu1 Oct 19, 2018
0972b86
Removed unused variables
gy741 Oct 25, 2018
4c8b297
Merge pull request #256 from gy741/remove_dead_code
KevinBKozan Oct 25, 2018
6e25452
Split suite and default tests to different groups
okolesnyk Oct 28, 2018
9885925
Split suite and default tests to different groups
okolesnyk Oct 28, 2018
96842ba
Split suite and default tests to different groups
KevinBKozan Oct 29, 2018
1fddfb6
Merge pull request #251 from magento/MQE-1260
KevinBKozan Oct 29, 2018
8d2b2f5
Merge pull request #259 from magento/2.3.9
KevinBKozan Oct 30, 2018
825e8e9
MQE-1330: FT can not be executed for bundled extensions
KevinBKozan Oct 30, 2018
9f1c77f
Merge branch 'develop' of github.com:magento/magento2-functional-test…
okolesnyk Oct 31, 2018
12d3004
Merge pull request #78 from rocketweb/fix-admin-page-url-variable-gen…
okolesnyk Oct 31, 2018
1f8735d
MQE-1330: FT can not be executed for bundled extensions
KevinBKozan Nov 1, 2018
40f2cf8
MQE-1336: Add Changelog entry and bump composer version
KevinBKozan Nov 1, 2018
a9e04a7
Fix Element with no type attribute warnings
KevinBKozan Nov 1, 2018
839377e
Fix ModuleResolver windows compatibility
KevinBKozan Nov 5, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Magento Functional Testing Framework Changelog
================================================

2.3.10
-----
### Enhancements
* Maintainability
* Added new `mftf run:failed` commands, which reruns all failed tests from last run configuration.

### Fixes
* Fixed an issue where mftf would fail to parse test materials for extensions installed under `vendor`.
* Fixed a Windows compatibility issue around the use of Magento's `ComponentRegistrar` to aggregate paths.
* Fixed an issue where an `element` with no `type` would cause PHP warnings during test runs.

2.3.9
-----
### Fixes
* Logic for parallel execution were updated to split default tests and suites from running in one group.

2.3.8
-----
### Fixes
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

## Installation

For the installation guidelines and system requirements, read [Getting Started](https://devdocs.magento.com/mftf/2.3/getting-started.html).
For the installation guidelines and system requirements, refer to [Getting Started](https://devdocs.magento.com/mftf/2.3/getting-started.html).

## Contributing

We would appreciate your contributions to new components or new features, changes to the existing features, tests, documentation, specifications, bug fixes, optimizations, or just good suggestions.
Report about an issue or request features opening a GitHub issue.
Learn more about contributing in our [Contribution Guidelines](https://devdocs.magento.com/mftf/2.3/contribution-guidelines.html).
Learn more about contributing in our [Contribution Guidelines](.github/CONTRIBUTING.md).

If you want to participate in the documentation work, see [DevDocs Contributing](https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md).

Expand Down
2 changes: 1 addition & 1 deletion bin/mftf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ try {
try {
$application = new Symfony\Component\Console\Application();
$application->setName('Magento Functional Testing Framework CLI');
$application->setVersion('2.3.8');
$application->setVersion('2.3.10');
/** @var \Magento\FunctionalTestingFramework\Console\CommandListInterface $commandList */
$commandList = new \Magento\FunctionalTestingFramework\Console\CommandList;
foreach ($commandList->getCommands() as $command) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/magento2-functional-testing-framework",
"description": "Magento2 Functional Testing Framework",
"type": "library",
"version": "2.3.8",
"version": "2.3.10",
"license": "AGPL-3.0",
"keywords": ["magento", "automation", "functional", "testing"],
"config": {
Expand Down
102 changes: 58 additions & 44 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ public function testGetModulePathsAlreadySet()
public function testGetModulePathsAggregate()
{
$this->mockForceGenerate(false);
$this->setMockResolverClass(false, null, null, null, ["example" => "example" . DIRECTORY_SEPARATOR . "paths"]);
$this->setMockResolverClass(
false,
null,
null,
null,
["Magento_example" => "example" . DIRECTORY_SEPARATOR . "paths"]
);
$resolver = ModuleResolver::getInstance();
$this->setMockResolverProperties($resolver, null, [0 => "Magento_example"]);
$this->assertEquals(
Expand All @@ -79,7 +85,7 @@ public function testGetModulePathsLocations()
$this->mockForceGenerate(false);
$mockResolver = $this->setMockResolverClass(
true,
[0 => "magento_example"],
[0 => "example"],
null,
null,
["example" => "example" . DIRECTORY_SEPARATOR . "paths"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,14 @@ public function testSortWithSuites()
$actualResult = $testSorter->getTestsGroupedBySize($sampleSuiteArray, $sampleTestArray, 500);

// verify the resulting groups
$this->assertCount(4, $actualResult);
$this->assertCount(5, $actualResult);

$expectedResults = [
1 => ['test3'],
2 => ['test2','test5', 'test4'],
3 => ['mockSuite1_0', 'test1'],
4 => ['mockSuite1_1']
1 => ['mockSuite1_0'],
2 => ['mockSuite1_1'],
3 => ['test3'],
4 => ['test2','test5', 'test4'],
5 => ['test1'],
];

foreach ($actualResult as $groupNum => $group) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function __construct(array $commands = [])
'generate:tests' => new GenerateTestsCommand(),
'run:test' => new RunTestCommand(),
'run:group' => new RunTestGroupCommand(),
'run:failed' => new RunTestFailedCommand(),
'setup:env' => new SetupEnvCommand(),
'upgrade:tests' => new UpgradeTestsCommand(),
] + $commands;
Expand Down
Loading