-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.env.test
More file actions
51 lines (46 loc) · 2.07 KB
/
Copy path.env.test
File metadata and controls
51 lines (46 loc) · 2.07 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
################################################################################
# This file contains environment variable overrides required for playwright
# integration tests.
#
# This file is sourced by Vite when running `npm run preview -- --mode=test`.
# See: playwright.config.ts
#
# NOTE: This file is checked-in to version control - it should NEVER include
# secrets (the API keys included below are intended for public API access)
################################################################################
TS_PUBLIC_FRONTEND_VERSION_TAG=test
TS_PUBLIC_BACKEND_URL=http://localhost:4173/api
TS_PRIVATE_TOP_VAULTS_URL=http://localhost:4173/api/top-vaults/vaults.json
TS_PUBLIC_VAULT_SPARKLINES_URL=http://localhost:4173/api/top-vaults/sparklines
TS_PUBLIC_VAULT_API_URL=http://localhost:4173/api
TS_PUBLIC_VAULT_PROTOCOL_METADATA_URL=http://localhost:4173/api/vault-protocols
TS_PUBLIC_STABLECOIN_METADATA_URL=http://localhost:4173/api/stablecoin-metadata
TS_PRIVATE_ADMIN_PW=secret
# Fake R2 credentials — allow isR2Configured() to return true in tests.
# Actual S3 calls will fail (ENOTFOUND) and are caught by .catch() fallbacks in the page loader.
TS_PRIVATE_R2_ACCOUNT_ID=test-account-id
TS_PRIVATE_R2_ACCESS_KEY_ID=test-access-key-id
TS_PRIVATE_R2_SECRET_ACCESS_KEY=test-secret-key
TS_PRIVATE_R2_BUCKET_NAME=test-bucket
# Checkout URL for pricing page tests
TS_PUBLIC_PRICING_CHECKOUT_URL=https://www.marketsoftware.co/
TS_PUBLIC_ANNOUNCEMENT=`{
"title": "Example announcement",
"description": "This is an example announcement. Check out our <a href='/blog/latest-post'>latest blog post</a>!",
"ctaLabel": "View blog post",
"href": "/blog/latest-post",
"publishAt": "2024-11-01T00:00:00Z",
"expireAt": "2024-12-01T00:00:00Z"
}`
TS_PUBLIC_STRATEGIES=`[
{
"id": "enzyme-polygon-matic-usdc",
"name": "MATIC-USD breakout on Uniswap v3",
"url": "http://localhost:4173/api/strategies/enzyme-polygon-matic-usdc"
},
{
"id": "enzyme-polygon-multipair",
"name": "Multipair breakout strategy on Uniswap v3",
"url": "http://localhost:4173/api/strategies/enzyme-polygon-multipair"
}
]`