diff --git a/pkg/document/crdt/tree_test.go b/pkg/document/crdt/tree_test.go index 33951ce67..0f4c94628 100644 --- a/pkg/document/crdt/tree_test.go +++ b/pkg/document/crdt/tree_test.go @@ -224,7 +224,8 @@ func TestTree(t *testing.T) { }) t.Run("delete nodes between element nodes test", func(t *testing.T) { - t.Skip() + t.Skip("TODO(hackerwins): We need to fix this test.") + // 01. Create a tree with 2 paragraphs. // 0 1 2 3 4 5 6 7 8 //

a b

c d

@@ -266,7 +267,8 @@ func TestTree(t *testing.T) { }) t.Run("style node with attributes test", func(t *testing.T) { - t.Skip() + t.Skip("TODO(hackerwins): We need to fix this test.") + // 01. style attributes to an element node. ctx := helper.TextChangeContext(helper.TestRoot()) tree := crdt.NewTree(crdt.NewTreeNode(helper.IssuePos(ctx), "root", nil), helper.IssueTime(ctx)) diff --git a/pkg/index/tree_test.go b/pkg/index/tree_test.go index c52433daa..e53ebe11e 100644 --- a/pkg/index/tree_test.go +++ b/pkg/index/tree_test.go @@ -232,7 +232,7 @@ func TestIndexTree(t *testing.T) { }) t.Run("find treePos from given path test", func(t *testing.T) { - t.Skip("TODO(hackerwins): remove skip") + t.Skip("TODO(hackerwins): We need to fix this test") // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 //

a b

c d e

f g

diff --git a/test/integration/tree_test.go b/test/integration/tree_test.go index bd3c0ae99..a772fa57d 100644 --- a/test/integration/tree_test.go +++ b/test/integration/tree_test.go @@ -311,7 +311,8 @@ func TestTree(t *testing.T) { }) t.Run("edit its content with attributes test", func(t *testing.T) { - t.Skip() + t.Skip("TODO(hackerwins): We need to fix this test.") + doc := document.New(helper.TestDocKey(t)) err := doc.Update(func(root *json.Object, p *presence.Presence) error { root.SetNewTree("t", &json.TreeNode{Type: "doc"})