Skip to content

Commit f87f637

Browse files
committed
Fixed bugs and add improvements for Newsletter Queue #33849: Fixed functional test failures
1 parent 855f072 commit f87f637

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/code/Magento/Newsletter/Test/Mftf/ActionGroup/AdminQueueNewsletterActionGroup.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Clicks the Queue Newsletter action.
1717
Sets Queue Date Start.
1818
Selects needed Store view if applicable.
19-
Clicks the Save and Resume button.
19+
Clicks the Save Template button.
2020
</description>
2121
</annotations>
2222
<arguments>
@@ -28,7 +28,8 @@
2828
<click selector="{{AdminNewsletterGridMainActionsSection.queueNewsletterOption}}" stepKey="cliclkQueueNewsletterOption"/>
2929
<fillField selector="{{QueueInformationSection.queueStartFrom}}" userInput="{{startAt}}" stepKey="setDate"/>
3030
<conditionalClick selector="{{QueueInformationSection.subscriberFromOption(storeView)}}" dependentSelector="{{QueueInformationSection.subscriberFromOption(storeView)}}" visible="true" stepKey="setStoreview"/>
31-
<click selector="{{AdminNewsletterMainActionsSection.saveAndResumeButton}}" stepKey="clickSaveAndResumeButton"/>
32-
<see userInput="You saved the newsletter queue." stepKey="seeSuccessMessage"/>
31+
<click selector="{{AdminNewsletterMainActionsSection.saveTemplateButton}}" stepKey="clickSaveTemplate"/>
32+
<waitForPageLoad stepKey="waitForSavingTemplate"/>
33+
<see userInput="You saved the newsletter queue." stepKey="seeSuccessMessage"/>
3334
</actionGroup>
3435
</actionGroups>

0 commit comments

Comments
 (0)