-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
37 lines (28 loc) · 1.53 KB
/
.env.example
File metadata and controls
37 lines (28 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Though working on the SDK doesn't require these environment variables,
# writing and debugging Playwright tests for features does.
#
# Copy this file to `.env.local` (`cp .env.example .env.local`) and fill in the values there
# (`.env.local` is ignored by git)
# Because tests run both in Dashboard and in a standalone app, we need full user information
# to login and interact with our APIs. You can find the details for SDK_E2E_USER_PASSWORD and
# RECAPTCHA_E2E_STAGING_KEY in 1Password.
SDK_E2E_PROJECT_ID=3j6vt2rg
SDK_E2E_ORGANIZATION_ID=oFvj4MZWQ
SDK_E2E_USER_ID=sdk+e2e@sanity.io
SDK_E2E_USER_PASSWORD=
RECAPTCHA_E2E_STAGING_KEY=
# we test with multiple Resource configurations at once. For now, these are in the same project
SDK_E2E_DATASET_0=production
SDK_E2E_DATASET_1=testing
# The media library ID provisioned for e2e testing
SDK_E2E_MEDIA_LIBRARY_ID=mlyobHbSHBsj
# This is a write token that allows us to use the client to create / destroy / edit resources
# (which Playwright will then load in the kitchensink app to test against)
# You can generate your own token by heading over to the tokens section of
# https://www.sanity.work/manage/, or
# by using your CLI user token (`SANITY_INTERNAL_ENV=staging sanity debug --secrets`)
SDK_E2E_SESSION_TOKEN=
# This is a write token that allows us to use the media library client to create / destroy / edit resources
# This is generated on the org admin page. If you are a user with media library permissions, you can just
# use the same user session token you used above.
SDK_E2E_MEDIA_LIBRARY_TOKEN=