Skip to content

Commit

Permalink
test(e2e): add missing plugins to e2e studio (#7981)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored Dec 9, 2024
1 parent 960186d commit e078ebc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/studio-e2e-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"start": "sanity preview --port 3339"
},
"dependencies": {
"@sanity/color-input": "^4.0.1",
"@sanity/google-maps-input": "^4.0.0",
"@sanity/icons": "^3.5.0",
"@sanity/ui": "^2.9.1",
Expand All @@ -24,6 +25,7 @@
"react-compiler-runtime": "19.0.0-beta-df7b47d-20241124",
"react-dom": "^18.3.1",
"sanity": "workspace:*",
"sanity-plugin-markdown": "^5.0.0",
"sanity-plugin-media": "^2.3.1",
"sanity-plugin-mux-input": "^2.2.1",
"sanity-test-studio": "workspace:*",
Expand Down
4 changes: 4 additions & 0 deletions dev/studio-e2e-testing/sanity.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import {colorInput} from '@sanity/color-input'
import {googleMapsInput} from '@sanity/google-maps-input'
import {BookIcon} from '@sanity/icons'
import {visionTool} from '@sanity/vision'
import {defineConfig} from 'sanity'
import {structureTool} from 'sanity/structure'
import {markdownSchema} from 'sanity-plugin-markdown'
import {media} from 'sanity-plugin-media'
import {muxInput} from 'sanity-plugin-mux-input'
import {imageAssetSource} from 'sanity-test-studio/assetSources'
Expand Down Expand Up @@ -87,12 +89,14 @@ export default defineConfig({
lng: -74.1180863,
},
}),
colorInput(),
visionTool({
defaultApiVersion: '2022-08-08',
}),
// eslint-disable-next-line camelcase
muxInput({mp4_support: 'standard'}),
media(),
markdownSchema(),
],
beta: {
treeArrayEditing: {
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e078ebc

Please sign in to comment.