Pavel Dohnal
3f91c40594
Round score to 1 decimal instead of 0
...
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
06d2cc8cb7
Recalculate engagement score after open
...
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
d44636a69f
Add acceptance test for the total spent dynamic segment
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
36c88c40c9
Add integration test on the total spent filter
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
7694db2c2a
Add acceptance test on the total spent dynamic segment
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Rostislav Wolny
140a52b168
Fix updating Woo Order dates in test data factory
...
Updating an order using wp_update_post causes that we are not able to use
wc_get_product and probably some other functions from WooCommerce
[MAILPOET-3577]
2021-04-23 12:28:22 +02:00
Rostislav Wolny
6fd70d6555
Skip WooCommerce Subrcription Test when plugin not available
...
This is needed for builds for pull requests from external contributors.
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
01ef570c42
Add Woo Subscriptions segment acceptance test
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
120baeeb00
Add WooCommerceSubscriptions factory to tests
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
5dd376f881
Add support for subscriptions products into WooProducts factory
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
df2c7f7fb9
Add extension to control init state of plugins in acceptance tests
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
6ba56ad15b
Add ability to use 3rd party plugin functions in acceptance tests
...
All plugins that we keep active during acceptance tests bootstrap are then loaded
by WP Browser extension and that gives us ability to use their functions and classes
within the acceptance tests.
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
94450d1aff
Add acceptance tests method for activation WC Subscriptions
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
7d5d71d94a
Add WC Subscriptions installation to tests entry point
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
cccafb1481
Update segments API data mapper to support subscriptions segments
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
d0935a6fa3
Refactor select for operator in orders count segment to native select
...
[MAILPOET-3574]
2021-04-20 11:51:38 +02:00
Pavel Dohnal
9c13b40fef
Replace id with automation id
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
b207babf8f
Acceptance test to check creating and editing a number of orders segment
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
a983679566
Replace generic assertions with more specific ones in WooCommerceNumberOfOrdersTest
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
637a32ef77
Add integration tests for the WooCommerce number of orders segment
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
68b44e8e21
Add acceptance test for the WooCommerce number of orders segment
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
4f3738b0b1
Implement new WooCommerce dynamic segment based on the number of orders
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
0153e63db0
Add invalid paths tests
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
8903b04203
Improve test checks
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
369a04ba95
Add acceptance test for number of opens
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
deb6b9315e
Add new segment to data mapper
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c1a51d8be4
Add filter class
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Rostislav Wolny
53cb51b5dd
Update customer names on checkout using order/user data
...
This change replaces slow SQL queries used for updating customer names
with modification of those names using loaded data and subscriber model.
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Pavel Dohnal
65c9bad64c
Fix pre-selecting date value
...
[MAILPOET-3470]
2021-04-15 15:47:57 +02:00
Jan Lysý
fc455d7cfa
Add saving custom fields on subscribe
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
02e1ce7e4d
Remove getFields method from FormEntity
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
3d5905c288
Remove usage old model from FormsResponseBuilderTest
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
31bff0efb4
Remove rest of usage old model SubscriberIP
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
5ce4eeed10
Fix flaky test in SubscriberActionsTest
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
5ef040bb93
Add integration test for SubscriberSubscribeController
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
52f988d91e
Add integration test for StatisticsFormsRepository
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
4d56020071
Remove usage old model from Throttling
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
a715aa9b76
Replace usages of StatisticsForms with Doctrine
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
66a0834a37
Use CustomFieldRepository in integration APITest
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
52b3e34839
Create controller for subscribe Subscribers
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
d5de54b1d5
Refactor Throttling to service
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
13b4c74c00
Use Doctrine in SubscriberActions integration tests
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
69d5eb42f7
Use Doctrine in RequiredCustomFieldValidator
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Rodrigo Primo
5ceb084c64
Refactor Forms::delete() to use Doctrine
...
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Rodrigo Primo
49f0c054fd
Refactor Forms::restore() to use Doctrine
...
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Rodrigo Primo
e054f05222
Refactor Forms::trash() to use Doctrine
...
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Jan Lysý
966d6f36ff
Add integration test for SegmentDependencyValidator
...
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
Jan Lysý
8090dd1bb3
Add acceptance test for missing plugin message
...
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
Rostislav Wolny
49edb9e02a
Add test for woo commerce dynamic segments editing
...
[MAILPOET-3555]
2021-04-12 09:24:05 +02:00
Rodrigo Primo
a7fe876180
Fix PHPStan undefined property error introduced after update to version 0.12.83
...
This commit fixes the following PHPStan error what started happening
after the update to version 0.12.83. It seems that our model classes
work with properties using both snake_case and camelCase names, so that
is why the change made here doesn't affect the modified unit test.
```
------ ---------------------------------------------
Line tests/integration/Models/SubscriberTest.php
------ ---------------------------------------------
740 Access to an undefined property
MailPoet\Models\Subscriber::$deleted_at.
------ ---------------------------------------------
```
[MAILPOET-3491]
2021-04-12 08:55:14 +02:00