File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
src/Magento/FunctionalTestingFramework/Config/Reader Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ class BasicFunctionalTestCest
60
60
{
61
61
$I->comment("");
62
62
$I->comment("");
63
- $I->skipReadinessCheck(true);
64
- $I->comment("skipReadiness");
65
- $I->skipReadinessCheck(false);
63
+ $I->comment("seeComment");
66
64
$someVarDefinition = $I->grabValueFrom();
67
65
$I->acceptPopup();
68
66
$I->amOnPage("/test/url");
Original file line number Diff line number Diff line change 24
24
</after >
25
25
<comment stepKey =" basicCommentWithNoData" userInput =" {{emptyData.noData}}" />
26
26
<comment stepKey =" basicCommentWithDefinitelyNoData" userInput =" {{emptyData.definitelyNoData}}" />
27
+ <comment stepKey =" basicCommentWithData" userInput =" seeComment" />
27
28
<grabValueFrom stepKey =" someVarDefinition" />
28
29
<acceptPopup stepKey =" acceptPopupKey1" />
29
30
<amOnPage stepKey =" amOnPageKey1" url =" /test/url" />
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class SchemaValidationTest extends MftfTestCase
19
19
*/
20
20
public function testInvalidTestSchema ()
21
21
{
22
- AspectMock::double (MftfApplicationConfig::class, ['debugEnabled ' => true ]);
22
+ AspectMock::double (MftfApplicationConfig::class, ['getDebugMode ' => MftfApplicationConfig:: DEVELOPER_MODE ]);
23
23
$ testFile = ['testFile.xml ' => "<tests><test name='testName'><annotations>a</annotations></test></tests> " ];
24
24
$ expectedError = TESTS_MODULE_PATH .
25
25
DIRECTORY_SEPARATOR .
Original file line number Diff line number Diff line change @@ -51,13 +51,10 @@ public function readFiles($fileList)
51
51
}
52
52
}
53
53
$ exceptionCollector ->throwException ();
54
- if ($ fileList ->valid ()) {
55
- $ this ->validateSchema ($ configMerger , $ fileList ->getFilename ());
56
- }
57
54
58
55
//run validation on merged file with generate:tests
59
56
if ($ debugMode === MftfApplicationConfig::DEFAULT_DEBUG_MODE ) {
60
- $ this ->validateSchema ($ configMerger, $ debugMode );
57
+ $ this ->validateSchema ($ configMerger );
61
58
}
62
59
63
60
$ output = [];
You can’t perform that action at this time.
0 commit comments