Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Rodrigo Primo
fa9236d8c9
Replace expect()->greaterThan() with verify()->greaterThan()
...
codeception/verify 2.1 removed support for expect()->greaterThan() so we need
to replace it with verify()->greaterThan().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
a1f57361c5
Replace expect()->array() with verify()->isArray()
...
codeception/verify 2.1 removed support for expect()->array() so we need
to replace it with verify()->isArray().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
525495409c
Replace expect()->notNull() with verify()->notNull()
...
codeception/verify 2.1 removed support for expect()->notNull() so we need
to replace it with verify()->notNull().
[MAILPOET-5664]
2023-10-24 08:58:22 +03: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
Rodrigo Primo
709be1d541
Replace expect()->null() with verify()->null()
...
codeception/verify 2.1 removed support for expect()->null() so we need
to replace it with verify()->null().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22
Replace expect()->equals() with verify()->equals()
...
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Jan Jakes
7fac20fc8c
Make default error value NULL, make data non-nullable
...
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
Jan Jakes
8eb2e3f43e
Rename hook to better correspond to its function
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
944b440bdf
Rethrow integration log exceptions in debug mode
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
701984523f
Add step handler logging tests, remove them from run log test
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
4b6d88c0bc
Add step scheduler test
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
d680e0aad7
Add step run logger test
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
ef97e4d05a
Add logging for automation triggers
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
370f4ee3ae
Add step type, step key, and updated timestamp to run logs
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
9cd871c32e
Remove unused step runner interface
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
d8afb42d89
Fix inconsistency between automation run and run log statuses
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
David Remer
8d8fcf3164
Query log statistics for automation in a timeframe
...
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
d2fce2014a
Query statistic how many runs in a timeframe are at which step
...
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
edffd4e705
Test that automation with correct versions are loaded
...
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
38012ae8a1
Test it loads the correct version dates
...
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
Jan Jakes
f75620a7c1
Add IDs for filter groups and filter definitions
...
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
Jan Jakes
34ca96d007
Introduce filters data type and filter groups to enable saving and/or filter combinations
...
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
Jan Jakes
a6fcc60de3
Add "of" preposition to matches any/all/none
...
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
Jan Jakes
51c22c7044
Add integration test for trigger filters
...
[MAILPOET-4946]
2023-04-20 16:32:32 +02:00
John Oleksowicz
e7f766aedf
Remove empty _afters
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
f90e869402
Clean up after automations too
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8
Extract customer creation/cleanup
...
This also ensures that cleanup always runs after all integration tests
MAILPOET-5145
2023-04-07 12:11:12 -05:00
David Remer
301a10b210
Move TestAction to Stubs
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
c847f69e9d
Remove unnecessary brackets
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
dd3b37aba8
Improve names for all meta methods
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
60541209ff
Test full validation method in Automation
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
63141bca95
Test the automation comparison method
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8cfb93a3b6
Add meta data to Automation
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
cd9bf9107f
Move createAutomationRun method to integration tester
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7379b83a92
Move createAutomation method to integration tester
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c4faa53386
Store run subjects in extra table
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Rostislav Wolny
03d7306611
Add check from automation flows with welcome emails
...
This commit improves the check that a user has set a welcome email campaign (a task in product discovery task list)
by checking also for automation flows that are triggered by new subscriber or user and contain
send email action.
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Jan Jakes
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
John Oleksowicz
0566b3f5fa
Fix remaining code style issues
...
[MAILPOET-4850]
2022-11-28 22:24:54 +01:00
John Oleksowicz
ac4adac1ab
Fix test class name
...
[MAILPOET-4850]
2022-11-28 22:24:54 +01:00
David Remer
08c76a46af
Fix Squiz.Classes.ClassFileName.NoMatch and related errors
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
a151f93be1
Fix Generic.CodeAnalysis.JumbledIncrementer.Found
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
bce6a06c15
Fix Sniffs.ControlSignature.Found
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
c7f850e1ba
Declare strict types
...
[MAILPOET-4842]
2022-11-28 13:03:06 +01:00
David Remer
af95080b67
Add test for TriggerHandler
...
[MAILPOET-4842]
2022-11-28 13:03:06 +01:00
David Remer
d2ec7bba42
Replace instance_of asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Jan Jakes
7c5d239267
Fix and unify cleanup in automation tests
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
9063dc3079
Remove duplicities in naming
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00