Commit Graph

16408 Commits

Author SHA1 Message Date
Rostislav Wolny
9160318616 Fix flaky ManageSegmentsCest:viewUserRoleSegmentSubscribers
The was failing because of slide down animation was causing that
when the actor was too quick the input was not visible.
[MAILPOET-4556]
2022-09-21 14:02:45 +02:00
Jan Lysý
a7ac298cc9 Merge branch 'release' into trunk 2022-09-21 13:10:22 +02:00
Jan Lysý
f1e13697dc Release 3.98.1 3.98.1 2022-09-21 11:23:03 +02:00
Rostislav Wolny
a0e1c4a341 Fix typo in re-engagement email activation notices
[MAILPOET-4654]
2022-09-21 11:09:16 +02:00
Rostislav Wolny
409ff2b751 Add activation tracking and display activation notice for re-engagement emails
[MAILPOET-4654]
2022-09-21 11:09:11 +02:00
Rostislav Wolny
d73de819ee Add tracking of Automattic email activation
[MAILPOET-4654]
2022-09-21 11:09:06 +02:00
Rostislav Wolny
ea2f56bacc Fix delay value in tracking of immediate welcome emails
I found out that we accidentally track values such as "1 immediate" etc.
This commit makes sure we track only string "immediate".
[MAILPOET-4654]
2022-09-21 11:08:59 +02:00
Rostislav Wolny
157035f58c Fix typo in re-engagement email activation notices
[MAILPOET-4654]
2022-09-21 10:54:44 +02:00
Rostislav Wolny
4662c03d0d Add activation tracking and display activation notice for re-engagement emails
[MAILPOET-4654]
2022-09-21 10:54:44 +02:00
Rostislav Wolny
38d7a8821c Add tracking of Automattic email activation
[MAILPOET-4654]
2022-09-21 10:54:44 +02:00
Rostislav Wolny
cba6f19bf8 Fix delay value in tracking of immediate welcome emails
I found out that we accidentally track values such as "1 immediate" etc.
This commit makes sure we track only string "immediate".
[MAILPOET-4654]
2022-09-21 10:54:44 +02:00
David Remer
e1e5749eca Change isTriggeredBy signature for clarity
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
f88c72a7c6 Rename SomeoneSubscribedTrigger to SomeoneSubscribesTrigger
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
40acca4cbe Use correct doc type
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
b914a1d2ec Rename SomeoneSubscribesTrigger key and class
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
ef02e4278c Name selected prop value prop to align with underlying FormTokenField props
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
a69b1264c9 Preload segments
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
c0e8a70f06 Turn no item selected to former 'any item' behavior
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
d093f4f5a7 Open on focus and select first match
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
3156c00a09 Add frontend for user registration trigger
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
bb5da626ba Add UserRegistrationTrigger
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
b0514a1366 Expose user roles to JavaScript
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
e2c9356f4c Execute WorkflowRun only when trigger criteria are met
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
9d2720f504 Extend arguments schema with segment_ids
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
1196df44a6 Add lists selector in sidebar
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
b2969c1de1 Render Trigger title differently from usual steps
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
Rodrigo Primo
df8ba7351c Replace old SendingQueue model with Doctrine code in SubscribersTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
85d317015f Replace old Segment model with Doctrine code in SubscribersTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
4157a864e5 Replace old Subscriber and SubscriberSegment models with Doctrine code in SubscribersTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
0677dbc3b0 Add method to set deletedAt property to SubscriberFactory
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
929e5e6081 Replace old CustomField model with Doctrine code in SubscribersTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
8191af6a23 Replace old models with Doctrine code in SettingsTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
c3ab2fffec Replace old models with Doctrine code in NewslettersTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Rodrigo Primo
f19e98091c Replace CustomField model with Doctrine code in CustomFieldsTest
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
Jan Lysý
090d592a9c Release 3.98.0 2022-09-20 13:12:00 +02:00
Rostislav Wolny
4256a18b82 Run COT related jobs only on trunk and branches prefixed cot-
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
9a7dc5a299 Add integration tests for Woo beta with COT off and disabled sync
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
dbf5ad94ef Add acceptance tests for Woo beta with COT disabled and no sync
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
5de513974b Fix running acceptance tests test group on Circle CI 2022-09-19 11:38:03 -03:00
Rostislav Wolny
5d8ccb96b4 Add configuration to allow failures in acceptance and integration test
This option is temporary until we and woo fix all the COT related issue so that all tests pass.
We want to monitor progress of the COT fixes and keep build green even when some issues are still present.
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
dfb551d91f Add acceptance test job for woo test with COT enabled
[MAILPOET-4752]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
65a6edff16 Add integration test job running woo tests with COT enabled
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
d7f6e907f0 Mark WooCommerce related acceptance tests with group woo
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
ebdeabaccf Add option to disable COT Synchronization into integration and acceptance tests
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
be9643515e Add option for toggle COT in integration and acceptance tests
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
b371c631c4 Add helper mu-plugin for adding COT in tests
When plugin is active COT is enabled. The plugin also adds WP CLI command
for creating custom order tables so that we don't have to do it via admin UI.
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
82218ca48c Add ./do reset:test-docker command
We already have a similar command ./do delete:docker which removes everything
related to docker for test environment including images.
This is an overkill in case one wants to do just basic cleanup of container and volumes e.g. to allow
activation of a different version of WooCommerce
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
910ded0f30 Add temporary command for downloading WooCommerce build with COT
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Jan Lysý
f2e355f7d5 Refactor building newsletters lists
Because some customers have a memory issue when we load all newsletters.
I used partial loading newsletters to prevent this error that was caused by json in the newsletter body.
[MAILPOET-4646]
2022-09-19 14:32:55 +02:00
Rodrigo Primo
6e399a5842 Replace getSubscribedSegments() with a new getSubscriberSegments() parameter
After the PR review, we decided to add a new $status parameter to
getSubscriberSegments() instead of creating getSubscribedSegments().

[MAILPOET-4365]
2022-09-19 13:35:39 +02:00