Skip to content

Commit 09bbedb

Browse files
author
Elena Marchenko
committed
MAGETWO-69898: [Backport] FedEx Shipment Tracking fails for valid tracking number - 2.1
- fixed functional test
1 parent 005b273 commit 09bbedb

File tree

2 files changed

+7
-2
lines changed
  • dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/View

2 files changed

+7
-2
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/View/OrderForm.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
*/
77
-->
88
<tabs>
9+
<info>
10+
<class>Magento\Sales\Test\Block\Adminhtml\Order\View\Tab\Info</class>
11+
<selector>#sales_order_view_tabs_order_info</selector>
12+
<strategy>css selector</strategy>
13+
</info>
914
<invoices>
1015
<class>Magento\Sales\Test\Block\Adminhtml\Order\View\Tab\Invoices</class>
1116
<selector>#sales_order_view_tabs_order_invoices</selector>

dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/View/Tab/Shipments/Grid.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Grid extends \Magento\Backend\Test\Block\Widget\Grid
2424
*
2525
* @var string
2626
*/
27-
protected $shipmentId = 'tbody td[data-column="real_shipment_id"]';
27+
protected $shipmentId = 'tbody td:nth-child(2)';
2828

2929
/**
3030
* Filters array mapping
@@ -33,7 +33,7 @@ class Grid extends \Magento\Backend\Test\Block\Widget\Grid
3333
*/
3434
protected $filters = [
3535
'id' => [
36-
'selector' => 'input[name="real_shipment_id"]',
36+
'selector' => 'input[name="increment_id"]',
3737
],
3838
'qty_from' => [
3939
'selector' => '[name="total_qty[from]"]',

0 commit comments

Comments
 (0)