@@ -35,7 +35,7 @@ public function testConfigureActionWithSimpleProduct()
35
35
$ this ->assertSessionMessages ($ this ->isEmpty (), \Magento \Framework \Message \MessageInterface::TYPE_ERROR );
36
36
37
37
$ this ->assertSelectCount (
38
- 'button[type="button "][title="Update Cart"] ' ,
38
+ 'button[type="submit "][title="Update Cart"] ' ,
39
39
1 ,
40
40
$ response ->getBody (),
41
41
'Response for simple product doesn \'t contain "Update Cart" button '
@@ -63,7 +63,7 @@ public function testConfigureActionWithSimpleProductAndCustomOption()
63
63
$ this ->assertSessionMessages ($ this ->isEmpty (), \Magento \Framework \Message \MessageInterface::TYPE_ERROR );
64
64
65
65
$ this ->assertSelectCount (
66
- 'button[type="button "][title="Update Cart"] ' ,
66
+ 'button[type="submit "][title="Update Cart"] ' ,
67
67
1 ,
68
68
$ response ->getBody (),
69
69
'Response for simple product with custom option doesn \'t contain "Update Cart" button '
@@ -98,7 +98,7 @@ public function testConfigureActionWithBundleProduct()
98
98
$ this ->assertSessionMessages ($ this ->isEmpty (), \Magento \Framework \Message \MessageInterface::TYPE_ERROR );
99
99
100
100
$ this ->assertSelectCount (
101
- 'button[type="button "][title="Update Cart"] ' ,
101
+ 'button[type="submit "][title="Update Cart"] ' ,
102
102
1 ,
103
103
$ response ->getBody (),
104
104
'Response for bundle product doesn \'t contain "Update Cart" button '
@@ -126,7 +126,7 @@ public function testConfigureActionWithDownloadableProduct()
126
126
$ this ->assertSessionMessages ($ this ->isEmpty (), \Magento \Framework \Message \MessageInterface::TYPE_ERROR );
127
127
128
128
$ this ->assertSelectCount (
129
- 'button[type="button "][title="Update Cart"] ' ,
129
+ 'button[type="submit "][title="Update Cart"] ' ,
130
130
1 ,
131
131
$ response ->getBody (),
132
132
'Response for downloadable product doesn \'t contain "Update Cart" button '
0 commit comments