@@ -330,7 +330,7 @@ Feature: Update WordPress core
330330 When I run `wp post create --post_title='Test post' --porcelain`
331331 Then STDOUT should be a number
332332
333- @require-php-7.2
333+ @require-php-7.4
334334 Scenario Outline : Use `--version=(nightly|trunk)` to update to the latest nightly version
335335 Given a WP install
336336
@@ -350,7 +350,7 @@ Feature: Update WordPress core
350350 | trunk |
351351 | nightly |
352352
353- @require-php-7.2
353+ @require-php-7.4
354354 Scenario : Installing latest nightly build should skip cache
355355 Given a WP install
356356
@@ -385,16 +385,41 @@ Feature: Update WordPress core
385385 Success:
386386 """
387387
388- @require-php-7.2
389- Scenario : Old files from $_old_files are cleaned up when upgrading
388+ Scenario : No HTML output from async translation updates during core update
390389 Given a WP install
390+ And an empty cache
391391
392- When I run `wp core download --version=6.8 --force`
392+ # Using `try` in case there are checksum warnings.
393+ When I try `wp core download --version=6.5 --locale=de_DE --force`
393394 Then STDOUT should contain:
394395 """
395396 Success: WordPress downloaded.
396397 """
397398
399+ When I run `wp core update --version=latest --force`
400+ Then STDOUT should not contain:
401+ """
402+ <p>
403+ """
404+ And STDOUT should not contain:
405+ """
406+ <div
407+ """
408+ And STDOUT should not contain:
409+ """
410+ <script
411+ """
412+ And STDOUT should not contain:
413+ """
414+ </div>
415+ """
416+
417+ @require-php-7.2
418+ Scenario : Old files from $_old_files are cleaned up when upgrading
419+ Given a WP install
420+
421+ When I run `wp core download --version=6.8 --force`
422+
398423 # Create files that should be removed according to 6.9 old_files list
399424 Given a wp-includes/blocks/post-author/editor.css file:
400425 """
@@ -473,3 +498,8 @@ Feature: Update WordPress core
473498 # Verify files from $_old_files were removed
474499 And the wp-includes/blocks/post-author/editor.css file should not exist
475500 And the wp-includes/blocks/post-author/editor.min.css file should not exist
501+ When I run `wp core version --extra`
502+ Then STDOUT should contain:
503+ """
504+ Package language: de_DE
505+ """
0 commit comments