Closed lazyguru closed 3 years ago
Hi @lazyguru. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
@lazyguru I cannot reproduce this issue in MFTF 3.2.0 + Magento 2.4.1.
$ vendor/bin/mftf generate:urn-catalog .idea/misc.xml
In GenerateDevUrnCommand.php line 76:
misc.xml not found in given path '.idea/misc.xml'
generate:urn-catalog [-f|--force] [--] <path>
Could you update mftf and try it again?
If the
.idea/misc.xml
file doesn't already exist, thegenerate:urn-catalog
command fails with:Preconditions
.idea/misc.xml
file existsSteps to reproduce
vendor/bin/mftf generate:urn-catalog .idea/misc.xml
Expected result
.idea/misc.xml
is updated with URN for MFTFActual result
Additional info
If you run
bin/magento dev:urn-catalog:generate .idea/misc.xml
it properly handles for the file not existing and creates it. You can then update it with MFTF info afterwards usingvendor/bin/mftf generate:urn-catalog .idea/misc.xml