Skip to content

Commit 02399ee

Browse files
committed
MQE-1112: Bump MFTF version in Magento
- MTF and MFTF test fixes
1 parent 40d0071 commit 02399ee

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
<argument name="productName"/>
2323
</arguments>
2424
<click selector="{{StorefrontProductPageSection.addToCartBtn}}" stepKey="addToCart"/>
25-
<waitForElementVisible selector="{{StorefrontProductPageSection.addToCartButtonTitleIsAdding}}" stepKey="waitForElementVisibleAddToCartButtonTitleIsAdding"/>
2625
<waitForElementNotVisible selector="{{StorefrontProductPageSection.addToCartButtonTitleIsAdding}}" stepKey="waitForElementNotVisibleAddToCartButtonTitleIsAdding"/>
27-
<waitForElementVisible selector="{{StorefrontProductPageSection.addToCartButtonTitleIsAdded}}" stepKey="waitForElementVisibleAddToCartButtonTitleIsAdded"/>
2826
<waitForElementNotVisible selector="{{StorefrontProductPageSection.addToCartButtonTitleIsAdded}}" stepKey="waitForElementNotVisibleAddToCartButtonTitleIsAdded"/>
2927
<waitForElementVisible selector="{{StorefrontProductPageSection.addToCartButtonTitleIsAddToCart}}" stepKey="waitForElementVisibleAddToCartButtonTitleIsAddToCart"/>
3028
<waitForPageLoad stepKey="waitForPageLoad"/>

dev/tests/functional/tests/app/Magento/Backend/Test/Constraint/AssertHttpsUsedOnBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function assertDirectHttpUnavailable()
7474
{
7575
$fakeUrl = str_replace(self::SCHEME_HTTPS, self::SCHEME_HTTP, $this->browser->getUrl());
7676
$this->browser->open($fakeUrl);
77-
\PHPUnit\Framework\Assert::assertStringStartsWith(
77+
\PHPUnit_Framework_Assert::assertStringStartsWith(
7878
self::SCHEME_HTTPS,
7979
$this->browser->getUrl(),
8080
'Merchant is not redirected to https if tries to access the Admin panel page directly via http.'

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Constraint/AssertConfigurableProductAttributeOptionInLayeredNavigation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function processAssert(
6060

6161
$filters = $catalogCategoryView->getLayeredNavigationBlock()->getFilterContents($frontendAttributeLabel);
6262

63-
\PHPUnit\Framework\Assert::assertFalse(
63+
\PHPUnit_Framework_Assert::assertFalse(
6464
in_array(strtoupper($outOfStockOption), $filters),
6565
'Out of Stock attribute option is present in layered navigation on category page.'
6666
);

0 commit comments

Comments
 (0)