Skip to content

Commit

Permalink
fix(tests): disable e2e feature toggle test
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Jan 10, 2025
1 parent 0a4806e commit 452189f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions dev/studio-e2e-testing/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,4 @@ export default defineConfig({
announcements: {
enabled: false,
},
releases: {
enabled: false,
},
})
4 changes: 3 additions & 1 deletion test/e2e/tests/document-actions/fetchFeatureToggle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import {test} from '@sanity/test'

import {mockActionsFeatureToggle} from '../../helpers/mockActionsFeatureToggle'

test('Actions API should be used if the feature toggle is enabled and the Studio version satisfies the `compatibleStudioVersions` constraint', async ({
// This test is skipped because the feature toggle is disable by the use of `releases`, see https://github.com/sanity-io/sanity/blob/corel/packages/sanity/src/core/releases/plugin/index.ts#L61-L62
// Re enable once the feature toggle is removed and we support serverDocumentActions with releases.
test.skip('Actions API should be used if the feature toggle is enabled and the Studio version satisfies the `compatibleStudioVersions` constraint', async ({
page,
createDraftDocument,
}) => {
Expand Down

0 comments on commit 452189f

Please sign in to comment.