Saad Tarhi
c122008d70
Test Google's "ndb" E2E testing tool ( https://github.com/woocommerce/woocommerce-blocks/pull/5997 )
...
* install ndb as a development dependency
* Add "debug" script to package.json to launch "ndb"
* Create a minimal test example
This test file is used as an example, we will add later a script in
package.json to call only this file
* Create a temporary npm script to run it from "ndb"
We want to be able to run only a selected file using "ndb", so we need to
create an npm script for it
* Clean up test file
* Clean up & ready PR to merge
Co-authored-by: Saad Tarhi <saad.tarhi@automattic.com>
2022-03-07 17:10:17 +01:00
renovate[bot]
78a4c060a3
Update dependency @types/lodash to v4.14.179 ( https://github.com/woocommerce/woocommerce-blocks/pull/5976 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 11:37:57 +00:00
renovate[bot]
d54383b417
Update dependency @types/jquery to v3.5.14 ( https://github.com/woocommerce/woocommerce-blocks/pull/5975 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 04:39:06 +00:00
dependabot[bot]
6bdd1e648b
Bump url-parse from 1.5.3 to 1.5.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/5955 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 17:19:47 +01:00
Michael P. Pfeiffer
cabf4e7db6
Update to dev version
2022-03-01 12:15:30 +01:00
renovate[bot]
e2618a2e31
Update dependency follow-redirects [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5929 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 12:13:11 +00:00
dependabot[bot]
be54e48860
Bump follow-redirects from 1.14.7 to 1.14.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5840 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 17:31:38 +00:00
renovate[bot]
73f6a28e94
Update dependency react-number-format to v4.9.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5922 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 11:31:12 +00:00
renovate[bot]
4f5ec713df
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5921 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 03:55:08 +00:00
dependabot[bot]
b7646e4640
Bump url-parse from 1.5.3 to 1.5.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/5905 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.9.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.9 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 19:24:49 +00:00
Lucio Giannotta
497820dcb9
E2E tests for Single Product Template ( https://github.com/woocommerce/woocommerce-blocks/pull/5722 )
...
* Add empty block theme to mock E2E tests
* Install empty theme in the test WP instance
2022-02-21 11:01:42 +01:00
Lucio Giannotta
a9fd133c26
Post release version bump (7.1.0-dev)
2022-02-16 12:23:02 +01:00
renovate[bot]
d85f02112a
Update dependency @types/react to v16.14.23 ( https://github.com/woocommerce/woocommerce-blocks/pull/5857 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 04:35:29 +00:00
renovate[bot]
f3894aabcd
Update dependency @testing-library/react to v12.1.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5856 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 04:22:50 +00:00
renovate[bot]
74c5e7fbd1
Update dependency nanoid to 3.1.31 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5797 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 12:24:22 +00:00
renovate[bot]
4156e0f532
Update dependency @testing-library/jest-dom to v5.16.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5750 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 04:07:40 +00:00
renovate[bot]
a9697cb3b5
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5749 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 04:04:30 +00:00
renovate[bot]
0554288807
Update dependency @types/react to v16.14.22 ( https://github.com/woocommerce/woocommerce-blocks/pull/5696 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 15:05:42 +00:00
Mike Jolley
67283c02be
Compare assets from builds ( https://github.com/woocommerce/woocommerce-blocks/pull/5634 )
...
* Comparison workflow
* Update locks
2022-02-02 14:56:16 +00:00
Alex Florisca
072115ee75
Update version to 7.0.0-dev ( https://github.com/woocommerce/woocommerce-blocks/pull/5705 )
2022-02-02 11:57:48 +00:00
github-actions[bot]
8ce88ad3c4
Release: 6.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5680 )
...
* Empty commit for release pull request
* Empty commit for release pull request
* Update readme.txt
* Update versions
* Update testing notes and changelog
* Empty commit for release pull request
* Empty commit for release pull request
* Update readme.txt
* Update versions
* Update testing notes and changelog
* Empty commit for release pull request
* Empty commit for release pull request
* Update readme.txt
* Update versions
* Update testing notes and changelog
* Empty commit for release pull request
* Empty commit for release pull request
* REadme.txt update
* new zip for testing
* update zip file
* Add `CopyWebpackPlugin` to ensure `block.json` is copied to `build` (https://github.com/woocommerce/woocommerce-blocks/pull/5692 )
* Add CopyWebpackPlugin and add block metadata to build
* Check build directory for block.json
* New zip file
* Bumping version strings to new version.
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2022-02-02 11:40:45 +00:00
renovate[bot]
bc9ae24aaa
Update dependency @testing-library/jest-dom to v5.16.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5698 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 08:19:03 +00:00
renovate[bot]
61bd3cb4eb
Update storybook monorepo to v6.4.17 ( https://github.com/woocommerce/woocommerce-blocks/pull/5697 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 04:51:46 +00:00
renovate[bot]
ba476ac34d
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5695 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 02:17:49 +00:00
Mike Jolley
2b5f115d41
Remove custom `Icon` component in favour of `@wordpress/icons` where possible ( https://github.com/woocommerce/woocommerce-blocks/pull/5599 )
...
* Remove atom icon
* Swap icon usage to WordPress package
* remove unused icons from library
* Use @wordpress/primitives
* Product cats block to listView
* On-sale to use percent instead of tag icon
* add to cart button use button icon
* on sale products block icon
* Handpicked products use stack icon
* Products by stock box icon
* Make sparkles woo purple
* Fix icon name
* Correct more tag name
* fix path to icons
* Update snaps
* Update readme to explain updated usage
* Import SVG and path from primitives
* Missing isFeaturePluginBuild
* Update assets/js/icons/README.md
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
* Update assets/js/icons/README.md
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
* Update assets/js/icons/README.md
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
* update lock
Co-authored-by: Raluca Stan <raluca.stan@automattic.com>
2022-02-01 16:54:38 +00:00
Thomas Roberts
5e32fb0576
Add `CopyWebpackPlugin` to ensure `block.json` is copied to `build` ( https://github.com/woocommerce/woocommerce-blocks/pull/5692 )
...
* Add CopyWebpackPlugin and add block metadata to build
* Check build directory for block.json
2022-02-01 16:42:15 +00:00
Mike Jolley
1f6f97d860
Implement `@wordpress/scripts` analyze script ( https://github.com/woocommerce/woocommerce-blocks/pull/5589 )
...
* Add analyze-bundles command, replacing explore
* Replace source map explorer from webpack in favour of BundleAnalyzerPlugin
* Update deps
* update locks
2022-01-28 11:40:23 +00:00
Thomas Roberts
b7560ebed5
Add tests for Checkout Terms block ( https://github.com/woocommerce/woocommerce-blocks/pull/5621 )
...
* Install @wordpress/block-editor package
* Add test for checkout terms frontend block
* Add tests for checkout terms in editor
* Add tests for Checkout Terms in editor
* Use void 0 as function's return type
* Update tests to use toBeInTheDocument and split checkbox test in two
* Use void 0 for empty function
2022-01-27 12:34:52 +00:00
renovate[bot]
2ab6037812
Update storybook monorepo to v6.4.14 ( https://github.com/woocommerce/woocommerce-blocks/pull/5641 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 11:49:54 +00:00
renovate[bot]
57aab872fa
Update dependency jest-html-reporters to v2.1.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/5640 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 02:42:57 +00:00
renovate[bot]
5de563b823
Update dependency @types/wordpress__block-editor to v6.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/5639 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 02:32:45 +00:00
renovate[bot]
c87a944f77
Update dependency @babel/core to v7.16.12 ( https://github.com/woocommerce/woocommerce-blocks/pull/5638 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 02:21:51 +00:00
Mike Jolley
c25f8ec531
Manually update dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5602 )
...
* Add markdown-it and follow-redirects to package.
* fix eslint warning
2022-01-21 12:09:07 +00:00
Luigi
fc9e623079
update version plugin
2022-01-20 14:39:19 +01:00
renovate[bot]
8c7db9b875
Update dependency @types/jquery to v3.5.13 ( https://github.com/woocommerce/woocommerce-blocks/pull/5591 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 17:05:05 +00:00
renovate[bot]
48af5544c0
Update dependency config to v3.3.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/5592 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 03:53:40 +00:00
dependabot[bot]
56c68265b6
Bump postcss from 8.2.10 to 8.2.13 ( https://github.com/woocommerce/woocommerce-blocks/pull/5543 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-12 13:11:30 +00:00
renovate[bot]
a6e199b222
Update dependency @babel/cli to v7.16.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5550 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 03:27:51 +00:00
Mike Jolley
e19abbc0c2
Remove Built-in Stripe Integration in favour of Stripe Extension ( https://github.com/woocommerce/woocommerce-blocks/pull/5449 )
...
* Remove Stripe from PHP side
* Remove stripe from client
* fix const name in tests
* Update docs
2022-01-11 10:53:38 +00:00
renovate[bot]
d5af28a16f
Update dependency eslint-plugin-import to v2.25.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/5518 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 04:08:56 +00:00
renovate[bot]
a888ec33a2
Update babel monorepo to v7.16.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/5517 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 04:06:56 +00:00
Raluca Stan
3fd22f385d
Update 6.8.0-dev tag
2022-01-04 12:33:01 +01:00
renovate[bot]
088be50f3c
Update dependency jest-environment-puppeteer to v6.0.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5469 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 04:07:31 +00:00
renovate[bot]
c8ca9deea3
Update dependency @types/lodash to v4.14.178 ( https://github.com/woocommerce/woocommerce-blocks/pull/5468 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 04:05:36 +00:00
renovate[bot]
cabfd59023
Update dependency @types/jquery to v3.5.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/5467 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 02:52:05 +00:00
renovate[bot]
a08553899c
Pin dependency expect-puppeteer to 6.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5466 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 02:41:54 +00:00
Thomas Roberts
5036c69638
Add E2E tests for Filter blocks (Price, Attribute, and Active Filters) ( https://github.com/woocommerce/woocommerce-blocks/pull/4562 )
...
* Add clear and fill input test util
* Add tests for Filter Products by Price
* Add class name to filter products by price block in editor
* Update wp-env
* Fix formatting
* Update lock
* Revert "Update lock"
This reverts commit f4e809e000430eea3972c94fd2aea0a19ba6961b.
* Create product attributes during setup
* Remove product attributes during teardown
* Add attributes in fixture-data
* Add two new products, for attribute testing
* Load attributes into store and apply them to products
* Add class to Filter by Attribute when editing
This is so it can be targeted in E2E tests more easily.
* Add tests for Filter Product by Attribute
* Fix formatting in attribute-filter.test.js
* Add tests for active filters block
* Add doc block for ensuteCleanAttributes
* Update wording of title test in all filter block E2E
* Update test wording to read better
* Update snapshots
* Use pptr-testing-library selectors to click elements
This makes the tests easier to reason with, and lets us take a step back from the implementation details (classnames etc.)
* Add saveOrPublish test util
* Use pptr-testing-library selectors to click elements in attribute filter
* Use pptr-testing-library selectors to click elements in price filter
* Add `puppeteer-testing-library`
* Use puppeteer-testing-library API to look for H6 button
* Use correct argument in jest-puppeteer.dev.config
* Update package.json & package-lock.json
* remove tests for 5.3
* remove snapshots
* Remove ensureCleanAttributes
* Remove puppeteer-testing-library, install missing expect-puppeteer package and update tests
The puppeteer-testing-library, although added by gutenberg is not actively used.
I have removed it and realised that the added functionality can be easily replaced by expect-puppeteer.
This is a package that we specify in the jest configuration but it was not part of our package.json.
The selectors from puppeteer-testing-library have been replaced with .toClick and the utility clearAndFillInput with .toFill
The Filter by Attribute block has been skiped until tests are fixed.
* Add back setupPageSettings to jest setup
* Fix filter by attribute block test
* Fix linting error
Co-authored-by: Raluca Stan <ralucastn@gmail.com>
2021-12-23 17:26:10 +01:00
renovate[bot]
047abeab84
Update dependency eslint-plugin-import to v2.25.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5438 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 04:15:47 +00:00
renovate[bot]
ba3c7e6132
Update babel monorepo to v7.16.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/5437 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 04:13:35 +00:00
renovate[bot]
4f4ef36510
Pin dependency snakecase-keys to 5.1.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5435 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 02:48:41 +00:00