Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E - WP nightly tests fail while installing & activating Gutenberg #4742

Closed
achyuthajoy opened this issue Sep 12, 2022 · 0 comments · Fixed by #4743
Closed

E2E - WP nightly tests fail while installing & activating Gutenberg #4742

achyuthajoy opened this issue Sep 12, 2022 · 0 comments · Fixed by #4743
Assignees
Labels
category: devops Features and tools supporting dev process. category: e2e Issues and PRs related to e2e tests.

Comments

@achyuthajoy
Copy link
Contributor

achyuthajoy commented Sep 12, 2022

Describe the bug

While running scheduled E2E tests against WP nightly, the E2E environment setup fails while installing and activating the latest version of Gutenberg with the error:

Fatal error: Cannot redeclare wp_add_global_styles_for_blocks() (previously declared in /var/www/html/wp-includes/global-styles-and-settings.php:202) in /var/www/html/wp-content/plugins/gutenberg/lib/compat/wordpress-6.1/get-global-styles-and-settings.php on line 11

Reference job - https://github.com/Automattic/woocommerce-payments/runs/8288457937?check_suite_focus=true

The problem is caused by a change on WP core and is being discussed here - WordPress/wordpress-develop#3206 (comment)

Actual behavior

The E2E environment setup fails for WP nightly tests.

Expected behavior

The E2E environment setup should work as expected for WP nightly tests

@achyuthajoy achyuthajoy added category: e2e Issues and PRs related to e2e tests. category: devops Features and tools supporting dev process. labels Sep 12, 2022
@achyuthajoy achyuthajoy self-assigned this Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: devops Features and tools supporting dev process. category: e2e Issues and PRs related to e2e tests.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant