Commit Graph

28353 Commits

Author SHA1 Message Date
Grzegorz Rola 9e32117d73 Tests. 2018-08-29 18:18:57 +02:00
Grzegorz Rola 9df10fac5a Taxes should be rounded on subtotals in cart when option woocommerce_tax_round_at_subtotal is checked. 2018-08-29 13:43:13 +02:00
Grzegorz Rola 20ac4a8b69 Taxes should be rounded on subtotals in cart when option woocommerce_tax_round_at_subtotal is checked. 2018-08-29 13:34:22 +02:00
Grzegorz Rola 5c3f4c9c10 Revert "Taxes should be rounded on subtotals in cart when option woocommerce_tax_round_at_subtotal is checked."
This reverts commit dafcbc5
2018-08-29 13:25:22 +02:00
Grzegorz Rola dafcbc56b0 Taxes should be rounded on subtotals in cart when option woocommerce_tax_round_at_subtotal is checked. 2018-08-29 13:22:51 +02:00
Claudiu Lodromanean b80c6d86fc
Merge pull request #21207 from woocommerce/speedup-get-request-url-test
Reduce WC_Tests_Paypal_Gateway_Request::test_request_url() execution time
2018-08-28 13:25:09 -07:00
Claudiu Lodromanean 1258f242ff
Merge pull request #21204 from woocommerce/fix/21197
Corrected wording of stock quantity description.
2018-08-28 13:23:49 -07:00
Claudiu Lodromanean 03659ff67e
Merge pull request #21211 from Dedi-Data/patch-2
unnecessary aria-required for elements that have required
2018-08-28 13:05:31 -07:00
Claudiu Lodromanean 8d21f4ad77
Merge pull request #21205 from woocommerce/fix/21107
Unslash city name to prevent double escape.
2018-08-28 13:04:23 -07:00
Claudiu Lodromanean cf91d5a907
Merge pull request #21206 from woocommerce/improve-product-simple-tests
Remove more unnecessary cleanup code from unit tests
2018-08-28 12:59:27 -07:00
Farhad Sakhaei a22218f5f9
Update single-product-reviews.php 2018-08-29 00:25:03 +04:30
Claudiu Lodromanean e1b1aca807
Merge pull request #21200 from madeincosmos/fix/21199
Enable PDT handling for custom pending payment statuses
2018-08-28 10:47:53 -07:00
Farhad Sakhaei 7c3a3503ff
unnecessary aria-required for elements that have required
Attribute aria-required is unnecessary for elements that have attribute required.
2018-08-28 13:05:40 +04:30
Rodrigo Primo 8b62d5b06e Reduce WC_Tests_Paypal_Gateway_Request::test_request_url() execution time
This commits reduces the execution time of the test WC_Tests_Paypal_Gateway_Request::test_request_url() from about 30s to about 6s (which is still super slow and even after this change this test is still the slowest in our test suite). This test creates several products that are needed to test different scenarios. To make it run faster, the code was changed to create the WC_Product objects without saving them to the database. Just interacting with the objects is enough to this test and skipping the database makes it run much faster. Other tests might benefit from the same technique.
2018-08-27 19:04:50 -03:00
Rodrigo Primo f830c3e3dc Remove more unnecessary cleanup code from unit tests
See #21150 for more details.
2018-08-27 18:37:33 -03:00
Rodrigo Primo 7b6fcd18b5 Remove unused code 2018-08-27 17:54:55 -03:00
Claudiu Lodromanean c887307d1a
Merge pull request #21198 from woocommerce/update/21195
Remove icanhazip service from ip lookup
2018-08-27 11:32:25 -07:00
Peter Fabian 964ee9ac1a Unslash city name to prevent double escape. 2018-08-27 18:33:14 +02:00
Peter Fabian 32d3ff76c5 Use simple quote. 2018-08-27 17:28:29 +02:00
Peter Fabian 058f14e7d3 Corrected wording of stock quantity description. 2018-08-27 17:20:46 +02:00
Maria Górska 0369e3d622 Enable PDT handling for custom pending statuses 2018-08-27 12:10:36 +02:00
Gerhard Potgieter 43de3d00cd Remove icanhazip service from ip lookup, their DNS is blacklisted and blocked by most servers. 2018-08-27 11:21:37 +02:00
Claudiu Lodromanean 66c7c244ca
Merge pull request #21186 from woocommerce/fix/string-i18n
Use entire sentence for checkout address_2 placeholder string
2018-08-24 10:04:54 -07:00
Claudiu Lodromanean a57e849619
Merge pull request #21183 from aelia-co/Tweak-order-total-recalculation-js-events
Added triggering of JS events on "recalculate" action on Edit Order page
2018-08-24 09:56:30 -07:00
Claudiu Lodromanean d72ffe48e7
Merge pull request #21180 from woocommerce/fix/21160
Make RO state required.
2018-08-24 09:53:53 -07:00
Claudiu Lodromanean 1b405c2c12
Merge pull request #21162 from wackywombaat12/Fix/20987
Fix/20987
2018-08-24 09:51:23 -07:00
Claudiu Lodromanean a479ba1ff6
Merge pull request #21168 from woocommerce/fix/21079
Updated order of array traversal to respect user's order
2018-08-24 07:04:05 -07:00
Rodrigo Primo e1aa7bba4d Use entire sentence for checkout address_2 placeholder string
The placeholder string that is displayed in the address_2 field in the checkout was changed in #20639 to hide the "(optional)" part when the field is mandatory. The problem is that this was done splitting the sentence in two parts which goes against i18n best practices (https://developer.wordpress.org/themes/functionality/internationalization/#best-practices-for-writing-strings) as the order of the words can be different depending on the language. This commit creates two full sentences one with the "(optional)" part and another one without it to better support the translation of both strings.
2018-08-24 09:45:16 -03:00
Diego b8d2f548f3 Added triggering of JS events on "recalculate" action on Edit Order page
* Ref. https://github.com/woocommerce/woocommerce/issues/21181
2018-08-24 09:56:20 +01:00
Peter Fabian 2e350fe5b7 Small PHPCS fix. 2018-08-24 09:21:49 +02:00
Gerhard Potgieter bea8151533 Make RO state required. 2018-08-24 09:16:07 +02:00
Gerhard Potgieter 53f58eb0d5
Merge pull request #21104 from John-Henrique/master
Paraguay currency and states
2018-08-24 08:23:55 +02:00
John-Henrique fdd2f63ae4 Fixed version and white space 2018-08-24 03:01:13 -03:00
Jack Boyle 63b84ef407 Fix Requested Changes
Changed to check if field exists and the field is not blank.
2018-08-24 13:03:09 +10:00
Claudiu Lodromanean 9e0e01bd2c
Merge pull request #21177 from woocommerce/update-codecov
Attempt to reduce noise in PRs generated by codecov
2018-08-23 17:00:48 -07:00
Claudiu Lodromanean 9b222d69c9
Merge pull request #21170 from woocommerce/update/remove-tests-unnecessary-code
Remove unnecessary cleanup code from more unit tests
2018-08-23 14:07:47 -07:00
Rodrigo Primo 926235287f Attempt to reduce noise in PRs generated by codecov
This commit is an attempt to reduce the noise in PRs generated by the code coverage comment posted automatically by Codecov. It changes Codecov configuration to post a comment to a PR only if it changes the code coverage and it also removes reach graph, the diff image and the flags from the comment content. Leaving only a list of the files impacted by the PR. My initial plan was to leave in the comment content only a link to the full report, but I couldn't find a way to do that in the documentation (https://docs.codecov.io/docs/pull-request-comments).
2018-08-23 17:40:35 -03:00
Claudiu Lodromanean babfacd6bb
Merge pull request #21108 from woocommerce/fix/21025
Set tabindex=1 for notices
2018-08-23 13:11:08 -07:00
Claudiu Lodromanean 176c871007
Merge pull request #21174 from woocommerce/travis-retry
Retry e2e tests automatically in case of failure
2018-08-23 13:01:22 -07:00
Rodrigo Primo 4a3b175715
Merge pull request #21171 from macbookandrew/patch-2
fix typo
2018-08-23 16:30:27 -03:00
Rodrigo Primo 67b5b270f3 Retry e2e tests automatically in case of failure
Tests should be consistent. That is true for our unit tests suite, but it is something that is harded to achieve for functional tests. Our end to end tests often times fail due to factors outside of our control, and simply manually restarting the Travis build is enough to make them pass (example: https://github.com/woocommerce/woocommerce/pull/21150#issuecomment-415132390). This commits uses `travis_retry` to make Travis automatically retry a maximum of three times to run WC e2e tests in case of a failure.
2018-08-23 16:20:41 -03:00
Andrew Minion 067a79c336
fix typo 2018-08-23 14:37:54 -04:00
Rodrigo Primo 5f6c729107 Remove unnecessary clean up code from unit tests
This commit removes unnecessary clean up code form some unit tests. All database changes done during a test are automatically reverted after the test finishes, so it is not necessary to write code to manually remove them. This change simplifies the test code and make it run a bit faster.
2018-08-23 15:15:17 -03:00
Rodrigo Primo b7507ca8b3 Automatically fix phpcs violations using phpcbf 2018-08-23 15:15:11 -03:00
Peter Fabian f5fd36fbdf Updated order of array traversal to respect user's order when changing order of attributes for variations. 2018-08-23 18:41:28 +02:00
Peter Fabian 0d29e5d88f PHPCS fix. 2018-08-23 14:31:53 +02:00
Peter Fabian 2f0505a73f Added wc_kses_notice as escaping function to PHPCS. 2018-08-23 14:31:40 +02:00
Jack Boyle fd33f2c2a6 Added Tests
Added Tests for new wildcard functionality.
2018-08-23 15:23:35 +10:00
Jack Boyle c4eda39177 Add wildcard handler for SKU and other meta values
Add wildcard handler for SKU and other meta values
2018-08-23 09:59:39 +10:00
John-Henrique f65311ee38 Update version 2018-08-22 16:24:19 -03:00