Skip to content

Commit 0f7bd4a

Browse files
committed
MQE-1711: Switch between Developer mode and Production mode takes long time and the test end up time out
Added verification test for magentoCLISecret.
1 parent 67472f5 commit 0f7bd4a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

dev/tests/verification/Resources/BasicFunctionalTest.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ class BasicFunctionalTestCest
130130
$I->comment($magentoCli1);
131131
$magentoCli2 = $I->magentoCLI("maintenance:enable", 120, "\"stuffHere\""); // stepKey: magentoCli2
132132
$I->comment($magentoCli2);
133+
$magentoCli3 = $I->magentoCLISecret("config:set somePath " . CredentialStore::getInstance()->getSecret("someKey"), 60); // stepKey: magentoCli3
134+
$I->comment($magentoCli3); // stepKey: magentoCli3
135+
$magentoCli4 = $I->magentoCLISecret("config:set somePath " . CredentialStore::getInstance()->getSecret("someKey"), 120); // stepKey: magentoCli4
136+
$I->comment($magentoCli4); // stepKey: magentoCli4
133137
$I->makeScreenshot("screenShotInput"); // stepKey: makeScreenshotKey1
134138
$I->maximizeWindow(); // stepKey: maximizeWindowKey1
135139
$I->moveBack(); // stepKey: moveBackKey1

dev/tests/verification/TestModule/Test/BasicFunctionalTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
<grabValueFrom selector=".functionalTestSelector" stepKey="grabValueFromKey1" />
7878
<magentoCLI command="maintenance:enable" arguments="&quot;stuffHere&quot;" stepKey="magentoCli1"/>
7979
<magentoCLI command="maintenance:enable" arguments="&quot;stuffHere&quot;" timeout="120" stepKey="magentoCli2"/>
80+
<magentoCLI command="config:set somePath {{_CREDS.someKey}}" stepKey="magentoCli3"/>
81+
<magentoCLI command="config:set somePath {{_CREDS.someKey}}" timeout="120" stepKey="magentoCli4"/>
8082
<makeScreenshot userInput="screenShotInput" stepKey="makeScreenshotKey1"/>
8183
<maximizeWindow stepKey="maximizeWindowKey1"/>
8284
<moveBack stepKey="moveBackKey1"/>

0 commit comments

Comments
 (0)