Skip to content

Commit 7f3545b

Browse files
committed
MQE-494: Create MFTF demo repository
- Do not error when Data, Section, or Page XML does not exist
1 parent fe5e815 commit 7f3545b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/DataObjectHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private function initDataObjects()
116116
$entityParsedData = $entityParser->readDataProfiles();
117117

118118
if (!$entityParsedData) {
119-
trigger_error("No entities could be parsed from xml definitions", E_USER_NOTICE);
119+
// No *Data.xml files found so give up
120120
return;
121121
}
122122

src/Magento/FunctionalTestingFramework/Page/Handlers/PageObjectHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private function initPageObjects()
9797
$parsedObjs = $parser->getData(self::TYPE);
9898

9999
if (!$parsedObjs) {
100-
trigger_error("No " . self::TYPE . " objects defined", E_USER_NOTICE);
100+
// No *Page.xml files found so give up
101101
return;
102102
}
103103

src/Magento/FunctionalTestingFramework/Page/Handlers/SectionObjectHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private function initSectionObjects()
101101
$parsedObjs = $parser->getData(self::TYPE);
102102

103103
if (!$parsedObjs) {
104-
trigger_error("No " . self::TYPE . " objects defined", E_USER_NOTICE);
104+
// No *Section.xml files found so give up
105105
return;
106106
}
107107

0 commit comments

Comments
 (0)