Skip to content

Commit

Permalink
Temp fix for e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 13, 2023
1 parent eab7acc commit 94d9285
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,11 @@ describe( 'Block Grouping', () => {
it( 'does not show group option in the options toolbar if Grouping block is disabled', async () => {
await clickBlockToolbarButton( 'Options' );

// TODO: need to improve the selector / maybe even use puppeteer-testing-library
const blockOptionsDropdownHTML = await page.evaluate(
() =>
document.querySelector(
'.block-editor-block-settings-menu__popover'
'[data-radix-menu-content][role="menu"]'
).innerHTML
);

Expand Down

0 comments on commit 94d9285

Please sign in to comment.