Jan Jakes
a1632ea512
Satisfy PHPCS checks also in tests
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
9be6895cf1
Simplify automation test helpers
...
[MAILPOET-6131]
2024-07-10 12:56:52 +02:00
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
370f4ee3ae
Add step type, step key, and updated timestamp to run logs
...
[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
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
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
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
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
9d55d3f134
Use "automation" instead of "workflow"
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
af1e09f46f
Remove "inactive" status for now, use "draft" instead
...
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
dc5e5b4f8b
Use "automation" instead of "workflow" in user-facing strings
...
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
John Oleksowicz
4e82c5334b
Add ability to permanently delete workflow
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
David Remer
d077370086
Perform only one SQL query for the statistics
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
18c4257f1f
Drop hasValues method
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
368878c280
Simplify testItSeparatesWorkflowRunsCorrectly test
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
86c3d14af4
Fix typo
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
52dcba8493
Introduce WorkflowStatistics entity
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
b914a1d2ec
Rename SomeoneSubscribesTrigger key and class
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
John Oleksowicz
c828b7245d
Remove redundant step args from log
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
f126bdb2b9
Only allow a single error per log
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
6f8edfaec4
Make workflow run logs immutable
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
cdeea173b9
Add logging of workflow steps
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
Jan Jakes
1677cc2842
Save and load workflows in the new format, update API
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
David Remer
34d94edd3e
Add author to Workflow
...
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
293c1f4a46
Fix use statements in test
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
7f78c387cf
Test WorkflowStorage
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00