Skip to content

Commit e76354c

Browse files
committed
MQE-1541: Add option to generate:tests for XSD validation on 'merged files'
1 parent a4f9ff8 commit e76354c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

etc/config/.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ BROWSER=chrome
4242
MODULE_WHITELIST=Magento_Framework,Magento_ConfigurableProductWishlist,Magento_ConfigurableProductCatalogSearch
4343
#CUSTOM_MODULE_PATHS=
4444

45-
#*** Bool property which allows the user to toggle debug output during test execution
45+
#*** Bool properties which allows the user to toggle debug output during test execution
4646
#MFTF_DEBUG=
47+
#MFTF_FAST_DEBUG=
4748

4849
#*** Default timeout for wait actions
4950
#WAIT_TIMEOUT=10

src/Magento/FunctionalTestingFramework/Config/Reader/MftfFilesystem.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\FunctionalTestingFramework\Config\Reader;
88

9+
use Magento\AdminNotification\Block\Inbox;
910
use Magento\FunctionalTestingFramework\Config\MftfApplicationConfig;
1011
use Magento\FunctionalTestingFramework\Exceptions\Collector\ExceptionCollector;
1112
use Magento\FunctionalTestingFramework\Util\Iterator\File;
@@ -51,7 +52,8 @@ public function readFiles($fileList)
5152
if ($fileList->valid()) {
5253
$this->validateSchema($configMerger, $fileList->getFilename());
5354
}
54-
if (MftfApplicationConfig::getConfig()->fastDebugEnabled()) {
55+
if (MftfApplicationConfig::getConfig()->fastDebugEnabled() &&
56+
!MftfApplicationConfig::getConfig()->debugEnabled()) {
5557
$this->validateSchema($configMerger);
5658
}
5759

0 commit comments

Comments
 (0)