Skip to content

Commit a2a5089

Browse files
CABPI-410: refactored CallbackWithoutCodeRedirectsToAdminLoginTest and action groups used within the test
1 parent ca9d771 commit a2a5089

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/code/Magento/AdminAdobeIms/Test/Mftf/ActionGroup/AdminDisableAdobeImsActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414
</annotations>
1515

1616
<magentoCLI command="admin:adobe-ims:disable" stepKey="disableAdminAdobeImsModule"/>
17-
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches1"/>
1817
</actionGroup>
1918
</actionGroups>

app/code/Magento/AdminAdobeIms/Test/Mftf/ActionGroup/AdminEnableAdobeImsActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414
</annotations>
1515

1616
<magentoCLI command="admin:adobe-ims:enable -o {{ClientCredentialsData.org_id}} -c {{ClientCredentialsData.client_id}} -s {{ClientCredentialsData.client_key}} -t yes" stepKey="enableAdminAdobeImsModule" />
17-
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches1"/>
1817
</actionGroup>
1918
</actionGroups>

app/code/Magento/AdminAdobeIms/Test/Mftf/Test/CallbackWithoutCodeRedirectsToAdminLoginTest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@
1919
</annotations>
2020
<before>
2121
<actionGroup ref="AdminEnableAdobeImsActionGroup" stepKey="enableIms" />
22-
<amOnPage url="{{AdminAdobeImsCallbackPage.url}}" stepKey="openCallbackUrl"/>
2322
</before>
2423
<after>
2524
<actionGroup ref="AdminDisableAdobeImsActionGroup" stepKey="disableAdminAdobeImsModule" />
2625
</after>
2726

27+
<!-- Open admin login page using callback URL with no code -->
28+
<amOnPage url="{{AdminAdobeImsCallbackPage.url}}" stepKey="openCallbackUrl"/>
2829
<waitForPageLoad stepKey="waitForAdminLoginPageLoad"/>
2930

30-
<!-- Check for Sign in with error message -->
31+
<!-- Check for the error message on login page -->
3132
<actionGroup ref="AssertAdminSignInEmptyCodeErrorMessageTestActionGroup"
3233
stepKey="assertAdminLoginShowsErrorMessage"/>
3334
</test>

0 commit comments

Comments
 (0)