Skip to content

Commit

Permalink
fix: [WIP] flaky collab tests
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Mar 30, 2024
1 parent 111117d commit 25d5f5f
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
test.describe('Clear All Formatting', () => {
test.beforeEach(({isPlainText, isCollab, page}) => {
test.skip(isPlainText);
initialize({isCollab, page});
return initialize({isCollab, page});
});
test(`Can clear BIU formatting`, async ({page}) => {
await focusEditor(page);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
test.describe('Element format', () => {
test.beforeEach(({isCollab, isPlainText, page}) => {
test.skip(isPlainText);
initialize({isCollab, page});
return initialize({isCollab, page});
});

test('Can indent/align paragraph when caret is within link', async ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ async function assertMarkdownImportExport(
test.describe('Markdown', () => {
test.beforeEach(({isCollab, isPlainText, page}) => {
test.skip(isPlainText);
initialize({isCollab, page});
return initialize({isCollab, page});
});

const BASE_BLOCK_SHORTCUTS = [
Expand Down
Loading

0 comments on commit 25d5f5f

Please sign in to comment.