Rostislav Wolny
3b5d737143
Use WP ClI for setting wp-config.php constants
...
We experienced issues with replacing constants in wp-config.php using regular expressions.
E.g. it may stop working when new WP release changes default contents of the wp-config.php
Using WP CLI seems to be more reliable way of doing it.
[MAILPOET-4511]
2022-07-29 10:33:05 +02:00
Rostislav Wolny
1e1ef12d42
Remove no longer necessary WP CLI fix from acceptance tests
...
This seems to be already fixed in https://core.trac.wordpress.org/ticket/25239
[MAILPOET-4511]
2022-07-29 10:33:05 +02:00
Rostislav Wolny
3d4155f6cc
Fix setting wp-config.php for acceptance tests
...
The wp-config properties were not set correctly because there reg exp
that was used in sed was no longer matching the default value.
This was causing e.g. that errors and warnings were not caught by the acceptnace tests.
[MAILPOET-4511]
2022-07-29 10:33:05 +02:00
alex-mailpoet
1396a979f5
Fix PHPMailer on WP 5.6 in acceptance tests
...
[MAILPOET-4481]
Use SMTP in PHPMailer on WP 5.6 because its Docker container
has a misconfigured mail() function (no sendmail or alternative)
2022-07-27 08:50:03 +02:00
Sam Najian
b4d270c1f2
Expose test db port to local dev machine
...
A not very common db port number is used so that it won’t
easily conflict with other possible instances of database
MAILPOET-4468
2022-07-08 16:04:52 +02:00
Rodrigo Primo
3e76aa672a
Use WP 6.0 when running the acceptance tests
...
Just bumping the WP version used in the acceptance tests to the latest
version.
[MAILPOET-4297]
2022-06-15 13:50:20 +02:00
David Remer
47011ddc70
tmpfs uploads/mailpoet
2022-06-08 15:25:41 +02:00
David Remer
378515bd0e
Remove cache path from docker-compose
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
Sam Najian
b69b50f5d6
Enable Xdebug for integration tests
...
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Sam Najian
51fe5c58d4
Switch integrationtests to run use machine on CircleCi
...
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Sam Najian
4040f216ee
Enable sending email for local integration tests
...
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Sam Najian
393154e080
Adjust used Docker container to run integration tests
...
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Oluwaseun Olorunsola
aa0ce4a092
Update circleci/mysql 5.7.27 and 8.0 to cimg/mysql
...
MAILPOET-4103
2022-05-12 09:02:44 +02:00
Jan Jakes
ab27eaee2d
Autoformat files with prettier
...
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Rostislav Wolny
d41e395a74
Remove doctrine/annotations library before we start acceptance tests
...
The doctrine/annotation is not present in the production build.
This change makes the acceptance tests runtime closer the production environment.
[MAILPOET-4218]
2022-04-04 16:24:15 +02:00
Jan Lysý
4ce1c4f4e6
Use WPOrgDownloader for WC blocks downloading
...
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
Jan Lysý
7746d924f1
Add plugin WC Blocks activation into docker-entrypoint.sh
...
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
Jan Lysý
1e443ae295
Add downloading WooCommerce Memberships into docker-entrypoint.sh
...
[MAILPOET-4095]
2022-02-03 09:38:20 +01:00
Brezo Cordero
c8d7beb5dc
WIP: Fix acceptance oldest
...
[MAILPOET-4014]
2022-02-03 08:24:26 +01:00
Brezo Cordero
f2f54e80cb
Conditionally load theme on tests
...
[MAILPOET-4014]
2022-02-02 14:10:55 +01:00
Brezo Cordero
0fb8bf24bb
Switch theme in acceptance tests to 2021
...
[MAILPOET-4014]
2022-02-02 14:10:55 +01:00
Brezo Cordero
dc7b12dcc5
Update the WordPress image on acceptance tests
...
[MAILPOET-4014]
2022-02-02 14:10:55 +01:00
Brezo Cordero
d3bd77d883
Update runtime acceptance environment to 8.0
...
[MAILPOET-4014]
2022-02-02 14:10:55 +01:00
Jan Jakes
3ae90da1d5
Update all docker compose versions to 3.8
...
[MAILPOET-3919]
2022-01-18 15:30:22 +01:00
Jan Jakes
f247541f4d
Add M1 Mac-compatible containers to docker compose override samples
...
[MAILPOET-3919]
2022-01-18 15:30:22 +01:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00