File tree Expand file tree Collapse file tree 8 files changed +18
-17
lines changed
dev/tests/functional/tests/app/Magento
Backend/Test/Block/Widget
Customer/Test/Block/Adminhtml
Shipping/Test/Block/Adminhtml/Shipment Expand file tree Collapse file tree 8 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,6 @@ public function resetFilter()
302
302
{
303
303
$ this ->waitLoader ();
304
304
$ this ->_rootElement ->find ($ this ->resetButton )->click ();
305
- $ this ->waitForElementVisible ($ this ->loader );
306
305
$ this ->waitLoader ();
307
306
}
308
307
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ class CustomerGrid extends DataGrid
39
39
'input ' => 'select ' ,
40
40
],
41
41
'entity_id_from ' => [
42
- 'selector ' => '[name="filters[ entity_id] [from]"] ' ,
42
+ 'selector ' => '[name="entity_id[from]"] ' ,
43
43
],
44
44
'entity_id_to ' => [
45
- 'selector ' => '[name="filters[ entity_id] [to]"] ' ,
45
+ 'selector ' => '[name="entity_id[to]"] ' ,
46
46
],
47
47
];
48
48
}
Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ class Grid extends \Magento\Ui\Test\Block\Adminhtml\DataGrid
25
25
*/
26
26
protected $ filters = [
27
27
'id ' => [
28
- 'selector ' => 'input[name="filters[ increment_id] "] ' ,
28
+ 'selector ' => 'input[name="increment_id"] ' ,
29
29
],
30
30
'order_id ' => [
31
- 'selector ' => 'input[name="filters[ order_increment_id] "] ' ,
31
+ 'selector ' => 'input[name="order_increment_id"] ' ,
32
32
],
33
33
'grand_total_from ' => [
34
- 'selector ' => 'input[name="filters[ base_grand_total] [from]"] ' ,
34
+ 'selector ' => 'input[name="base_grand_total[from]"] ' ,
35
35
],
36
36
'grand_total_to ' => [
37
- 'selector ' => 'input[name="filters[ base_grand_total] [to]"] ' ,
37
+ 'selector ' => 'input[name="base_grand_total[to]"] ' ,
38
38
],
39
39
];
40
40
}
Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ class Grid extends \Magento\Ui\Test\Block\Adminhtml\DataGrid
18
18
*/
19
19
protected $ filters = [
20
20
'id ' => [
21
- 'selector ' => 'input[name="filters[ increment_id] "] ' ,
21
+ 'selector ' => 'input[name="increment_id"] ' ,
22
22
],
23
23
'order_id ' => [
24
- 'selector ' => 'input[name="filters[ order_increment_id] "] ' ,
24
+ 'selector ' => 'input[name="order_increment_id"] ' ,
25
25
],
26
26
'grand_total_from ' => [
27
- 'selector ' => 'input[name="filters[ grand_total] [from]"] ' ,
27
+ 'selector ' => 'input[name="grand_total[from]"] ' ,
28
28
],
29
29
'grand_total_to ' => [
30
- 'selector ' => 'input[name="filters[ grand_total] [to]"] ' ,
30
+ 'selector ' => 'input[name="grand_total[to]"] ' ,
31
31
],
32
32
];
33
33
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class Webapi extends AbstractWebapi implements OrderInjectableInterface
31
31
],
32
32
'country_id ' => [
33
33
'United States ' => 'US ' ,
34
+ 'United Kingdom ' => 'GB ' ,
34
35
],
35
36
];
36
37
Original file line number Diff line number Diff line change @@ -27,16 +27,16 @@ class Grid extends GridInterface
27
27
*/
28
28
protected $ filters = [
29
29
'id ' => [
30
- 'selector ' => 'input[name="filters[ increment_id] "] ' ,
30
+ 'selector ' => 'input[name="increment_id"] ' ,
31
31
],
32
32
'order_id ' => [
33
- 'selector ' => 'input[name="filters[ order_increment_id] "] ' ,
33
+ 'selector ' => 'input[name="order_increment_id"] ' ,
34
34
],
35
35
'total_qty_from ' => [
36
- 'selector ' => 'input[name="filters[ total_qty] [from]"] ' ,
36
+ 'selector ' => 'input[name="total_qty[from]" ' ,
37
37
],
38
38
'total_qty_to ' => [
39
- 'selector ' => 'input[name="filters[ total_qty][to]"] ' ,
39
+ 'selector ' => 'input[name="total_qty][to]" ' ,
40
40
],
41
41
];
42
42
}
Original file line number Diff line number Diff line change 19
19
<data name =" customerGroup" xsi : type =" string" >valid_intra_union_group</data >
20
20
<data name =" cart/data/subtotal" xsi : type =" string" >10</data >
21
21
<data name =" cart/data/tax_amount" xsi : type =" string" >2</data >
22
- <data name =" cart/data/grand_total" xsi : type =" string" >12 </data >
22
+ <data name =" cart/data/grand_total" xsi : type =" string" >17 </data >
23
23
<data name =" prices" xsi : type =" array" >
24
24
<item name =" grandTotal" xsi : type =" string" >17</item >
25
25
</data >
Original file line number Diff line number Diff line change @@ -307,8 +307,9 @@ protected function selectItems(array $items)
307
307
/**
308
308
* Sort grid by field.
309
309
*
310
- * @param $field
310
+ * @param string $field
311
311
* @param string $sort
312
+ * @return void
312
313
*/
313
314
public function sortGridByField ($ field , $ sort = "desc " )
314
315
{
You can’t perform that action at this time.
0 commit comments