Alba Rincón
4cd22fb705
Create `Customer account` block e2e playwright tests ( https://github.com/woocommerce/woocommerce-blocks/pull/9505 )
...
* Create customer account block playwright tests
* Refactor after review
* Refacto after review
2023-06-05 14:39:11 +02:00
Luigi Teschio
d85a6ecbd2
Blockified Single Product Template: add product-classes via `wc_get_product_class` ( https://github.com/woocommerce/woocommerce-blocks/pull/9697 )
...
* Blockified Single Product Template: add product-classes via wc_get_product_class
* Update src/BlockTemplatesController.php
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
---------
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
2023-06-02 14:16:20 +00:00
Roy Ho
cd84b4bed3
Add e2e tests for attributes count ( https://github.com/woocommerce/woocommerce-blocks/pull/9500 )
...
* Add e2e tests for attributes count
* Add test with pricing filter and turn on debug to prevent cache
* Prevent tests from passing if test page is not loaded
* Use WP wrapper to call WC CLI
* Refactor to use more of PW methods
* Use existing active filters block post for testing
* Move prepareAttributes function to global setup
2023-06-01 07:14:50 -07:00
Luigi Teschio
f17a09340f
Enable blockified templates ( https://github.com/woocommerce/woocommerce-blocks/pull/9551 )
...
* Enable blockified templates
* add html template
* fix function
* WIP
* Migrate Classic Block E2E tests to Playwright (https://github.com/woocommerce/woocommerce-blocks/pull/9575 )
* Add E2E tests
* add comment
* set worker to 1
* try now
* add beforeAll and afterAll hook
* restore woocommerce-gutenberg-products-block.php
* enable plugin with .wp-env configuration
* remove waitForNetworkIdle
* Products block: Add e2e tests (https://github.com/woocommerce/woocommerce-blocks/pull/9577 )
* migrate classic block to Playwright
* fix can be inserted more than once tests
* migrate classic block to Playwright
* fix command
* remove old tests
* improve E2E tests
* skip test
* Products block: add E2E pw tests
* Add E2E tests
* fix E2E test
* test now
* try now
* rename path
* set one worker
* try now
* try now
* try now
* set 1 worker
2023-06-01 11:51:59 +00:00
Albert Juhé Lluveras
2b6eef516b
Update Mini-Cart block editor sidebar ( https://github.com/woocommerce/woocommerce-blocks/pull/9420 )
...
* Update Mini-Cart block editor sidebar
* Rename Mini Cart block to Mini-Cart
* Update Mini-Cart block editor sidebar (II)
* Update two instances of mini-cart to uppercase
2023-05-11 14:52:03 +02:00
Luigi Teschio
739fa60fea
Improve the E2E testing process with Playwright ( https://github.com/woocommerce/woocommerce-blocks/pull/9148 )
...
* Add Playwright infrastucture
* improve documentation
* improve type
* remove puppeteer tests
* fix wp-env.json
* add link on how run E2E tests
* chore on playwright.yml
* remove unnecessary flush command
* improve stability E2E test
* remove build:e2e-test command
* Update .github/workflows/playwright.yml
Co-authored-by: Niels Lange <info@nielslange.de>
* Update .github/workflows/playwright.yml
Co-authored-by: Niels Lange <info@nielslange.de>
* Update docs/contributors/contributing/e2e-guidelines.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update docs/contributors/contributing/e2e-guidelines.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update docs/contributors/contributing/e2e-guidelines.md
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
* remove emptyline and fix JSDoc warning
* add link about E2E guidelines
* fix theme name
* improve style
* improve markdown
---------
Co-authored-by: Niels Lange <info@nielslange.de>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2023-05-05 11:03:36 +00:00
Niels Lange
e7f8a8cb6e
WIP: Add Playwright setup ( https://github.com/woocommerce/woocommerce-blocks/pull/9034 )
...
* Set up Playwright
* Use caching in GitHub Actions
* Update tests/e2e-pw/README.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Rename “{blockName}” to “{blockName} block”
* Disable “no-console” for setup and teardown files
* Remove obsolete log and adjusted disabled ESLint definition
* Remove conditional logic from actions/upload-artifact
---------
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2023-04-17 19:01:41 +07:00