mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Update the WP packages with fixes prior to WP 6.2 beta 3
Includes the following changes: - Upgrade Playwright to 1.30.0 - [Block Editor - Inserter]: preload media categories empty check - client side - Navigation: Fixes undo and redo for nesting operations in the navigation block's inspector - Fix: OffCanvasEditor does not inserts submenu on collapsed items. - OffCanvasEditor: Only allow some blocks to be converted to submenus - Navigation: Updates "Add Submenu item" text to "Add Submenu link" - Update: Make OffCanvasEditor use LeafMoreMenu by default. - Template Part: Performance: Replace usage of wp_get_theme()->get_stylesheet() with get_stylesheet() - Widget Editor: Fix a problem with 'Move to Widget Area' button not working - Reusable Blocks: Use React 18 rendering for import dropdown - useAsyncList: flush state updates when processing queue - Refactor the site editor URLs for better backward compatibility - Template editor: only disable the save button if no changes rather than hiding it - [Quote]: Fix deprectated large style specificity rule - Style Book: Allow button text labels for style book icon - List View: Scroll selected block into view when single block selection changes - Post editor: revert iframed editor for WP core only - Fix the Publish region position and focus style. - Remove "& Shadow" from the Border ScreenHeader title - Site editor: specify focus state color for template navigation button References: [https://github.com/WordPress/gutenberg/commit/1e2b2f680c6378f789d6660bc04b30e35e3a33a3 Gutenberg's commit for publishing the packages] Props ntsekouras, ellatrix. See #57471. git-svn-id: https://develop.svn.wordpress.org/trunk@55392 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4,7 +4,6 @@ import {
|
||||
publishPost,
|
||||
trashAllPosts,
|
||||
visitAdminPage,
|
||||
canvas,
|
||||
} from '@wordpress/e2e-test-utils';
|
||||
|
||||
describe( 'Edit Posts', () => {
|
||||
@@ -59,11 +58,10 @@ describe( 'Edit Posts', () => {
|
||||
await page.waitForNavigation();
|
||||
|
||||
// Wait for title field to render onscreen.
|
||||
await page.waitForSelector( 'iframe[name="editor-canvas"]' );
|
||||
await canvas().waitForSelector( '.editor-post-title__input' );
|
||||
await page.waitForSelector( '.editor-post-title__input' );
|
||||
|
||||
// Expect to now be in the editor with the correct post title shown.
|
||||
const editorPostTitleInput = await canvas().$x(
|
||||
const editorPostTitleInput = await page.$x(
|
||||
`//h1[contains(@class, "editor-post-title__input")][contains(text(), "${ title }")]`
|
||||
);
|
||||
expect( editorPostTitleInput.length ).toBe( 1 );
|
||||
|
||||
Reference in New Issue
Block a user