Skip to content

Commit 87436e0

Browse files
committed
MAGETWO-63215: FedEx Shipment Tracking fails for valid tracking number
- Updated functional tests
1 parent 5575290 commit 87436e0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dev/tests/functional/tests/app/Magento/Shipping/Test/Constraint/AssertTrackingDetailsIsPresent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function processAssert(
6363

6464
$body = $browser->find($this->mainContainer)->getText();
6565
foreach ($resultTrackingData as $value) {
66-
\PHPUnit_Framework_Assert::assertContains($value, $body);
66+
\PHPUnit_Framework_Assert::assertContains($value, $body, 'The "' . $value . '" is not present in popup.');
6767
}
6868

6969
$browser->find($selector)->click();
@@ -75,6 +75,6 @@ public function processAssert(
7575
*/
7676
public function toString()
7777
{
78-
return 'Shipment tracking data is present in the popup window';
78+
return 'Shipment tracking data is present in the popup window.';
7979
}
8080
}

dev/tests/functional/tests/app/Magento/Shipping/Test/TestCase/TrackingShipmentForPlacedOrderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* 15. Perform all asserts.
3030
*
3131
* @group Shipping
32-
* @ZephyrId MAGETWO-58158
32+
* @ZephyrId MAGETWO-65163, MAGETWO-58158
3333
*/
3434
class TrackingShipmentForPlacedOrderTest extends Scenario
3535
{

dev/tests/functional/tests/app/Magento/Shipping/Test/TestCase/TrackingShipmentForPlacedOrderTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Shipping\Test\TestCase\TrackingShipmentForPlacedOrderTest" summary="Create shipment for order.">
10-
<variation name="TrackingShipmentForPlacedOrderTestVariation1" summary="Creating shipment for order placed." ticketId="MAGETWO-58158">
10+
<variation name="TrackingShipmentForPlacedOrderTestVariation1" summary="Creating shipment for order placed." ticketId="MAGETWO-65163">
1111
<data name="products/0" xsi:type="string">catalogProductSimple::product_10_dollar</data>
1212
<data name="customer/dataset" xsi:type="string">default</data>
1313
<data name="shippingAddress/dataset" xsi:type="string">US_address_1_without_email</data>

0 commit comments

Comments
 (0)