Elysia Tools
Navegação
Ferramentas de desenvolvedor
FullStory: exercícios sintéticos offline
Inspecione três casos finitos: Prévia negada por padrão, Lista de campos permitidos, Limite de expiração.
Exemplos
Entradas desta coleção
Prévia negada por padrão
Avalie estritamente os três pares consent/localPreview. collectionEnabled e exportEnabled continuam false.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "preview-gate",
"rule": "previewAllowed = consent === true AND localPreview === true; collection and export always disabled",
"input": [
{
"consent": false,
"localPreview": true
},
{
"localPreview": true
},
{
"consent": true,
"localPreview": true
}
],
"collectionEnabled": false,
"exportEnabled": false,
"expected": [
false,
false,
true
]
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Lista de campos permitidos
Mantenha apenas count do objeto sintético; remova freeText e route.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "allowlist",
"allow": [
"count"
],
"input": {
"count": 3,
"freeText": "synthetic text",
"route": "synthetic label"
},
"expected": {
"count": 3
}
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Limite de expiração
Com TTL 10 mantenha idades menores que 10; confira 0, 9, 10 e 11.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "expiry",
"ttl": 10,
"ages": [
0,
9,
10,
11
],
"rule": "retain only when age < ttl; relative toy units",
"expected": [
0,
1
]
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Ferramentas
Ferramentas frequentemente usadas com este exemplo
Relacionado
Coleções de exemplos relacionadas
Relacionado