diff --git a/packages/sanity/src/structure/comments/plugin/index.ts b/packages/sanity/src/structure/comments/plugin/index.ts index 453b2cb5bf1..0e0d406fe8e 100644 --- a/packages/sanity/src/structure/comments/plugin/index.ts +++ b/packages/sanity/src/structure/comments/plugin/index.ts @@ -3,7 +3,7 @@ import {definePlugin} from 'sanity' import {commentsUsEnglishLocaleBundle} from '../i18n' import {CommentsDocumentLayout} from './document-layout' import {CommentsField} from './field' -// import {CommentsInput} from './input' +import {CommentsInput} from './input' import {commentsInspector} from './inspector' import {CommentsStudioLayout} from './studio-layout' @@ -20,8 +20,7 @@ export const comments = definePlugin({ form: { components: { field: CommentsField, - // The `CommentsInput` will be enabled when it is ready to be used. - // input: CommentsInput, + input: CommentsInput, }, }, diff --git a/test/e2e/tests/comments/inline.spec.ts b/test/e2e/tests/comments/inline.spec.ts index 7e1e682da73..0c2a25d2000 100644 --- a/test/e2e/tests/comments/inline.spec.ts +++ b/test/e2e/tests/comments/inline.spec.ts @@ -84,16 +84,15 @@ async function inlineCommentCreationTest(props: InlineCommentCreationTestProps) await expect(commentsListItemReferencedValue).toHaveText(PTE_CONTENT_TEXT) } -// The tests will be enabled when the inline comments feature is ready to be used. test.describe('Inline comments:', () => { - test.skip('should create inline comment', async ({page, createDraftDocument, browserName}) => { + test('should create inline comment', async ({page, createDraftDocument, browserName}) => { // For now, only test in Chromium due to flakiness in Firefox and WebKit test.skip(browserName !== 'chromium') await inlineCommentCreationTest({page, createDraftDocument}) }) - test.skip('should resolve inline comment', async ({page, createDraftDocument, browserName}) => { + test('should resolve inline comment', async ({page, createDraftDocument, browserName}) => { // For now, only test in Chromium due to flakiness in Firefox and WebKit test.skip(browserName !== 'chromium')