Skip to content

MFTF 2.3.7 - Merge to Master #241

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 23 commits into from
Oct 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8a1525c
MQE-1065: Persisted data are not resolved correctly when using with P…
jilu1 Sep 10, 2018
10c74aa
MQE-1065: Persisted data are not resolved correctly when using with P…
jilu1 Sep 13, 2018
f267432
MQE-1142: Use timeout value when waitForLoadingMaskToDisappear
jilu1 Sep 13, 2018
ded92ff
MQE-1065: Persisted data are not resolved correctly when using with P…
jilu1 Sep 14, 2018
b4a27e5
MQE-1248: Expose MFTF DEFAULT_TIMEZONE configuration in .env
KevinBKozan Sep 18, 2018
c4d3307
Merge pull request #225 from magento/MQE-1142
jilu1 Sep 18, 2018
d02fe0c
Merge pull request #222 from magento/MQE-1065
jilu1 Sep 18, 2018
66b6ecd
MQE-1040: MFTF standalone commands do not pass down constants correct…
aljcalandra Sep 18, 2018
214abd7
MQE-1142: Use timeout value when waitForLoadingMaskToDisappear
KevinBKozan Sep 20, 2018
67af7e0
MQE-1254: MFTF with Firefox fails due to getLog call (#229)
aljcalandra Sep 20, 2018
10a269e
MQE-1040: MFTF standalone commands do not pass down constants correct…
aljcalandra Sep 20, 2018
56440ef
MQE-1150: Test generation fails for arguments containing hyphen chara…
KevinBKozan Sep 25, 2018
1de0283
MQE-1148: Include Parent In Output Of Duplicate StepKey or Section El…
KevinBKozan Sep 25, 2018
54a61f8
MQE-1124: [Github Issue] Allow running tests for modules installed in…
aljcalandra Sep 25, 2018
95bcb1d
MQE-1173: [Dev experience] Error on test generation without reference…
aljcalandra Sep 25, 2018
de1ab89
MQE-1222: Selector Fails To Resolve Correctly in Action Group
KevinBKozan Sep 25, 2018
94afc74
MQE-1256: "Merge" works different for tests and action groups
KevinBKozan Sep 27, 2018
26487bc
MQE-1117: dontSeeJsError does not catch JS errors (#223)
jilu1 Sep 28, 2018
1d022b9
MQE-1117: dontSeeJsError does not catch JS errors
KevinBKozan Sep 28, 2018
a4e0a9b
MFTF 2.3.7 - CHANGELOG.md and Version Bump
KevinBKozan Oct 2, 2018
68c8d68
MQE-1117: dontSeeJsError does not catch JS errors (#242)
aljcalandra Oct 3, 2018
71880ae
MAGEDOC-3174: Update README
dshevtsov Oct 3, 2018
0a3ef3a
MAGEDOC-3161: Create CONTRIBUTING.md
dshevtsov Oct 3, 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
174 changes: 174 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
# Contribution Guidelines for the Magento Functional Testing Framework

- [Contribution requirements](#contribution-requirements)
- [Fork a repository](#fork-a-repository)
- [Update the fork with the latest changes](#update-the-fork-with-the-latest-changes)
- [Create a pull request](#create-a-pull-request)
- [Report an issue](#report-an-issue)
- [Read labels](#read-labels)
- [Pull request status](#pull-request-status)
- [Issue resolution status](#issue-resolution-status)
- [Domains impacted](#domains-impacted)
- [Type](#type)

Use the [fork] & [pull] model to contribute to the Magento Functional Testing Framework (MFTF) code base.
This contribution model has contributors maintaining their own copy of the forked code base (which can be easily synced with the main copy).
The forked repository is then used to submit a request to the base repository to pull a set of changes (pull request).

Contributions can take the form of new components or features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes, optimizations, or just good suggestions.

The MFTF development team reviews all issues and contributions submitted by the community of developers in a "first-in, first-out" basis.
During the review we might require clarifications from the contributor.
If there is no response from the contributor for two weeks, the issue is closed.

Often when the MFTF team works on reviewing the suggested changes, we will add a label to the issue to indicate to our internal team certain information, like status or who is working the issue.
If you’re ever curious what the different labels mean, see the [table][labels] below for an explanation of each one.

Refer to [Magento Contributor Agreement] for detailed information about the License Agreement.
All contributors are required to submit a click-through form to agree to the terms.

## Contribution requirements

1. Contributions must adhere to [Magento coding standards].
2. Refer to the Magento development team’s [Definition of Done].
We use these guidelines internally to ensure that we deliver well-tested, well-documented, solid code, and we encourage you to as well!
3. Pull requests (PRs) must be accompanied by a meaningful description of their purpose.
Comprehensive descriptions increase the chances that a pull request is merged quickly and without additional clarification requests.
4. Commits must be accompanied by meaningful commit messages.
5. PRs that include bug fixing must be accompanied by a step-by-step description of how to reproduce the bug.
6. PRs that include new logic or new features must be submitted along with:

- Unit/integration test coverage
- Proposed documentation update.
For the documentation contribution guidelines, see [DevDocs Contributing][devdocs].
7. For large features or changes, [open an issue][issue] to discuss first.
This may prevent duplicate or unnecessary effort, and it may gain you some additional contributors.
8. To report a bug, [open an issue][issue], and follow [guidelines about bugfix issues][issue reporting].
9. All automated tests must pass successfully (all builds on [Travis CI] must be green).

## Fork a repository

To fork a repository on Github, do the following:

1. Navigate to the [MFTF repository].
2. Click **Fork** at the top right.
3. Clone the repo into your development environment and start playing.

Learn more in the [Fork a repo][github fork] GitHub article.

### Update the fork with the latest changes

As community and Magento writers’ changes are merged to the repository, your fork becomes outdated and pull requests might result in conflicts.
To see if your fork is outdated, open the fork page in GitHub and if at the top displays the following message:

__This branch is NUMBER commits behind magento:develop.__

It means your fork must be updated.

There are two ways to update your fork.
The typical way is discussed in the [Syncing a fork][github sync fork] GitHub article.
Make sure to update from the correct branch!

The other way is to create a reverse pull request from the original repository.
Though this method has the downside of inserting unnecessary information into fork commit history.

1. In your fork, click **New pull request**.
2. Click the "switching the base" link and then click **Create pull request**.
3. Provide a descriptive name for your pull request in the provided field.
4. Scroll to the bottom of the page and click **Merge pull request**, then click **Confirm Merge**.

## Create a pull request

First, check the [existing PRs] and make sure you are not duplicating others’ work!

To create a pull request do the following:

1. Create a feature branch for your changes and push those changes to the copy of your repository on GitHub.
This is the best way to organize and even update your PR.
2. In your repository, click **Pull requests**, and then click **New pull request**.
3. Ensure that you are creating a PR to the **magento/magento2-functional-testing-framework: develop** branch.
We accept PRs to this branch only.
4. Review the changes, then click **Create pull request**.
Fill out the form, and click **Create pull request** again to submit the PR—that’s it!

Learn more in the [Creating a pull request][create pr] GitHub article.

After submitting your PR, you can head over to the repository’s [Pull Requests panel][existing PRs] to see your PR along with the others.
Your PR undergoes automated testing, and if it passes, the core team considers it for inclusion in the Magento Functional Testing Framework codebase.
If some tests fail, make the corresponding corrections in your code.

## Report an issue

If you find a bug in Magento Functional Testing Framework code, you can report it by creating an issue in the Magento Functional Testing Framework repository.

Before creating an issue, do the following:

1. Read the [issue reporting guidelines][issue reporting] to learn how to create an issue that can be processed in a timely manner.
2. Check the documentation to make sure the behavior you are reporting is really a bug, not a feature.
3. Check the [existing issues] to make sure you are not duplicating somebody’s work.

To add an issue:

1. [Open a new issue][open new issue]
2. Fill in the **Title** and issue description
3. Click **Submit new issue**

Learn more in the [Creating an issue][create issue] GitHub article.

## Read labels

Refer to the tables with descriptions of each label below.
The labels reflect the status, impact, or which team is working on it.

### Pull request status

Label| Description
---|---
**accept**| The pull request has been accepted to be merged into mainline code.
**reject**| The pull request has been rejected. The most common cases are when the issue has already been fixed in another code contribution, or there is an issue with the code contribution.
**needsUpdate**| We need more information from the PR author to properly prioritize and process the pull request.

### Issue resolution status

Label| Description
---|---
**acknowledged**| We validated the issue and created an internal ticket.
**needsUpdate**| We need more information from the PR author to properly prioritize and process the issue.
**cannot reproduce**| We do not have enough details from the issue description to reproduce the issue.
**non-issue**| We don't think that this is an issue according to the provided information.

### Domains impacted

Label| Description
---|---
**PROD**| Affects the Product team (mostly feature requests or business logic change).
**DOC**| Affects Documentation domain.
**TECH**| Affects Architect Group (mostly to make decisions around technology changes).

### Type

Label| Description
---|---
**bugfix**| The issue or pull request is about fixing a bug.
**enhancement**| The issue or pull request that makes the MFTF even more awesome (for example new features, optimization, refactoring, etc).

[fork]: #fork-a-repository
[issue]: #report-an-issue
[labels]: #read-labels
[pull]: #create-a-pull-request

[create issue]: https://help.github.com/articles/creating-an-issue/
[create pr]: https://help.github.com/articles/creating-a-pull-request/
[Definition of Done]: https://devdocs.magento.com/guides/v2.2/contributor-guide/contributing_dod.html
[devdocs]: https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md
[existing issues]: https://github.com/magento/magento2-functional-testing-framework/issues?q=is%3Aopen+is%3Aissue
[existing PRs]: https://github.com/magento/magento2-functional-testing-framework/pulls?q=is%3Aopen+is%3Apr
[GitHub documentation]: https://help.github.com/articles/syncing-a-fork
[github fork]: https://help.github.com/articles/fork-a-repo/
[github sync fork]: https://help.github.com/articles/syncing-a-fork/
[issue reporting]: https://github.com/magento/magento2-functional-testing-framework/wiki/Issue-reporting-guidelines
[Magento coding standards]: https://devdocs.magento.com/guides/v2.2/coding-standards/bk-coding-standards.html
[Magento Contributor Agreement]: http://www.magento.com/legaldocuments/mca
[MFTF repository]: https://github.com/magento/magento2-functional-testing-framework
[open new issue]: https://github.com/magento/magento2-functional-testing-framework/issues/new
[Travis CI]: https://travis-ci.com/magento/magento2-functional-testing-framework/pull_requests
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
Magento Functional Testing Framework Changelog
================================================

2.3.7
-----
### Enhancements
* Traceability
* Test generation errors output xml filename where they were encountered, as well as xml parent nodes where applicable.
* Duplicate element detection now outputs parent element where duplicate was found.
* Maintainability
* Standalone MFTF can now be pointed at a Magento installation folder to generate and execute tests.
* See DevDocs for more information.
* MFTF now checks for `test` and `actionGroup` elements that have the same `name` in the same file.
* Customizability
* Updated prefered syntax for `actionGroup` `argument`s that use `xml.data` (old syntax is still supported)
* Old: `xml.data`
* New: `{{xml.data}}`
* Modularity
* `ModuleResolver` now utilizes each Magento module's `registration.php` to map MFTF test material directories.
### Fixes
* The `waitForPageLoad` action now correctly uses the given `timeout` attribute for all of its checks.
* Firefox compatibility issues in javascript error logging were fixed.
* Fixed an issue where arguments containing `-` would not properly resolve parameterized selectors.
* Fixed an issue where actions using `parameterArray` would not resolve `$persisted.data$` references.
* Fixed an issue where composer installations of Magento would fail to parse MFTF materials under a path `vendor/magento/module-<module>/`

2.3.6
-----
### Enhancements
Expand Down
Loading