diff --git a/dev/studio-e2e-testing/sanity.config.ts b/dev/studio-e2e-testing/sanity.config.ts index 72d7eedb55a..40b3283a607 100644 --- a/dev/studio-e2e-testing/sanity.config.ts +++ b/dev/studio-e2e-testing/sanity.config.ts @@ -95,4 +95,7 @@ export default defineConfig({ plugins: [sharedSettings()], basePath: '/test', + unstable_serverActions: { + enabled: true, + }, }) diff --git a/dev/test-studio/sanity.config.ts b/dev/test-studio/sanity.config.ts index 4ee5b21795a..e1f73c9d313 100644 --- a/dev/test-studio/sanity.config.ts +++ b/dev/test-studio/sanity.config.ts @@ -148,9 +148,9 @@ export default defineConfig([ plugins: [sharedSettings()], basePath: '/test', icon: SanityMonogram, - // unstable_serverActions: { - // enabled: true, - // }, + unstable_serverActions: { + enabled: true, + }, }, { name: 'partialIndexing', diff --git a/test/e2e/tests/inputs/text.spec.ts b/test/e2e/tests/inputs/text.spec.ts index 6b624eeaa15..5983cfb0a5d 100644 --- a/test/e2e/tests/inputs/text.spec.ts +++ b/test/e2e/tests/inputs/text.spec.ts @@ -27,8 +27,8 @@ test.describe('inputs: text', () => { await page.waitForSelector('data-testid=field-simple', {timeout: 30000}) const field = page.getByTestId('field-simple').getByRole('textbox') - // Enter initial text and wait for the mutate call to be sent - const response = page.waitForResponse(/mutate/) + // Enter initial text and wait for the actions call to be sent + const response = page.waitForResponse(/actions/) await field.fill(kanji) await response