Commit Graph

152 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
21792b0a0b Refactor \MailPoet\Test\DataFactories\ScheduledTask to Doctrine
[MAILPOET-3817]
2021-11-22 13:53:13 +01:00
Rodrigo Primo
4285b02518 Change diContainer to regular variable and add PHPDoc for entityManager property
[MAILPOET-3842]
2021-10-04 13:25:44 +02:00
Rodrigo Primo
7d87b042e8 Add factory method to create ScheduledTasks
[MAILPOET-2996]
2021-10-04 13:25:44 +02:00
Rostislav Wolny
b7334544d8 Fix coding style in StatisticsBounces data factory
[PREMIUM-154]
2021-09-20 15:24:27 +02:00
Jan Lysý
cfe08692c7 Create data factory for StatisticsBouncesFactory
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Pavel Dohnal
21839fc30b Fix indentation of multiline function declarations
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca Make all constructor signatures multiline
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Brezo Cordero
04adfe6fc6 Use data factories on tests
[MAILPOET-3637]
2021-09-06 10:08:09 +02:00
Brezo Cordero
1de3aef76f Use data factories on tests
[MAILPOET-3637]
2021-09-06 10:08:09 +02:00
Rostislav Wolny
774142dd01 Add test for subscriptions via Woo on my-account page
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
9819fba27b Update lucatume/wp-browser
We need to add wp-cli/wp-cli-bundle since it is required for
lucatume/wp-browser's wp cli module, but is not longer installed automatically
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
3b88d0d2ba Add action value into UserRole DynamicSegment
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
5bc8efb36b Fix factory for DynamicSegments
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Pavel Dohnal
6301ac6fb6 Remove redundant code
[MAILPOET-3627]
2021-06-14 11:28:18 +02:00
Pavel Dohnal
c8964b88a3 Prevent duplication of data in factories
[MAILPOET-3627]
2021-06-14 11:28:18 +02:00
Pavel Dohnal
7bf6c44ea0 Refactor newsletter data factories to doctrine
[MAILPOET-3627]
2021-06-14 11:28:18 +02:00
Pavel Dohnal
093c1c4669 Refactor form factory to doctrine
[MAILPOET-3627]
2021-06-14 11:28:18 +02:00
Jan Lysý
f7b77cf75d Remove FormRepository from SettingsController
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Pavel Dohnal
42ada2df95 Add an acceptance test
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Rostislav Wolny
c4406d6bbe Fix typo in error message and data factory method name
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
dd842bd4c3 Add acceptance test checking country segment loads customers
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
548fa5595f Remove forgotten debug
[MAILPOET-3482]
2021-04-26 13:47:41 +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
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
Rodrigo Primo
68b44e8e21 Add acceptance test for the WooCommerce number of orders segment
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Jan Lysý
cb0d3c70ad Use Doctrine for update success message in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
Rostislav Wolny
f5df2601ef Refactor segment test data factories to work with Doctrine
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Jan Lysý
76d79397c2 Add methods for name in a form to DataFactory
[MAILPOET-3440]
2021-03-01 10:08:08 +01:00
Jan Lysý
922c52f7df Remove phpstan errors from the rest of the tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Jan Lysý
c904453b98 Create User factory in the Acceptance tests
[MAILPOET-3142]
2021-01-05 13:17:46 +01:00
Pavel Dohnal
56109b1041 Add acceptance test
[MAILPOET-3206]
2020-11-26 13:51:58 +01:00
Pavel Dohnal
830454ceb3 Prevent tutorial in tests
[MAILPOET-3206]
2020-11-26 13:51:58 +01:00
Rostislav Wolny
2b90042189 Add acceptance test for WooCommerce dynamic segments
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
cd55fab78f Add statistics opens data factory for tests
[PREMIUM-145]
2020-09-03 15:04:11 +02:00
Pavel Dohnal
401b780dce Use refactored in form displaying
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
Pavel Dohnal
d325a80695 Update acceptance tests
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Rostislav Wolny
8312f1c808 Add explanatory comments for test fixes
[MAILPOET-3024]
2020-07-08 13:12:11 +02:00
Rostislav Wolny
10f062b9ce Ensure no running backend cron tasks when test starts
[MAILPOET-3044]
2020-07-08 13:12:11 +02:00
Veljko V
cad3ee2aab Add scenario various status newsletters
MAILPOET-3042
2020-07-07 15:42:51 +02:00
Amine Ben hammou
748378a58e Fix acceptance tests
[MAILPOET-2708]
2020-04-03 11:17:50 +02:00
Jan Jakeš
6c10594a9b Add acceptance test for unapproved key notices
[MAILPOET-2729]
2020-03-24 19:55:36 +01:00
Rostislav Wolny
f7f09edaeb Ensure same success message in a form test
[MAILPOET-2797]
2020-03-19 10:00:24 +01:00
Rostislav Wolny
564c61a82b Add acceptance test for form with columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Jan Jakeš
81531116e7 Fix signup confirmation email for WP users trigger
[MAILPOET-2700]
2020-02-24 18:59:05 +00:00
Jan Jakeš
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
10689f7a3c Add missing MSS not activated message & activation button
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
300f0141e1 Add acceptance tests for MSS & Premium install/activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00