magento / magento2-functional-testing-framework

Magento2 Functional Testing Framework
Other
155 stars 132 forks source link

MQE-1974: Report used deprecated metadata in Test #772

Closed soumyau closed 4 years ago

soumyau commented 4 years ago

Changes -

  1. Added logging capability in OperationDefinitionObject for used deprecated operation in a test. ( logged at runtime)
  2. Updated MftfLogger to log all warnings and deprecations during test generation and runtime. This behavior was previously changed to log only during test generation to make mftf.log smaller. All Operation classes are initialized only during runtime; so these validations happen at runtime.
  3. Name validations for DataObjectHandler occur twice during test generation and test runs - changed it to once. This ensures all logs in mftf.log are unique.
  4. Modified deprecation warning messages across all entities

Description

Fixed Issues (if relevant)

  1. magento/magento2-functional-testing-framework#: Issue title
  2. ...

Contribution checklist

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.08%) to 55.989% when pulling 98a678d3e74290c0fa2804744ba924af999f89e0 on MQE-1974 into 98d9a3baa66938f29afb9ea40b052724f68c8c60 on develop.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.08%) to 55.997% when pulling 3ec4130b3e3fabf824941b9e6e74473c67a59eda on MQE-1974 into 081aa48165a984973bd3bf069db7646f61b56d14 on develop.

soumyau commented 4 years ago

Please add verification test according to AC

done

soumyau commented 4 years ago

It looks good! Have you rerun the UR builds after the change?

reran build - looks good. https://m2build-ur.devops.magento.com/job/All-User-Requested-Tests/34895/