Skip to content

Commit ed82741

Browse files
committed
MC-18013: Ensure that accordion anchor is visible on viewport once clicked
1 parent b611779 commit ed82741

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/Review/Test/Mftf/ActionGroup/StorefrontAddProductReviewActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<argument name="review" type="entity" defaultValue="SimpleProductReview"/>
1313
</arguments>
1414
<click selector="{{StorefrontProductReviewsSection.reviewsTab}}" stepKey="openReviewTab"/>
15-
<waitForPageLoad time="30" stepKey="waitForTabOpening"/>
1615
<fillField selector="{{StorefrontReviewFormSection.nicknameField}}" userInput="{{review.nickname}}" stepKey="fillNicknameField"/>
1716
<fillField selector="{{StorefrontReviewFormSection.summaryField}}" userInput="{{review.title}}" stepKey="fillSummaryField"/>
1817
<fillField selector="{{StorefrontReviewFormSection.reviewField}}" userInput="{{review.detail}}" stepKey="fillReviewField"/>

app/code/Magento/Review/Test/Mftf/Section/StorefrontProductReviewsSection.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="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="StorefrontProductReviewsSection">
12-
<element name="reviewsTab" type="button" selector="#tab-label-reviews-title"/>
12+
<element name="reviewsTab" type="button" timeout="30" selector="#tab-label-reviews-title"/>
1313
<element name="reviewsBlock" type="block" selector="#customer-reviews"/>
1414
<element name="reviewTitle" type="text" selector=".item.review-item:nth-of-type({{row}}) .review-title" parameterized="true"/>
1515
<element name="reviewContent" type="text" selector=".item.review-item:nth-of-type({{row}}) .review-content" parameterized="true"/>

0 commit comments

Comments
 (0)