Rostislav Wolny
0eb531f675
Fix comment fields test
...
Adding a WpPostEntity caused a side effect that the cleanup extension
for integration tests started processing also the post table
and removed the post the test was relying on.
This commit fixes the issue by creating the post for the test within the test.
[MAILPOET-5813]
2024-01-08 11:33:18 -06:00
Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
David Remer
4b2a63e8d6
Use - instead of _ in field keys
...
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
042daf934e
Add NewsletterLinkSubject
...
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
ae0e952159
Use the correct WordPress wrapper
...
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
1d885ea238
Add order created|cancelled|completed triggers
...
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
d4ea49d09a
Move OrderStatusChangeTrigger into own namespace
...
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
694be68f4a
Add post ID to comment
...
[MAILPOET-5687]
2023-10-31 15:08:49 +01:00
David Remer
73d7a0963a
Add product post type
...
[MAILPOET-5687]
2023-10-31 15:08:49 +01:00
David Remer
48ade93b6e
Add tests for post and comment fields
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
Rodrigo Primo
9b56fdc688
Replace expect()->count() with verify()->arrayCount()
...
codeception/verify 2.1 removed support for expect()->count() so we need
to replace it with verify()->arrayCount().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Jan Jakes
d0726e348e
Implement if/else action
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
David Remer
6ef3435a80
Remove segment as a required subject
...
If a segment is given, the subscriber needs to be subscribed to it, otherwise
the subscriber only needs to be globally subscribed
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
b2320d2982
Add test for OrderFieldFactory to check for variable products
...
[MAILPOET-5553]
2023-10-02 14:24:42 +02:00
David Remer
3de300da3a
Change method name to withStep
...
trunk changed the method name, this commit reflects this change for the tests
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
David Remer
8876007085
Add test for BuysFromACategoryTrigger
...
[MAILPOET-5517]
2023-09-25 07:11:43 -07:00
David Remer
a62618ffdd
Add test for BuysAProductTrigger
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
John Oleksowicz
2517023ad0
Fix automation factory method calls
...
addStep was renamed to withStep but the calls in this helper weren't
updated
2023-09-20 19:03:25 +02:00
Jan Jakes
9d94c1c5f2
Fix method naming and argument type
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
e343c9201a
Use step run controller in delay action
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
eeb4d64e8b
Pass step run controller to automation actions
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
5f088d2c35
Add step run number to step run args
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
David Remer
c271a1f11a
Remove outdated todo comment
...
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
David Remer
330d747f36
Add test for AbandonedCartTrigger
...
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
Jan Jakes
c09410af94
Include parent category IDs in customer order fields
...
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
Jan Jakes
6414cc832c
Include parent category IDs in order category field
...
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
Jan Jakes
8e640acaf1
Fix is-first-order for guest customers
...
[MAILPOET-5459]
2023-08-14 13:59:38 +02:00
John Oleksowicz
ee40743a96
Fix tests
...
MAILPOET-5410
2023-08-11 16:39:57 +02:00
David Remer
8b81016814
Add getAutomationsInTimespan method to controller
...
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8c2251089f
Add AutomationEmailController
...
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
Jan Jakes
e9dc3d8b12
Make sure "wc-" prefixes are removed from order status options
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
82e2025e83
Use enums for countries also for customer fields
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
0199786a0e
Use enums for countries
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
a3cfeea552
Use tester helper to make sure order gets autocleaned
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
8b04415243
Ensure billing email in orders (required by HPOS sync)
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
f0e2681a55
Add functionality to create and properly clean Woo coupons in integration tester
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
94af99e5dd
Add functionality to create and properly clean WP terms in integration tester
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
e1653dcfcf
Add functionality to create and properly clean Woo products in integration tester
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
c2a63f4614
Unify automation ID format with WC order format
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
f9e7b38894
Add products field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
84c00e98d9
Add tags field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
f3a6708562
Add categories field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
7818ff645d
Add is-first-order field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
9375d8cab7
Add coupon field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
15746341c0
Add total field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
6c270b88e7
Add status field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
01b13e27bc
Add payment method field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
75adee5d23
Add customer note field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
0e7c26885d
Add paid date field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
13e7afdc2a
Add created date field
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00