Skip to content

Commit

Permalink
Fix e2e in webkit and ignore in firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Dec 14, 2024
1 parent 555162e commit 6333c2a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/lexical-playground/__tests__/e2e/Tables.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4701,8 +4701,12 @@ test.describe.parallel('Tables', () => {
isPlainText,
isCollab,
shouldUseLexicalContextMenu,
browserName,
}) => {
test.skip(isPlainText);
// The way that the clicks happen in test doesn't work in firefox for some reason
// but it does seem to work when you do it by hand
test.fixme(browserName === 'firefox');
await initialize({isCollab, page, shouldUseLexicalContextMenu});

await focusEditor(page);
Expand Down Expand Up @@ -4789,9 +4793,6 @@ test.describe.parallel('Tables', () => {
);

await withExclusiveClipboardAccess(async () => {
await page
.context()
.grantPermissions(['clipboard-read', 'clipboard-write']);
await click(page, 'div[contenteditable] th p', {
button: 'right',
});
Expand Down

0 comments on commit 6333c2a

Please sign in to comment.