Skip to content

MFTF: Extract Action Groups to separate files - magento/module-reports #25812

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

Conversation

lbajsarowicz
Copy link
Contributor

Description (*)

Extract each Action Group to separate file, to follow MFTF Best Practices.

Fixed Issues (if relevant)

  1. Fix/inconsistent test names #22853

Questions or comments

Had to extract the changes per-module. The previous try failed, because of conflicts.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Nov 28, 2019

Hi @lbajsarowicz. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@ihor-sviziev ihor-sviziev added the Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests label Nov 29, 2019
@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-6359 has been created to process this Pull Request

@engcom-Alfa
Copy link
Contributor

QA not applicable

@engcom-Foxtrot engcom-Foxtrot added Auto-Tests: Covered All changes in Pull Request is covered by auto-tests and removed Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests labels Nov 29, 2019
@engcom-Foxtrot engcom-Foxtrot self-assigned this Nov 29, 2019
@ihor-sviziev
Copy link
Contributor

@lbajsarowicz
Maybe we can create some static test that will check if action group is one in file?

@lbajsarowicz
Copy link
Contributor Author

@ihor-sviziev Definitely after cleaning up the mess that we already have - we should have such. This should also check if the filename corresponds with the only test name inside.

@ihor-sviziev
Copy link
Contributor

@lbajsarowicz could you report an issue for that, just in order not to miss it

@lbajsarowicz
Copy link
Contributor Author

Yes, I'll do it for both magento2 repository and magento-functional-tests-migration

@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Nov 29, 2019 via email

@lbajsarowicz
Copy link
Contributor Author

@VladimirZaets Could you explain why this Pull Request cannot be merged to 2.3? There are no backward incompatible changes.

@sidolov sidolov changed the base branch from 2.3-develop to 2.4-develop December 5, 2019 17:10
@magento-engcom-team magento-engcom-team merged commit df6c294 into magento:2.4-develop Dec 9, 2019
@m2-assistant
Copy link

m2-assistant bot commented Dec 9, 2019

Hi @lbajsarowicz, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants