Skip to content

Commit

Permalink
disable flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
potatowagon committed Jun 3, 2024
1 parent 2194888 commit 98883a9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/lexical-playground/__tests__/e2e/Links.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
html,
initialize,
IS_LINUX,
IS_MAC,
keyDownCtrlOrMeta,
keyUpCtrlOrMeta,
pasteFromClipboard,
Expand Down Expand Up @@ -428,7 +429,9 @@ test.describe('Links', () => {

test(`Can create a link with some text after, insert paragraph, then backspace, it should merge correctly`, async ({
page,
isCollab,
}) => {
test.fixme(isCollab, 'Flaky on Collab');
await focusEditor(page);
await page.keyboard.type(' abc def ');
await moveLeft(page, 5);
Expand Down Expand Up @@ -1960,7 +1963,7 @@ test.describe('Links', () => {
page,
isCollab,
}) => {
test.fixme(isCollab && IS_LINUX, 'Flaky on Linux + Collab');
test.fixme(isCollab && IS_MAC && IS_LINUX, 'Flaky on Collab, Mac + Linux');
await focusEditor(page);
await page.keyboard.type('Hello ');
await toggleBold(page);
Expand Down
2 changes: 2 additions & 0 deletions packages/lexical-playground/__tests__/e2e/List.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,9 @@ test.describe('Nested List', () => {

test('remove list breaks when selection in empty nested list item 2', async ({
page,
isCollab,
}) => {
test.fixme(isCollab, 'Flaky on Collab');
await focusEditor(page);
await page.keyboard.type('Hello World');
await page.keyboard.press('Enter');
Expand Down
7 changes: 6 additions & 1 deletion packages/lexical-playground/__tests__/e2e/Selection.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,13 @@ test.describe('Selection', () => {
);
});

test('Can delete sibling elements forward', async ({page, isPlainText}) => {
test('Can delete sibling elements forward', async ({
page,
isPlainText,
isCollab,
}) => {
test.skip(isPlainText);
test.fixme(isCollab, 'Flaky on Collab');

await focusEditor(page);
await page.keyboard.press('Enter');
Expand Down
3 changes: 3 additions & 0 deletions packages/lexical-playground/__tests__/e2e/TextEntry.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,11 @@ test.describe('TextEntry', () => {
test(`Can insert a paragraph between two text nodes`, async ({
page,
isPlainText,
isCollab,
}) => {
test.skip(isPlainText);
test.fixme(isCollab, 'Flaky on Collab');

await focusEditor(page);
await page.keyboard.type('Hello ');
await toggleBold(page);
Expand Down

0 comments on commit 98883a9

Please sign in to comment.