-
Notifications
You must be signed in to change notification settings - Fork 254
Closed
Milestone
Description
Preconditions
- Magento with MSI 'Single Stock' mode
Steps to reproduce
- Run Magento\Sales\Test\TestCase\CreateOrderBackendTest::CreateOrderBackendTestVariation19
Expected result
- Test should pass successfully.
Actual result
- Test fails.
"Reorder" button for order with following data '000000002, ' is present in Orders block on frontend.
Failed asserting that true is false.
/var/www/html/dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertReorderButtonIsNotVisibleOnFrontend.php:62
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/ObjectManager/Factory.php:57
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/ObjectManager.php:81
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/Constraint/AbstractConstraint.php:155
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/Constraint/Composite.php:109
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/TestCase/Injectable.php:231
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/TestCase/Functional.php:300
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/TestCase/Functional.php:217
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/TestCase/Injectable.php:210
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/TestCase/Scenario.php:81
/var/www/html/dev/tests/functional/vendor/magento/mtf/Magento/Mtf/TestCase/Injectable.php:166
Test steps
- Navigate to admin area.
- Create simple product with qty = 1
- Navigate to storefront.
- Register and login with customer.
- Add product to cart and proceed to checkout.
- Place order.
- Navigate to customer account dashboard.
- Navigate to "My Orders" tab.
- Test expects "Reorder" button hides from page.
Additional Info
Standard magento behaviour - "Reorder" button hides immediately after place order, but. On MSI "Reorder" button hides only after shipment created #680.
Additional steps with shipment placement should be added into test before assertions.
Metadata
Metadata
Assignees
Labels
No labels