@graphcommerce/magento-product-configurable 4.0.6 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1369](https://github.com/graphcommerce-org/graphcommerce/pull/1369) [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9) Thanks [@paales](https://github.com/paales)! - Upgraded dependencies
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`6213f0b0f`](https://github.com/graphcommerce-org/graphcommerce/commit/6213f0b0f5f53d622b993d9f7ea96cbbeb5bd670), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a)]:
|
|
10
|
+
- @graphcommerce/graphql@3.0.6
|
|
11
|
+
- @graphcommerce/next-ui@4.5.0
|
|
12
|
+
- @graphcommerce/image@3.1.2
|
|
13
|
+
- @graphcommerce/magento-cart@4.2.2
|
|
14
|
+
- @graphcommerce/magento-cart-items@3.0.6
|
|
15
|
+
- @graphcommerce/magento-category@4.0.6
|
|
16
|
+
- @graphcommerce/magento-customer@4.2.0
|
|
17
|
+
- @graphcommerce/magento-product@4.1.3
|
|
18
|
+
- @graphcommerce/magento-product-simple@4.0.5
|
|
19
|
+
- @graphcommerce/magento-store@4.1.4
|
|
20
|
+
- @graphcommerce/react-hook-form@3.0.6
|
|
21
|
+
|
|
3
22
|
## 4.0.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product-configurable",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.0.
|
|
5
|
+
"version": "4.0.7",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,25 +12,24 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.1.3",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.5",
|
|
17
17
|
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
|
-
"@playwright/test": "^1.
|
|
19
|
-
"
|
|
18
|
+
"@playwright/test": "^1.20.1",
|
|
19
|
+
"type-fest": "2.12.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@graphcommerce/graphql": "^3.0.
|
|
23
|
-
"@graphcommerce/image": "^3.1.
|
|
24
|
-
"@graphcommerce/magento-cart": "^4.
|
|
25
|
-
"@graphcommerce/magento-cart-items": "^3.0.
|
|
26
|
-
"@graphcommerce/magento-category": "^4.0.
|
|
27
|
-
"@graphcommerce/magento-customer": "^4.
|
|
28
|
-
"@graphcommerce/magento-product": "^4.
|
|
29
|
-
"@graphcommerce/magento-product-simple": "^4.0.
|
|
30
|
-
"@graphcommerce/magento-store": "^4.1.
|
|
31
|
-
"@graphcommerce/next-ui": "^4.
|
|
32
|
-
"@graphcommerce/react-hook-form": "^3.0.
|
|
33
|
-
"type-fest": "^2.12.0"
|
|
22
|
+
"@graphcommerce/graphql": "^3.0.6",
|
|
23
|
+
"@graphcommerce/image": "^3.1.2",
|
|
24
|
+
"@graphcommerce/magento-cart": "^4.2.2",
|
|
25
|
+
"@graphcommerce/magento-cart-items": "^3.0.6",
|
|
26
|
+
"@graphcommerce/magento-category": "^4.0.6",
|
|
27
|
+
"@graphcommerce/magento-customer": "^4.2.0",
|
|
28
|
+
"@graphcommerce/magento-product": "^4.1.3",
|
|
29
|
+
"@graphcommerce/magento-product-simple": "^4.0.5",
|
|
30
|
+
"@graphcommerce/magento-store": "^4.1.4",
|
|
31
|
+
"@graphcommerce/next-ui": "^4.5.0",
|
|
32
|
+
"@graphcommerce/react-hook-form": "^3.0.6"
|
|
34
33
|
},
|
|
35
34
|
"peerDependencies": {
|
|
36
35
|
"@lingui/macro": "^3.13.2",
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { test } from '@graphcommerce/magento-product/
|
|
1
|
+
import { test } from '@graphcommerce/magento-product/test/productURL.fixture'
|
|
2
2
|
import { expect } from '@playwright/test'
|
|
3
3
|
import { addConfigurableProductToCart } from './addConfigurableProductToCart'
|
|
4
4
|
|
|
5
5
|
test('add configurable to cart', async ({ page, productURL }) => {
|
|
6
6
|
expect(productURL.ConfigurableProduct).toBeDefined()
|
|
7
7
|
await addConfigurableProductToCart(page, productURL.ConfigurableProduct)
|
|
8
|
+
|
|
8
9
|
expect(await page.waitForSelector('text=has been added to your shopping cart')).toBeDefined()
|
|
10
|
+
|
|
11
|
+
await Promise.all([page.waitForNavigation(), page.locator('text=View shopping cart').click()])
|
|
12
|
+
expect(await page.locator('h1:has-text("Cart Total")').innerText()).toBeDefined()
|
|
9
13
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { waitForGraphQlResponse } from '@graphcommerce/graphql/
|
|
1
|
+
import { waitForGraphQlResponse } from '@graphcommerce/graphql/test/apolloClient.fixture'
|
|
2
2
|
import { CreateEmptyCartDocument } from '@graphcommerce/magento-cart/hooks/CreateEmptyCart.gql'
|
|
3
3
|
import { Page, expect } from '@playwright/test'
|
|
4
4
|
import { ConfigurableProductAddToCartDocument } from '../ConfigurableProductAddToCart/ConfigurableProductAddToCart.gql'
|