Skip to content

Commit ed69b44

Browse files
author
Volodymyr Zaets
committed
MAGETWO-44405: Unable to change item cart qty from item configure page
- fix integration tests
1 parent 174b79f commit ed69b44

File tree

1 file changed

+4
-4
lines changed
  • dev/tests/integration/testsuite/Magento/Checkout/Controller

1 file changed

+4
-4
lines changed

dev/tests/integration/testsuite/Magento/Checkout/Controller/CartTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testConfigureActionWithSimpleProduct()
3535
$this->assertSessionMessages($this->isEmpty(), \Magento\Framework\Message\MessageInterface::TYPE_ERROR);
3636

3737
$this->assertSelectCount(
38-
'button[type="button"][title="Update Cart"]',
38+
'button[type="submit"][title="Update Cart"]',
3939
1,
4040
$response->getBody(),
4141
'Response for simple product doesn\'t contain "Update Cart" button'
@@ -63,7 +63,7 @@ public function testConfigureActionWithSimpleProductAndCustomOption()
6363
$this->assertSessionMessages($this->isEmpty(), \Magento\Framework\Message\MessageInterface::TYPE_ERROR);
6464

6565
$this->assertSelectCount(
66-
'button[type="button"][title="Update Cart"]',
66+
'button[type="submit"][title="Update Cart"]',
6767
1,
6868
$response->getBody(),
6969
'Response for simple product with custom option doesn\'t contain "Update Cart" button'
@@ -98,7 +98,7 @@ public function testConfigureActionWithBundleProduct()
9898
$this->assertSessionMessages($this->isEmpty(), \Magento\Framework\Message\MessageInterface::TYPE_ERROR);
9999

100100
$this->assertSelectCount(
101-
'button[type="button"][title="Update Cart"]',
101+
'button[type="submit"][title="Update Cart"]',
102102
1,
103103
$response->getBody(),
104104
'Response for bundle product doesn\'t contain "Update Cart" button'
@@ -126,7 +126,7 @@ public function testConfigureActionWithDownloadableProduct()
126126
$this->assertSessionMessages($this->isEmpty(), \Magento\Framework\Message\MessageInterface::TYPE_ERROR);
127127

128128
$this->assertSelectCount(
129-
'button[type="button"][title="Update Cart"]',
129+
'button[type="submit"][title="Update Cart"]',
130130
1,
131131
$response->getBody(),
132132
'Response for downloadable product doesn\'t contain "Update Cart" button'

0 commit comments

Comments
 (0)