-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9426 from magento-gl/functiona-tests-mainline-dep…
…loyment-1 [Bengals] Functional Tests Mainline Deployment
- Loading branch information
Showing
7 changed files
with
128 additions
and
44 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
app/code/Magento/Cms/Test/Mftf/ActionGroup/AdminVerifyCmsPageSelectMenuActionGroup.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright 2024 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
--> | ||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminVerifyCmsPageSelectMenuActionGroup"> | ||
<arguments> | ||
<argument name="pageName" type="string" defaultValue="404 Not Found"/> | ||
</arguments> | ||
<annotations> | ||
<description>Goes to Admin CMS Page grid page. Validates that all of the select menu options are present.</description> | ||
</annotations> | ||
<waitForElementVisible selector="{{CmsPagesPageActionsSection.select('pageName')}}" stepKey="waitForCMSPageListItem" /> | ||
<click selector="{{CmsPagesPageActionsSection.select('pageName')}}" stepKey="clickSelect" /> | ||
<waitForElementVisible selector="{{CmsPagesPageActionsSection.edit('pageName')}}" stepKey="waitForEditLink" /> | ||
<waitForElementVisible selector="{{CmsPagesPageActionsSection.preview('pageName')}}" stepKey="waitForPreviewLink" /> | ||
<waitForElementVisible selector="{{CmsPagesPageActionsSection.delete('pageName')}}" stepKey="waitForDeleteLink" /> | ||
</actionGroup> | ||
</actionGroups> |
21 changes: 21 additions & 0 deletions
21
...agento/Cms/Test/Mftf/ActionGroup/AdminVerifyWYSIWYGEditorAndTinyMCEButtonsActionGroup.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright 2024 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
--> | ||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminVerifyWYSIWYGEditorAndTinyMCEButtonsActionGroup"> | ||
<annotations> | ||
<description>Goes to Admin CMS Page creation page. Validates that all of the Tiny MCE buttons are present.</description> | ||
</annotations> | ||
<waitForElementVisible selector="{{TinyMCESection.TinyMCE}}" stepKey="waitForTinyMCE"/> | ||
<click selector="{{TinyMCESection.ShowHideBtn}}" stepKey="clickShowHideBtn" /> | ||
<waitForElementNotVisible selector="{{TinyMCESection.TinyMCE}}" stepKey="tinyMCENotAvailable"/> | ||
<waitForElementVisible selector="{{TinyMCESection.InsertWidgetBtn}}" stepKey="waitForInsertWidget"/> | ||
<waitForElementVisible selector="{{TinyMCESection.InsertImageBtn}}" stepKey="waitForInsertImage"/> | ||
<waitForElementVisible selector="{{TinyMCESection.InsertVariableBtn}}" stepKey="waitForInsertVariable"/> | ||
</actionGroup> | ||
</actionGroups> |
47 changes: 47 additions & 0 deletions
47
...nto/Cms/Test/Mftf/Test/AdminVerifyWYSIWYGEditorAndTinyMCEButtonsAcrossBrowserTabsTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright 2024 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
--> | ||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="AdminVerifyWYSIWYGEditorAndTinyMCEButtonsAcrossBrowserTabsTest"> | ||
<annotations> | ||
<features value="Cms"/> | ||
<stories value="404 Not Found Page"/> | ||
<title value="WYSIWYG is presented for content if page for edit is opened in new browser tab"/> | ||
<description value="Testcase verifie WYSIWYG editor and tiny mce buttons for 404 not found page on browser tabs"/> | ||
<severity value="MAJOR"/> | ||
<testCaseId value="AC-4119" /> | ||
</annotations> | ||
<before> | ||
<!-- Enable WYSIWYG editor --> | ||
<actionGroup ref="EnabledWYSIWYGActionGroup" stepKey="enableWYSIWYG"/> | ||
<!-- Enable TinyMCE --> | ||
<actionGroup ref="CliEnableTinyMCEActionGroup" stepKey="enableTinyMCE" /> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="AdminDisableWYSIWYGActionGroup" stepKey="disableWYSIWYG"/> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="navigateToCmsPageGrid"/> | ||
<actionGroup ref="AdminVerifyCmsPageSelectMenuActionGroup" stepKey="verify404NotFoundPageSelectMenu"/> | ||
<click selector="{{CmsPagesPageActionsSection.edit('404 Not Found')}}" stepKey="clickEdit" /> | ||
<openNewTab stepKey="openNewTab"/> | ||
<!--Open created cms page--> | ||
<actionGroup ref="AdminOpenCmsPageActionGroup" stepKey="openEditPage"> | ||
<argument name="page_id" value="1"/> | ||
</actionGroup> | ||
<waitForPageLoad stepKey="waitForCMSPage"/> | ||
<switchToPreviousTab stepKey="switchToPreviousTab"/> | ||
<waitForPageLoad stepKey="waitForCMSPageToLoad"/> | ||
<conditionalClick selector="{{CmsNewPagePageContentSection.header}}" dependentSelector="{{CmsNewPagePageContentSection.contentHeading}}" visible="false" stepKey="expandContentTabIfCollapsed"/> | ||
<actionGroup ref="AdminVerifyWYSIWYGEditorAndTinyMCEButtonsActionGroup" stepKey="verifyWYSIWYGEditorAndButtonsPresentInCurrentTab"/> | ||
<switchToNextTab stepKey="switchToNextTab"/> | ||
<conditionalClick selector="{{CmsNewPagePageContentSection.header}}" dependentSelector="{{CmsNewPagePageContentSection.contentHeading}}" visible="false" stepKey="againExpandContentTabIfCollapsed"/> | ||
<actionGroup ref="AdminVerifyWYSIWYGEditorAndTinyMCEButtonsActionGroup" stepKey="verifyWYSIWYGEditorAndButtonsPresentInAnotherTab"/> | ||
</test> | ||
</tests> |
33 changes: 33 additions & 0 deletions
33
app/code/Magento/Dhl/Test/Mftf/Test/AdminReorderPlacedUsingDHLAPShippingMethodTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright 2024 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
--> | ||
|
||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="AdminReorderPlacedUsingDHLAPShippingMethodTest" extends="StorefrontRegisteredCustomerUsesDHLAPOnlineShippingCarrierOnCheckoutTest"> | ||
<annotations> | ||
<stories value="Admin Reorder with DHL Shipping method"/> | ||
<title value="Reorder placed order using DHL in admin panel"/> | ||
<description value="Reorder in admin panel order placed using DHL (AP) as a shipping method"/> | ||
<severity value="MAJOR"/> | ||
<testCaseId value="AC-4802"/> | ||
<group value="pr_exclude"/> | ||
<group value="3rd_party_integration"/> | ||
</annotations> | ||
<remove keyForRemoval="selectExpressWorldWide"/> | ||
<click selector="{{CheckoutCartSummarySection.shippingMethods('Express easy')}}" after="verifyMedicalExpressIsAvailable" stepKey="selectExpressEasy"/> | ||
<actionGroup ref="AdminOrderGridClickFirstRowActionGroup" stepKey="clickOrderRow"/> | ||
<actionGroup ref="AdminStartReorderFromOrderPageActionGroup" stepKey="startReorder"/> | ||
<!--select Check/Money order payment method--> | ||
<scrollTo selector="{{AdminOrderFormPaymentSection.DHLShipping('Express easy')}}" stepKey="scrollToDHLShippingMethod"/> | ||
<waitForText selector="{{AdminOrderFormPaymentSection.DHLShipping('Express easy')}}" userInput="Express easy" stepKey="verifyDHLShippingMethodIsSelected"/> | ||
<waitForText selector="{{AdminOrderFormPaymentSection.verifyCheckMoneyPayment}}" userInput="Check / Money order" stepKey="verifyCheckMoneyOrderIsSelected"/> | ||
<actionGroup ref="AdminSubmitOrderActionGroup" stepKey="submitOrder"/> | ||
<actionGroup ref="AdminOrderViewCheckStatusActionGroup" stepKey="seeAdminOrderStatusIsPending"/> | ||
<waitForText selector="{{AdminOrderFormPaymentSection.shippingMethodName('DHL - Express easy')}}" userInput="DHL - Express easy" stepKey="verifyShippingAndHandlingInformationInOrderPage"/> | ||
</test> | ||
</tests> |
44 changes: 0 additions & 44 deletions
44
...to/Directory/Test/Mftf/Test/UpdateCurrencyRateForQuotesInStatusesOrderedAndClosedTest.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -401,3 +401,4 @@ | |
}, | ||
"prefer-stable": true | ||
} | ||
|