Skip to content

Commit abda1b8

Browse files
committed
B2B-2117: Prepare AWS Aurora Functional Test CI Build for Handing Off to GL Team
- Fixing test failures
1 parent 98fbec4 commit abda1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminChangeProductSEOSettingsActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</arguments>
1515
<!--Scroll to element to avoid test order flakiness-->
1616
<waitForElement selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="waitForSection"/>
17-
<executeJS function="return document.evaluate(&quot;{{AdminProductSEOSection.sectionHeader}}&quot;, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().y" stepKey="sectionPosition"/>
17+
<executeJS function="return document.querySelector(&quot;{{AdminProductSEOSection.sectionHeader}}&quot;).getBoundingClientRect().y" stepKey="sectionPosition"/>
1818
<executeJS function="return document.querySelector(&quot;{{AdminHeaderSection.pageMainActions}}&quot;).getBoundingClientRect().height" stepKey="floatingHeaderHeight"/>
1919
<executeJS function="window.scrollTo({top: {$sectionPosition}-{$floatingHeaderHeight}})" stepKey="scrollToSEOTab"/>
2020
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="clickSearchEngineOptimizationTab"/>

0 commit comments

Comments
 (0)