louwie17
4c4161ac3c
Render psuedo wc pay payment gateway in payment method table ( https://github.com/woocommerce/woocommerce-admin/pull/7550 )
...
* Render psuedo wc pay payment gateway in payment method table
* Fix lint errors
* Fix lint error
* Add setup event and make use of script_assets file
* Left align payment icons
* Fix feature import and update pageview track
* Fix broken test and add an extra one
* Fix payment method ordering persistance
* Remove the use of psuedo and addressed several PR related feedback
* Fix PHP lint errors
* Make sure track props use underscore
* Fix test
* Update comment
* Add await
2021-09-08 13:41:00 -03:00
louwie17
e6cf391141
Make sure batch fetch resolved data remains consistent ( https://github.com/woocommerce/woocommerce-admin/pull/7587 )
...
* Adjust batch fetch logic so data stays the same
* Fix receive options action call
* Resolve returned result
* Add missing await
2021-09-08 09:37:44 -03:00
louwie17
4fb6841e40
Add task list and activity panel E2E tests ( https://github.com/woocommerce/woocommerce-admin/pull/7509 )
...
* Add hide and show task list tests
* The start to adding tests for the activity panel
* Add activity panel tests and WP-API plugin on initialize
* Update task list tests to be more flexible
* Add changelog in package
* Update the re-enable task list logic to be more robust
* Use a more generic selector
* Make sure task list is shown in previous test
* Add test screenshot
* Remove screenshot and update logic
* Address PR feedback
2021-09-03 08:21:43 -03:00
Joshua T Flowers
8f836c292f
Create task list APIs ( https://github.com/woocommerce/woocommerce-admin/pull/7577 )
...
* Add endpoint to hide task lists
* Migrate old setup task list hidden option
* Use option to store all hidden lists
* Add getter for deprecated options
* Migrate old task list options
* Move task lists into separate class
* Add TaskList class for individual task list control
* Update hidden checks to use TaskList api
* Update docs for hidden lists
* Update use of should_show_tasks to check for visible task lists
* Remove hide endpoint to reduce scope on PR
* Fix up failing tests
* Fix up rebase
* Add back in should_show_tasks with deprecation notice
* Add delay between payment tests
2021-09-02 17:40:02 -04:00
Adrian Duffell
6d23ab7ea1
Add newsletter signup to profiler ( https://github.com/woocommerce/woocommerce-admin/pull/7601 )
...
* Add email address field to store details step in OBW (https://github.com/woocommerce/woocommerce-admin/pull/7552 )
* Subscribe store_email to MailChimp (https://github.com/woocommerce/woocommerce-admin/pull/7579 )
* Add prefill for email field in OBW (https://github.com/woocommerce/woocommerce-admin/pull/7570 )
* Add error handling for email validation errors from backend (https://github.com/woocommerce/woocommerce-admin/pull/7590 )
* Remove OnboardingEmailMarketing note class (https://github.com/woocommerce/woocommerce-admin/pull/7595 )
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Moon <moon.kyong@automattic.com>
2021-08-31 12:39:04 +08:00
Jeff Stieler
d3e940208e
Refactor package style builds ( https://github.com/woocommerce/woocommerce-admin/pull/7531 )
...
* Build experimental package CSS with webpack.
* Move style-only webpack config to reusable private package.
* Update other packages to use webpack for style builds.
* Add tsbuildinfo to clean scripts.
* Fix main start script.
* Remove defunct package build scripts.
* Move client/ dependencies for style builds.
* DRY.
* Remove defunct IE stylesheet definitions.
* Add missing RTL setup for onboarding styles.
* No need to export a function.
* Add changelog.
* Fix README.
* Revert concurrently script path change.
2021-08-19 10:15:59 -04:00
Joshua T Flowers
0ab7c7a3ec
Remove the preloaded onboarding options ( https://github.com/woocommerce/woocommerce-admin/pull/7338 )
...
* Remove unused options
* Remove preloade tracking option
* Remove preloaded wc_connect_options
* Remove preloaded modal options
* Refactor requesting options into task list component
* Remove preloaded dismissed and completed tasks
* Add changelog entry
* Wait for modal before attempting to dismiss
* Attempt to make closing welcome modal more robust
* Update the payment E2E tests to support new app flow
* Update isResolving selectors to hasFinishedResolution
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-08-10 14:58:01 -04:00
Adrian Duffell
7abbc6942b
Add rimraf dev dependency ( https://github.com/woocommerce/woocommerce-admin/pull/7485 )
2021-08-10 18:11:11 +08:00
Renovate Bot
05c378cbc9
Pin dependency jest-mock-extended to 1.0.18
2021-07-23 17:27:06 +00:00
louwie17
19714e8dc1
Add wildcard for element, given the element type is out of our control ( https://github.com/woocommerce/woocommerce-admin/pull/7406 )
2021-07-23 09:31:37 -03:00
Joshua T Flowers
8a040b99d9
Add scope to BACS slotfill ( https://github.com/woocommerce/woocommerce-admin/pull/7405 )
...
* Update e2e matcher for tasklist header
* Add scope to BACS slotfill
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-07-22 17:48:06 -04:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
renovate[bot]
72cf95c51d
Update dependency @types/expect-puppeteer to v4.4.6 ( https://github.com/woocommerce/woocommerce-admin/pull/7346 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-14 15:23:59 +12:00
Ron Rennick
4af5eef27b
Create E2E package ( https://github.com/woocommerce/woocommerce-admin/pull/7084 )
...
* bump E2E package versions to latest
* first pass on E2E test package.json
* move e2e specs to admin-e2e-tests
* add global types, reimplement tests/e2e/specs
* use consistent build dir with other packages
* add documentation, improve test:e2e script
* fix linting issues in admin-e2e-tests
* fix more linting issues
* disable lint on requires
* use e2e in the E2E container names
* move analytics overview test to package
* change extension on analytics-overview test file
* fix linting issues in e2e analytics overview
* remove package scripts from e2e package
* change test specs extensions to .tsx
* remove import from analytics overview test spec
* add .tsx to e2e test spec file extension list
* update e2e business features count expected
2021-07-13 16:38:05 -03:00