Commit Graph

3851 Commits

Author SHA1 Message Date
Pavel Dohnal
3b7752daed Refactor creating new list to Doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
e31707903e Refactor import export test to doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Rodrigo Primo
5e73b78840 Remove extra space after opening parenthesis
[MAILPOET-3682]
2021-08-23 10:57:41 +02:00
Brezo Cordero
e6fbf98da8 Fix generate data command
[MAILPOET-3682]
2021-08-23 10:57:41 +02:00
Jan Lysý
79a2d1f934 Check that data are not array before base64 decoding
[MAILPOET-3699]
2021-08-23 09:51:29 +02:00
Brezo Cordero
d2570001db Add test for orphan SubscriberSegments deletion
[MAILPOET-3652]
2021-08-19 09:04:31 +02:00
Pavel Dohnal
bb52329168 Track user agent on click
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
0b675680ef Refactor click tracking to Doctrine
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
7197be3116 Override user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
9f672adad4 Add test for existing user agent
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
a84471b65c Save user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Jan Lysý
f9a093c958 Add testing rendering button in post process
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
f6a881da98 Remove redundant important from style
We test stripping redundant from rendered emails. I removed redundant important option.
It is based on this article:
https://www.litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design/

[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
811b25673e Update newsletter ButtonTest.php
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Rodrigo Primo
7ffb85d1cf Update jsdom to version 16.7.0
This commits updates jsdom to version 16.7.0. It also updates
tests/javascript_newsletter_editor/mochaTestHelper.js to use the new
jsdom API as the old API was removed.

[MAILPOET-3678]
2021-08-16 11:00:54 +02:00
Brezo Cordero
44932d27c9 Allow import subscribers with empty IP address
Allow import subscribers with empty confirmed_ip or subscribed_ip when one of the columns is selected in the last step of the import.
Don't allow importing invalid IP addresses - still import the subscriber but remove the invalid IP address.

[MAILPOET-3665]
2021-08-16 10:37:31 +02:00
Jan Lysý
74dc9fce53 Remove the character "~" from counts
[MAILPOET-3708]
2021-08-16 10:25:37 +02:00
Brezo Cordero
b2857cbf40 Refactor code that checks for list deletion with form
Move segment deletion to new function doTrash to avoid calling methods twice on individual segment deletion. Refactor acceptance test.

[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
711830d44d Add acceptance test for list with form deletion
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
d9186e4230 Prevent deleting a list if attached to a form
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Rostislav Wolny
adcbcc9982 Add tests for existing subscribers subscribing on checkout page
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
35058bca63 Add unsubscribes tracking for WooCommerce checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +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
b7cdb71f18 Delete redundant WooCommerce customer lists tests
Same functionality is tested in newly added subscription tests
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
c110851a82 Add acceptance tests for registered customer subscriptions on checkout
[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
Rostislav Wolny
3cedca311d Unsubscribe on checkout only when opt-in is checkbox is present
This change unifies behaviour with registration page opt-in checkbox.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
12c9019939 Mark customers without optin as unsubscribed
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rodrigo Primo
8513a4d986 Fix checkMissingTypehint PHPStan errors
This commit removes the checkMissingTypehints flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rodrigo Primo
e59992cc16 Fix checkGenericClassInNonGenericObjectType PHPStan errors
This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rostislav Wolny
c182e953ef Prevent trashing customer users when WP segment is inactive
[MAILPOET-3695]
2021-08-09 12:36:29 +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ý
ac2346a181 Copy mailpoet-premium instead of softlink
[MAILPOET-3586]
2021-08-02 08:37:32 +02:00
Jan Lysý
853e3c4f0e Remove CleanupPremiumPluginExtension
[MAILPOET-3586]
2021-08-02 08:37:32 +02:00
Pavel Dohnal
3941fccefa Update MSS testing address
[MAILPOET-3681]
2021-07-19 13:13:19 +02:00
Jan Lysý
0f6ad19036 Add clearing subscribers global status statistics
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
a6dc552cdc Use new controller with subscribers counts
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
b735c8ac85 Fix dependency in settings integration test
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
3b9bf6142c Fix flaky acceptance test ReceiveWelcomeEmailCest
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
9f9706e319 Clear cache in failing integration tests
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
7e7038deb3 Fix integration test fot DaemonHttpRunner
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
96c84009b7 Add tilde before subscribers count in selects
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Veljko
adaa004948 Fix manage segments flakiness [MAILPOET-3689] 2021-07-07 14:05:18 +02:00
Rostislav Wolny
7d3b84f27c Update FileSaver library
[MAILPOET-3568]
2021-07-06 13:29:00 +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
Rostislav Wolny
ff42762f93 Remove custom PDO driver
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00