Skip to content

Commit

Permalink
fix: e2e background color picker issue
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Aug 14, 2024
1 parent 47d2784 commit 8479199
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ test.describe('Custom Global Color Control', () => {
await clearWelcome(page);

await page.locator('.block-editor-rich-text__editable').first().click();
await page.locator('.block-editor-block-inspector__tab-item').last().click();
// use Background color control to open the color picker, available since WP 6.1
await page.getByRole('button', { name: 'Background' }).click();
await page.getByRole('option', { name: 'Color: Custom 1' }).click();
Expand Down

0 comments on commit 8479199

Please sign in to comment.