Skip to content

Commit

Permalink
fix: clean up flaky collab tests
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Mar 31, 2024
1 parent 111117d commit 6f73af5
Show file tree
Hide file tree
Showing 5 changed files with 95 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 6f73af5

Please sign in to comment.