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

WordPress 6.6 Compatibility #13732

Merged
merged 12 commits into from
Jun 27, 2024
10 changes: 10 additions & 0 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ jobs:
wp: 'latest'
snapshots: true
shard: '2/2'
- browser: 'chrome'
wp: '6.6-RC1'
snapshots: false
shard: '1/2'
experimental: true
- browser: 'chrome'
wp: '6.6-RC1'
snapshots: false
shard: '2/2'
experimental: true

steps:
- name: Harden Runner
Expand Down
7 changes: 5 additions & 2 deletions packages/e2e-test-utils/src/publishPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,12 @@ async function publishPost() {
() =>
wp.data.select('core/editor').getEditedPostAttribute('status') ===
'publish' &&
document.querySelector(
(document.querySelector(
'.editor-post-publish-button[aria-disabled="true"]'
).textContent === 'Update'
).textContent === 'Update' ||
document.querySelector(
'.editor-post-publish-button[aria-disabled="true"]'
).textContent === 'Save')
);

// The first time around the selector might return undefined.
Expand Down
3 changes: 3 additions & 0 deletions packages/e2e-tests/src/config/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ const ALLOWED_ERROR_MESSAGES = [
// Coming from <amp-story-player>
// See https://github.com/ampproject/amphtml/blob/413457c3598f8c6694ca4ee7b83a5d84f9b9f00c/src/amp-story-player/amp-story-player-impl.js#L562
"Unrecognized feature: 'web-share'",

// This is a known issue in core.
'You are importing createRoot from "react-dom" which is not supported.',
];

export function addAllowedErrorMessage(message) {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Web Stories ===

Contributors: google
Tested up to: 6.5
Tested up to: 6.6
Requires at least: 6.4
Stable tag: V.V.V
License: Apache-2.0
Expand Down
Loading