jamelreid
9fa5eb51dc
Added elements.js to store element data
2021-11-25 13:16:17 -05:00
jamelreid
3f95553593
Updated function name to match its export
2021-11-25 12:06:47 -05:00
jamelreid
f9a6a848ae
Removed unused function
2021-11-25 12:06:08 -05:00
jamelreid
4c8a553ac3
Renamed & updated to test multiple menus
...
This script takes a menus array which contains selectors for top-level menu items and their associated sub-menus and verifies that they all load successfully.
2021-11-25 12:05:40 -05:00
Ron Rennick
b905b9208f
Merge pull request #31302 from woocommerce/fix/pr-smoke-test
...
remove stray quote in workflow action
2021-11-25 10:29:18 -04:00
Ron Rennick
207030ed9b
remove stray quote in workflow action
2021-11-25 10:24:35 -04:00
Claudio Sanches
cf8e4225a6
Exclude changelog directory from deployments
2021-11-25 11:14:52 -03:00
Vedanshu Jain
5d0296c565
Merge pull request #31286 from woocommerce/php8.1/add-ReturnTypeWillChange-attributes
...
[PHP 8.1] Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
2021-11-25 17:22:31 +05:30
jamelreid
730cd35d96
Added page load tests to the plugin e2e directory
2021-11-24 19:21:01 -05:00
jamelreid
895ef1db0e
Added runWcPageLoadTest & runAdminPageLoadTests to exports
2021-11-24 19:18:56 -05:00
jamelreid
a50f40e857
Updated WooCommerce menu page load script
2021-11-24 19:17:45 -05:00
jamelreid
e5a12e5334
Added function to open WC Admin Page
2021-11-24 19:15:34 -05:00
Barry Hughes
ca40a48d97
Merge pull request #30890 from mahmoudsaeed/trunk
...
Fix taxes endpoint returning incorrect X-WP-Total and X-WP-TotalPages headers
2021-11-24 14:49:18 -08:00
jamelreid
8fdbc77bf8
Added WooCommerce menu page load test script
2021-11-24 12:15:30 -05:00
Nestor Soriano
f7137a44e6
Fix README in the tests directory
...
The instructions to run the unit tests in PHP 8 were missing
a couple of required commands.
2021-11-24 16:53:34 +01:00
Nestor Soriano
963eef02fa
Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
...
PHP 7.x and 8.1 will throw a fatal error, thus causing the unit tests
suite to abruptly end, if a method from an implemented interface doesn't
fully match the signature as defined in the interface. In WooCommerce
that's the case for the classes that implement ArrayAccess: in
PHP 8.0+ these signatures have type hints and return types (as in
"offsetUnset( mixed $offset ):void" ) but the code in WooCommerce
doesn't. We can't just add the missing types to the signatures because
then the same error appears in PHP 7.x, in which there aren't
types in the method signatures of ArrayAccess.
The fix consists of adding the ReturnTypeWillChange attribute,
introduced in PHP 8.1, which instructs the runtime to not throw the
error. PHP 7.x doesn't support attributes, but in this case the
attribute declaration is seen as a comment.
See https://php.watch/versions/8.1/ReturnTypeWillChange
2021-11-24 16:22:49 +01:00
Mahmoud Saeed
05fbbc591e
Fix taxes endpoint returning incorrect X-WP-Total and X-WP-TotalPages headers #30890
2021-11-24 11:16:55 +02:00
Brian
727ccd0dd3
Albania: add states and change label ( #31190 )
...
* add albanian states
* change label for albania
* change to english language
* fix names
* sorting
2021-11-23 16:53:25 -05:00
Brian
2623be878e
Nicaragua: Add States / Update Label ( #31179 )
...
* add label for nicaragua state
* add nicaragua states
* change to english string
* fix names
2021-11-23 14:36:05 -05:00
Ron Rennick
226d5ac423
port config, waitForSelector from puppeteer-utils ( #31240 )
2021-11-23 18:55:42 +01:00
Brian
e1b9235855
Ecuador: add states / update label ( #31186 )
...
* add ecuador states
* add label for ecuador
* change to english string
* add hyphenate
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-11-23 12:47:22 -05:00
Brian
80d95b72e5
Colombia: add states / change label ( #31188 )
...
* add colombia states
* update label for state (colombia)
* change to english string
* fixes CLDR names, sorting
* sorting
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-11-23 12:47:05 -05:00
Brian
28e902442b
Honduras: Add States / Update Label ( #31180 )
...
* add honduras states
* add label for state (honduras)
* change to english string
* fix name due to cldr
* fix name
* fix sorting
2021-11-23 12:46:46 -05:00
Brian
d96c380332
Panama: Update States & Label ( #31178 )
...
* add panama states
https://en.wikipedia.org/wiki/ISO_3166-2:PA
* add label for state
* change to english string
* fix name to english
2021-11-23 12:40:41 -05:00
Brian
cf9510577b
Republica Dominicana: change label for state ( #31191 )
...
* change label for state DO
* change to english string
* added cdlr states, sorting
2021-11-23 12:10:24 -05:00
Brian
dd64b5c8ff
Bolivia: fix iso code / update label ( #31181 )
...
* fix iso format of bolivian states
* add label for states bolivia
* change to english string
* update sorting of states
2021-11-23 11:41:33 -05:00
Ron Rennick
fa192d9c27
add shopper.logout() ( #31120 )
2021-11-23 14:28:17 +01:00
Ron Rennick
e449511ff0
Clean up e2e-environment changes from monorepo reorg ( #31233 )
...
* add flag to distinguish between the development repo and npm package
* introduce local E2E file resolver function
* update package changelog and readme
2021-11-23 13:56:24 +01:00
Ron Rennick
23f4f1c744
avoid issues with preconfigured curl options in npm ( #31232 )
2021-11-23 13:16:05 +01:00
Ron Rennick
c69b84f8ec
add e2e-core-tests build script ( #31221 )
2021-11-23 12:57:56 +01:00
Greg
8bbd41d6e2
Merge pull request #31052 from woocommerce/add/api-tests-orders-crud
...
API tests for CRUD methods in Orders API
2021-11-22 13:43:35 -07:00
Barry Hughes
5773089e8c
Merge pull request #31227 from woocommerce/fix/count_param
...
Update count param consistently.
2021-11-22 11:34:47 -08:00
Peter Fabian
ab1a35719c
Merge pull request #31257 from woocommerce/fix/31035
...
Send set password link instead of the actual password to new users.
2021-11-22 18:43:41 +01:00
jonathansadowski
6bd17a3dfd
Merge pull request #31272 from woocommerce/fix/smoke-test-release
...
Add missing run command
2021-11-22 10:03:27 -06:00
roykho
22a1e0b2b5
Add path
2021-11-22 06:28:18 -08:00
roykho
b88ec3a573
Add missing run command
2021-11-22 06:22:33 -08:00
vedanshujain
2013a66313
Add test for parse_file_path method in WC_Download_Handler class.
2021-11-22 19:39:00 +05:30
vedanshujain
a6626eeb64
Send $count param as argument so that its updated consistently.
...
As far as I can see, this count param is not really needed, but it will still be good to keep it updated in case its getting used in an edge case that I have not considered.
2021-11-22 19:39:00 +05:30
Peter Fabian
5cba6b6eb6
Merge pull request #31126 from woocommerce/update/fallback-extensions-message
...
Show fallback message in extensions marketplace when the store can't connect to the WCCOM API
2021-11-22 11:02:32 +01:00
Rodel
3c31414c80
Merge branch 'trunk' into add/api-tests-orders-crud
2021-11-22 15:37:25 +08:00
Jeff Stieler
209566b7c4
Fix errant stock adjustment when saving partially refunded orders. ( #31172 )
...
* Preserve stock metadata for refunded items.
Prevents fully restocked items on partially refunded orders from having stock reduced on subsequent order updates.
* Add E2E test covering errant restocking fix.
2021-11-19 14:24:35 -07:00
Brian
4d212875f5
Costa Rica: add states and change label ( #31189 )
...
* add costa rica states
* change label state from costa rica
* change to english string
2021-11-19 12:25:37 -07:00
Brian
59910ffeab
Guatemala: fix iso code - change label for state ( #31187 )
...
* fix iso code for guatemalan states
* change label for guatemala state
* change to english instead local version
https://github.com/woocommerce/woocommerce/issues/31150#issuecomment-970322350
2021-11-19 12:17:40 -07:00
Peter Fabian
1fd893a2ed
Bump template version.
2021-11-19 19:34:46 +01:00
Peter Fabian
10daece5ae
The extra parameter actually seems unnecessary.
2021-11-19 19:18:17 +01:00
Brian
cc9de68f6c
Paraguay: Update Label ( #31177 )
...
* add label for paraguay states
* change to english string
2021-11-19 10:33:01 -07:00
Brian
df87e5a42d
El Salvador: Update States + label ( #31176 )
...
* add el salvador states
add el salvador states with correct ISO-Code
* change label to departamento
* change to english string
* fix states
2021-11-19 10:29:08 -07:00
Brian
f48492df86
add uruguay states ( #31167 )
...
* update uruguay states
add regions
* change string to departamento
* change to english string
2021-11-19 10:24:51 -07:00
roykho
11c2028bd5
Move dependency declaration into project level
2021-11-19 08:44:44 -08:00
Brian
2bf383a643
Venezuela States: Update iso-code's + state name change ( #31175 )
...
* update iso-code + state name change
update iso-code + state name change
* venezuela: update label for statefield
* remove as state is correct
2021-11-19 09:05:01 -07:00