Commit Graph

13 Commits

Author SHA1 Message Date
Rostislav Wolny
0b701851e9 Install de_DE language to the site during Docker bootstrap
This fixes an issue with the test that switches languages and
It had to wait a long time to ensure the languages are installed.
2025-04-24 16:19:52 +02:00
Rostislav Wolny
3f239f55ad Add temporary patch for WP CLI issue with _load_textdomain_just_in_time
There is a fix in https://github.com/woocommerce/woocommerce/pull/57291
but it will be released probably in 9.9.0.

This commit adds a temporary fix that replaces
problematic FeaturesUtil::feature_is_enabled( 'blueprint' ) with false.

This should be fine as we don't test with the blueprint feature enabled.
2025-04-24 16:19:52 +02:00
Rostislav Wolny
2024789914 Update usage of download Woo Memberships after removing support for version
[MAILPOET-6502]
2025-03-15 10:18:47 +01:00
Rostislav Wolny
f59b98eb88 Refactor installation of specific WP version in test env
This commit changes how we install a specific WP version when required
for tests via the WORDPRESS_VERSION env variable.
In the previous approach, we installed the original version from the image
and then updated to the required version. We had some issues as after the
update, there might be some leftover background tasks, etc. that may
interfere with the tests.
In the new approach, we download the required version
prior to the installation.
[MAILPOET-6501]
2025-03-13 17:27:21 +01:00
Pavel Dohnal
0a87464b42 Disable block patterns caching
caching is dependent on the path, however it differs for the test run and wp-cli so it produces notices and tests fail
[MAILPOET-6353]
2024-12-02 12:01:54 +01:00
Rostislav Wolny
85fad80a10 Update docker entry point for tests to use Codeception from root
[MAILPOET-6244]
2024-11-22 17:40:25 +01:00
Rostislav Wolny
7781f46fcb Enforce direct FS_METHOD in tests to avoid FTP credentials issues
[MAILPOET-6244]
2024-11-20 22:28:39 +01:00
Jan Lysý
1af3c09422 Bootstrap email-editor integration tests
I tried to minimize the code repetition.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
Pavel Dohnal
1a0fecf2db Rename docker-compose to docker compose
[MAILPOET-6233]
2024-09-18 07:52:26 +02:00
Jan Lysý
4e8b7b7f34 Add command updating WP database to docker-entrypoint.sh
[MAILPOET-6159]
2024-08-06 10:17:36 +02:00
Jan Lysý
ccc922548b Rename test parameter from LATEST_BETA to WORDPRESS_VERSION
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Jan Lysý
870008123c Make the test environment compatible with the premium plugin
[PREMIUM-230]
2024-08-01 11:48:13 +03:00
Jan Lysý
22584747a0 Move tests docker configuration
Because we want to unify tests environment in the premium plugin. This step should allow us to reuse it easier.
[PREMIUM-230]
2024-08-01 11:48:13 +03:00