Skip to content

Commit

Permalink
chore(tests): skip tree editing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Aug 22, 2024
1 parent d0e1eb0 commit 63e6d4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const DOCUMENT_VALUE: SanityDocument = {
],
}

test.describe('Tree editing', () => {
test.skip('Tree editing', () => {
test('should open tree editing dialog when adding an item and close it when clicking done', async ({
mount,
page,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const DOCUMENT_VALUE: SanityDocument = {
],
}

test.describe('Tree Editing with nested objects', () => {
test.skip('Tree Editing with nested objects', () => {
test('should navigate and display nested objects correctly', async ({mount, page}) => {
// Mount the TreeEditingStory component with initial open path
await mount(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {expect} from '@playwright/test'
import {test} from '@sanity/test'

test.describe('basic - open and close', () => {
test.skip('basic - open and close', () => {
test.beforeEach(async ({page, createDraftDocument}) => {
// wait for form to be attached
await createDraftDocument('/test/content/input-debug;objectsDebug')
Expand Down Expand Up @@ -40,7 +40,7 @@ test.describe('basic - open and close', () => {
})
})

test.describe('basic - main document action', () => {
test.skip('basic - main document action', () => {
test.beforeEach(async ({page, createDraftDocument}) => {
// wait for form to be attached
await createDraftDocument('/test/content/input-debug;objectsDebug')
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/tests/tree-editing/TreeEditingNavigation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {expect} from '@playwright/test'
import {test} from '@sanity/test'

test.describe('navigation - tree sidebar', () => {
test.skip('navigation - tree sidebar', () => {
test.beforeEach(async ({page, createDraftDocument, browserName}) => {
// set up an array with two items: Albert, the whale and Lucy, the cat

Expand Down Expand Up @@ -118,7 +118,7 @@ test.describe('navigation - tree sidebar', () => {
})
})

test.describe('navigation - breadcrumb', () => {
test.skip('navigation - breadcrumb', () => {
test.beforeEach(async ({page, createDraftDocument}) => {
// set up an array with two items: Albert, the whale and Lucy, the cat
await createDraftDocument('/test/content/input-debug;objectsDebug')
Expand Down

0 comments on commit 63e6d4f

Please sign in to comment.