Skip to content

Commit 306c703

Browse files
MC-17275: Admin Down after changing store domain/cookie
1 parent 2488a86 commit 306c703

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Backend/Test/Mftf/Test/AdminLoginAfterChangeCookieDomainTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
<group value="backend"/>
2121
</annotations>
2222
<before>
23-
<magentoCLI command="config:set web/cookie/cookie_domain --scope=website --scope-code=base testDomain.com" stepKey="changeDomainForMainWebsite"/>
24-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
23+
<magentoCLI command="config:set web/cookie/cookie_domain --scope=website --scope-code=base testDomain.com" stepKey="changeDomainForMainWebsiteBeforeTestRun"/>
24+
<magentoCLI command="cache:flush" stepKey="flushCacheBeforeTestRun"/>
2525
</before>
2626
<after>
27-
<magentoCLI command="config:set web/cookie/cookie_domain --scope=website --scope-code=base ''" stepKey="changeDomainForMainWebsite"/>
28-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
27+
<magentoCLI command="config:set web/cookie/cookie_domain --scope=website --scope-code=base ''" stepKey="changeDomainForMainWebsiteAfterTestComplete"/>
28+
<magentoCLI command="cache:flush" stepKey="flushCacheAfterTestComplete"/>
2929
</after>
3030
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
3131
<actionGroup ref="AssertAdminDashboardPageIsVisibleActionGroup" stepKey="seeDashboardPage"/>

0 commit comments

Comments
 (0)