Commit Graph

197 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
d630419982 Fixed fixed types error
[MAILPOET-1950]
2021-11-17 15:37:13 +01:00
Oluwaseun Olorunsola
d256d2a235 Fixed acceptance test errors
[MAILPOET-1950]
2021-11-17 15:37:13 +01:00
oluwaseun Olorunsola
7dea96cb90 Restore deleted UnitTester.php file due to lint check failing on Circleci
We discovered that Codeception will regenerate the file during unit testing. Unfortunately, the regenerated file fails lint check which prevents the build from passing on Circleci

We restored the file and left it empty

[MAILPOET-3822]
2021-11-08 11:26:23 +01:00
oluwaseun Olorunsola
1db12e5ce2 Deleted UnitTester.php file due to it not been used
[MAILPOET-3822]
2021-11-08 11:26:23 +01:00
oluwaseun Olorunsola
d5c510cd08 Remove the method \UnitTester::generateSubscribers
[MAILPOET-3822]
2021-11-08 11:26:23 +01:00
Pavel Dohnal
09242031f8 Remove code that is not used any more
[MAILPOET-3821]
2021-10-28 15:19:27 +02:00
Pavel Dohnal
6ecc0c3350 Refactor IntegrationTester to Doctrine
[MAILPOET-3821]
2021-10-28 15:19:27 +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
Rostislav Wolny
d8d777b4d2 Update inserting a block in acceptance tests
[MAILPOET-3654]
2021-08-30 12:10:55 +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
61e61d4612 Enable registration on my-account page in acceptance tests
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
3849b7fa33 Add acceptance tests for guest customers subscriptions on checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
7b773e2acb Fix createOrder in tests to work with disabled opt-in checkbox
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Jan Lysý
2deaeb284b Rename method in AcceptanceTester
[MAILPOET-3723]
2021-08-04 10:13:57 +02:00
Jan Lysý
d1edb2fa32 Skip StatPage acceptance test when Premium is active
[MAILPOET-3723]
2021-08-04 10:13:57 +02:00
Jan Lysý
853e3c4f0e Remove CleanupPremiumPluginExtension
[MAILPOET-3586]
2021-08-02 08:37:32 +02:00
Rostislav Wolny
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +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ý
96f39f81f5 Improve ManageSegments and remove waiting
[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
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
Rostislav Wolny
bfd6b75065 Improve reliability of selecting in select2 in acceptance tests
[MAILPOET-3594]
2021-04-29 16:38:20 +02:00
Rostislav Wolny
6fd70d6555 Skip WooCommerce Subrcription Test when plugin not available
This is needed for builds for pull requests from external contributors.
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
df2c7f7fb9 Add extension to control init state of plugins in acceptance tests
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
94450d1aff Add acceptance tests method for activation WC Subscriptions
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Pavel Dohnal
5480ceb879 Fix tests
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
7a98abdead Connect dynamic segments filters using UNION select
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Jan Lysý
cb0d3c70ad Use Doctrine for update success message in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
Jan Lysý
bf63e5b38e Include WP multisite function in IntegrationTester
[MAILPOET-3478]
2021-03-11 11:45:54 +01:00
wxa
13da0d77fe Update select2 [MAILPOET-3386]
The latest version has deprecated jQuery features removed.
It also has some breaking changes in HTML layout, so I had to fix styles to keep its design look.
2021-03-03 14:59:54 +01:00
Jan Lysý
922c52f7df Remove phpstan errors from the rest of the tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Veljko V
b5a4a36932 Update scenario to cover interpreting shortcodes [MAILPOET-3354]
[MAILPOET-3354](https://mailpoet.atlassian.net/browse/MAILPOET-3354)
2021-01-06 15:54:25 +01:00
Rostislav Wolny
90eb894b72 Refactor acceptance tests splitting to respect coding style
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
9473579766 Fix type issues in tests
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
c0c9b11c54 Add workaround for removed codeception/robo-paracept
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Veljko V
8de75ea84e Fix flakiness in Acceptance Tester [MAILPOET-3245]
[MAILPOET-3245](https://mailpoet.atlassian.net/browse/MAILPOET-3245)
2020-10-28 13:19:17 +01:00
Ján Mikláš
f9ac11fe63 Fix acceptance tests
[MAILPOET-2780]
2020-10-21 12:14:18 +02:00
Rostislav Wolny
f88e3655f0 Update acceptance tests to work with codeception/verify
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
Pavel Dohnal
713cb18d81 Fix woocommerce tests 2020-10-15 17:12:21 +02:00
Rostislav Wolny
95af49e43f Refactor creating/deleting WordPress users in integration tests
[MAILPOET-3077]
2020-09-29 08:24:11 +02:00
Rostislav Wolny
151afef2ee Fix flaky search for newsletters tests
[MAILPOET-3078]
2020-09-02 14:54:51 +02:00
Pavel Dohnal
55447e7e26 Update acceptance test
[MAILPOET-3049]
2020-08-13 10:34:40 +02:00
Pavel Dohnal
524cebbc6f Update acceptance test inserter
[MAILPOET-3049]
2020-08-13 10:34:40 +02:00
Rostislav Wolny
532ddeeb78 Refactor checking newsletter templates presence in tests
[MAILPOET-3091]
2020-08-11 16:33:24 +02:00
Rostislav Wolny
14067a22d9 Update codeception/codeception and related packages
[MAILPOET-2973]
2020-08-04 14:33:14 +02:00
wxa
79dea7ff78 Update acceptance tests [MAILPOET-1928] 2020-07-23 17:06:10 +02:00
Pavel Dohnal
5de4985da2 Mark all wc jobs completed before running a test
[MAILPOET-3048]
2020-07-15 11:06:19 +02:00