Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions bin/check-wordpress-package-duplicates.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ const NODE_MODULES = 'node_modules/';
* visible. An entry that no longer applies fails the check rather than
* lingering to mask a future regression.
*/
const KNOWN_DUPLICATES = {
// Dependabot bumped commands, components, and preferences past the
// icons range required by block-editor and editor. Resolves once the
// @wordpress packages are bumped together to a single release.
'@wordpress/icons': true,
};
const KNOWN_DUPLICATES = {};

process.exitCode = checkForDuplicateInstalls();

Expand Down
14 changes: 11 additions & 3 deletions e2e/color-gradient.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ test.describe( 'Color and Gradient', () => {
// Open block settings.
await editor.openBlockSettings();

// Click the Background color control.
// Click the Background color control. The panel is headed "Background"
// and its colour control is labelled "Color", the same label the text
// colour control carries, so scope the lookup to the panel.
await page
.locator( '.block-settings-menu' )
.getByRole( 'button', { name: 'Background' } )
.locator( '.block-settings-menu .components-tools-panel' )
.filter( {
has: page.getByRole( 'heading', {
name: 'Background',
exact: true,
} ),
} )
.getByRole( 'button', { name: 'Color', exact: true } )
.click();

// Pick the first color option in the palette.
Expand Down
Loading
Loading