Skip to content

Commit ac73362

Browse files
committed
MAGETWO-87660: EndToEndB2CAdminTestCest fails on jenkins
1 parent ac2d4e9 commit ac73362

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Sales/Section/AdminCreditMemoOrderInformationSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
1111
<section name="AdminCreditMemoOrderInformationSection">
12-
<element name="orderId" type="text" selector="div.order-information span.title > a" timeout="30"/>
12+
<element name="orderId" type="text" selector="div.order-information span.title > a" timeout="60"/>
1313
<element name="orderDate" type="text" selector=".order-information table.order-information-table tr:first-of-type > td"/>
1414
<element name="orderStatus" type="text" selector=".order-information table.order-information-table #order_status"/>
1515
<element name="purchasedFrom" type="text" selector=".order-information table.order-information-table tr:last-of-type > td"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Sales/Test/EndToEndB2CAdminTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@
157157
<actionGroup ref="seeProductInItemsRefunded" stepKey="seeConfigurableProductInItemsRefunded" after="seeSimpleProductInItemsRefunded">
158158
<argument name="product" value="BaseConfigurableProduct"/>
159159
</actionGroup>
160-
<click selector="{{AdminCreditMemoOrderInformationSection.orderId}}" stepKey="clickOrderIdLinkOnCreditMemo" after="seeConfigurableProductInItemsRefunded"/>
160+
<scrollToTopOfPage stepKey="scrollToTopOfCreditMemo" after="seeConfigurableProductInItemsRefunded"/>
161+
<click selector="{{AdminCreditMemoOrderInformationSection.orderId}}" stepKey="clickOrderIdLinkOnCreditMemo" after="scrollToTopOfCreditMemo"/>
161162

162163
<!--Admin uses order grid-->
163164
<amOnPage url="{{AdminOrdersPage}}" stepKey="navigateToOrderGridPage" after="clickOrderIdLinkOnCreditMemo"/>

0 commit comments

Comments
 (0)