Jan Lysý
ce7b210da9
Bump tested up to
...
[MAILPOET-4841]
2022-11-26 09:09:00 +01:00
Jan Lysý
1a2d8b8d40
Add saving nicename for created WP users
...
[MAILPOET-4841]
2022-11-26 09:09:00 +01:00
Jan Lysý
fe2df00a8c
Use the latest WP version as default for acceptance tests
...
[MAILPOET-4841]
2022-11-26 09:09:00 +01:00
Rostislav Wolny
20577d974f
Replace custom createSubscriber method with common factory method
...
[MAILPOET-4860]
2022-11-25 17:17:48 +01:00
Rostislav Wolny
7369465a3a
Add subscribers cleanup to stats notification worker test
...
The test creates subscribers and there was not cleanup so this was increasing
probability of conflict in subscribers email.
[MAILPOET-4860]
2022-11-25 17:17:48 +01:00
Jan Jakes
5769fa45f5
Use helper methods for method column migration
...
This fixes issues with MailPoet in multiple schemas on the same MySQL instance as well
as simplifies the code. The migration was also renamed to a newer date. Additionally, the
edit of the initial MailPoet migration was reverted as this is not needed.
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
193b4cbf98
Set missing unsubscribe method for failing tests
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
461df1a560
Adjust strict_types & method typehint based on PR feedback
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
d5f78680eb
Add integration test for unsubscibe properties
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
96dde7107b
Expose unsubscribe analytics properperties
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
3e756bfadd
Add test to assert correct unsubscription method is saved
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
82c755200e
Augment track persister test with method as meta
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
735d33d05b
Add method of tracking when tracking unsubscriptions
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
Sam Najian
90c8e5b2c9
Introduce method column to statistics_unsubscribes table
...
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
David Remer
cd1f06b116
Forbid assert() in code base
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
173f347431
Fix assert in Helper
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
353d3389cd
Fix assert in data factories
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
fe364978a1
Fix usage of assert in acceptance tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
cd512bbb01
Fix instanceOf assertions in unit tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
f5193df721
Fix not null assertions in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
25b5d24867
Fix is_array assertion in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
1d99ff0943
Fix all is_string assertions in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
99d6d96b05
Fix all is_numeric asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
6ddfe2c605
Remove ignores no longer needed
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
d2ec7bba42
Replace instance_of asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
2557171953
Fix assert() in lib
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Rodrigo Primo
0d7e45ea03
Fix filename that is removed by fix-monolog.php
...
The following error is being thrown when running composer commands:
```
> php fix-monolog.php
rm: cannot remove 'mailpoet/mailpoet/prefixer/../vendor-prefixed/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php': No such file or directory
```
This is happening because in commit 9b71a7804c
we updated Monolog from v1 to v2. v2 renamed the file ElasticSearchHandler.php
to ElasticsearchHandler.php (see
4c7795d310
).
Note that search is not spelled with a capital S anymore. We didn’t update
fix-monolog.php to reflect this change.
This commit updates fix-monolog.php to use the new file name and to remove
the error.
[MAILPOET-4856]
2022-11-25 13:47:24 +01:00
Rostislav Wolny
e677169a51
Update Mysql image for integration and acceptance tests
...
[MAILPOET-4851]
2022-11-25 13:37:08 +01:00
Rostislav Wolny
e268eac378
Add healthcheck for mysql service in the test environment
...
This is replacement for custom wait scripts and also should ensure
that DB is ready before starting the wordpress serive container,
which was missing the check.
[MAILPOET-4851]
2022-11-25 13:37:08 +01:00
Jan Lysý
375f2b13c5
Try select option in select 2 multiple times
...
[MAILPOET-4555]
2022-11-25 13:21:42 +01:00
Rostislav Wolny
34406a2f72
Fix flaky WooCommercePurchaseTest
...
[MAILPOET-4854]
2022-11-25 13:10:30 +01:00
Jan Lysý
cc658bcc3d
Split one big test case into three smaller
...
[MAILPOET-4846]
2022-11-25 13:04:46 +01:00
Jan Lysý
973aefe7ae
Hide black Friday notice in acceptance tests
...
[MAILPOET-4846]
2022-11-25 13:04:46 +01:00
Jan Lysý
34e91251e8
Add waiting on clickable trash button
...
[MAILPOET-4846]
2022-11-25 13:04:46 +01:00
Jan Jakes
882402645d
Do not wrap automations beta badge, make it a bit smaller
...
[MAILPOET-4840]
2022-11-25 09:55:11 +01:00
Rodrigo Primo
d9d4dccc09
Make instruction on how to test with different PHP versions more generic
...
This commit just updates the README file so that it doesn't mention
specific PHP versions. This way we don't have to update it every time we
add a new version to the dev environment.
[MAILPOET-4855]
2022-11-25 09:33:39 +01:00
Rodrigo Primo
9d2fcccbf5
Add option to run the dev env with PHP 8.2RC6
...
[MAILPOET-4855]
2022-11-25 09:33:39 +01:00
Jan Jakes
c4fdd881e6
Retry language updates if they are not scheduled yet
...
[MAILPOET-4849]
2022-11-24 16:58:18 +01:00
Jan Jakes
83f7eee8ae
Early return to make the migration idempotent
...
[MAILPOET-4852]
2022-11-24 16:04:29 +01:00
Jan Jakes
dc1f63d8bb
Rename segments migration to be executed again
...
[MAILPOET-4852]
2022-11-24 16:04:29 +01:00
Jan Jakes
3e2425abd8
Rewrite segments migration to use helper methods, Doctrine DBAL, and lower number of queries
...
[MAILPOET-4852]
2022-11-24 16:04:29 +01:00
Jan Jakes
65e78c7990
Add helper to determine whether a column exists
...
[MAILPOET-4852]
2022-11-24 16:04:29 +01:00
Jan Jakes
2bdc5d3683
Add helper to get current table name
...
[MAILPOET-4852]
2022-11-24 16:04:29 +01:00
Jan Lysý
1de276378f
Use different container names for different parallel runs
...
[MAILPOET-4851]
2022-11-24 15:48:43 +01:00
Jan Lysý
cc76fe77f0
Ensure that docker caching on CircleCi is disabled
...
[MAILPOET-4851]
2022-11-24 13:29:20 +01:00
Rostislav Wolny
c8636aac6f
Update selenium and chrome image
...
[MAILPOET-4848]
2022-11-24 10:34:59 +01:00
Rostislav Wolny
a09f41143e
Update codeception, webdriver and lucatume/browser
...
[MAILPOET-4848]
2022-11-24 10:34:59 +01:00
Jan Lysý
8b29694446
Compare scheduledAt with delta
2022-11-24 10:06:59 +01:00
David Remer
5e0e89408c
Test CaptchaFormRenderer
...
[MAILPOET-4203]
2022-11-24 09:20:39 +01:00
David Remer
86076547c3
Raise aria-live level
...
[MAILPOET-4203]
2022-11-24 09:20:39 +01:00