Files
Investidor-V2/docs/investmoz/simulations/simulator-calculation-responsive-browser-2026-10-03.json
T
nala 1106509116
tests / ci (push) Canceled after 0s
vrsao 2
2026-10-08 14:02:01 +02:00

941 lines
37 KiB
JSON

{
"checkedAt": "2026-10-03T14:44:45.817Z",
"route": "http://127.0.0.1:18089/simulador-fiscal",
"browser": "Microsoft Edge headless via CDP",
"scope": "submissão anónima, validação acessível e UI responsiva nos estados finalidade/fiscal/resultado; sem dados pessoais ou interpretação fiscal",
"expectedQaTarget": "investmoz_test:55441",
"qaTargetVerified": true,
"inputs": {
"fiscalPeriod": "2026",
"componentContext": "inss",
"base": "1000",
"rate": "10",
"reduction": "50"
},
"clientValidation": {
"inputInvalid": true,
"inputDescribedBy": ["error-base"],
"descriptionsExist": true,
"descriptionsAreAlerts": true,
"activeField": "field-base",
"calculationRequestsBeforeCorrection": 0,
"accessibleErrors": true
},
"fiscalHeadingFocus": {
"focused": true,
"outlineStyle": "solid",
"outlineWidth": "2px",
"visible": true,
"visibleIndicator": true
},
"responsiveStates": [
{
"state": "purpose",
"viewports": [
{
"requestedWidth": 320,
"viewport": 320,
"layoutWidth": 320,
"documentScroll": 320,
"bodyScroll": 320,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 5,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 1749,
"width": 1712,
"text": "1. Finalidade\n2. Perfil do promotor\n3. Identificação e contactos\n4. Projecto ou "
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1657,
"right": 1749,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1657,
"right": 1749,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1519,
"right": 1649,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1519,
"right": 1649,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1315,
"right": 1511,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1315,
"right": 1511,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1168,
"right": 1307,
"width": 139,
"text": "8. Operação fiscal"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 360,
"viewport": 360,
"layoutWidth": 360,
"documentScroll": 360,
"bodyScroll": 360,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 5,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 1749,
"width": 1712,
"text": "1. Finalidade\n2. Perfil do promotor\n3. Identificação e contactos\n4. Projecto ou "
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1657,
"right": 1749,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1657,
"right": 1749,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1519,
"right": 1649,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1519,
"right": 1649,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1315,
"right": 1511,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1315,
"right": 1511,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1168,
"right": 1307,
"width": 139,
"text": "8. Operação fiscal"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 390,
"viewport": 390,
"layoutWidth": 390,
"documentScroll": 390,
"bodyScroll": 390,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 5,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 1749,
"width": 1712,
"text": "1. Finalidade\n2. Perfil do promotor\n3. Identificação e contactos\n4. Projecto ou "
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1657,
"right": 1749,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1657,
"right": 1749,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1519,
"right": 1649,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1519,
"right": 1649,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1315,
"right": 1511,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1315,
"right": 1511,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1168,
"right": 1307,
"width": 139,
"text": "8. Operação fiscal"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 768,
"viewport": 768,
"layoutWidth": 753,
"documentScroll": 753,
"bodyScroll": 753,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 5,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 45,
"right": 1757,
"width": 1712,
"text": "1. Finalidade\n2. Perfil do promotor\n3. Identificação e contactos\n4. Projecto ou "
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1665,
"right": 1757,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1665,
"right": 1757,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1527,
"right": 1657,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1527,
"right": 1657,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1323,
"right": 1519,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1323,
"right": 1519,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1176,
"right": 1315,
"width": 139,
"text": "8. Operação fiscal"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 1024,
"viewport": 1024,
"layoutWidth": 1009,
"documentScroll": 1009,
"bodyScroll": 1009,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 5,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 45,
"right": 1757,
"width": 1712,
"text": "1. Finalidade\n2. Perfil do promotor\n3. Identificação e contactos\n4. Projecto ou "
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1665,
"right": 1757,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1665,
"right": 1757,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1527,
"right": 1657,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1527,
"right": 1657,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1323,
"right": 1519,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1323,
"right": 1519,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1176,
"right": 1315,
"width": 139,
"text": "8. Operação fiscal"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 1440,
"viewport": 1440,
"layoutWidth": 1425,
"documentScroll": 1425,
"bodyScroll": 1425,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 5,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 182,
"right": 1893,
"width": 1712,
"text": "1. Finalidade\n2. Perfil do promotor\n3. Identificação e contactos\n4. Projecto ou "
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1801,
"right": 1893,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1801,
"right": 1893,
"width": 92,
"text": "11. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1664,
"right": 1793,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1664,
"right": 1793,
"width": 129,
"text": "10. Documentos"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1459,
"right": 1656,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 1459,
"right": 1656,
"width": 197,
"text": "9. Necessidade de negócio"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 1312,
"right": 1451,
"width": 139,
"text": "8. Operação fiscal"
}
],
"unnamedAxControls": [],
"passed": true
}
],
"passed": true
},
{
"state": "tax",
"viewports": [
{
"requestedWidth": 320,
"viewport": 320,
"layoutWidth": 320,
"documentScroll": 320,
"bodyScroll": 320,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 34,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 385,
"width": 348,
"text": "1. Finalidade\n2. Operação fiscal\n3. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 360,
"viewport": 360,
"layoutWidth": 360,
"documentScroll": 360,
"bodyScroll": 360,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 34,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 385,
"width": 348,
"text": "1. Finalidade\n2. Operação fiscal\n3. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 390,
"viewport": 390,
"layoutWidth": 390,
"documentScroll": 390,
"bodyScroll": 390,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 34,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 768,
"viewport": 768,
"layoutWidth": 753,
"documentScroll": 753,
"bodyScroll": 753,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 34,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 1024,
"viewport": 1024,
"layoutWidth": 1009,
"documentScroll": 1009,
"bodyScroll": 1009,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 34,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 1440,
"viewport": 1440,
"layoutWidth": 1425,
"documentScroll": 1425,
"bodyScroll": 1425,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 34,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
}
],
"passed": true
},
{
"state": "result",
"viewports": [
{
"requestedWidth": 320,
"viewport": 320,
"layoutWidth": 320,
"documentScroll": 320,
"bodyScroll": 320,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 37,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 385,
"width": 348,
"text": "1. Finalidade\n2. Operação fiscal\n3. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 360,
"viewport": 360,
"layoutWidth": 360,
"documentScroll": 360,
"bodyScroll": 360,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 37,
"overflowElements": [
{
"tag": "OL",
"id": null,
"className": "flex min-w-max gap-2",
"left": 37,
"right": 385,
"width": 348,
"text": "1. Finalidade\n2. Operação fiscal\n3. Revisão"
},
{
"tag": "LI",
"id": null,
"className": "",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
},
{
"tag": "BUTTON",
"id": null,
"className": "rounded-full border px-3 py-2 text-sm focus-visible:outline-2 bg-white",
"left": 296,
"right": 385,
"width": 89,
"text": "3. Revisão"
}
],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 390,
"viewport": 390,
"layoutWidth": 390,
"documentScroll": 390,
"bodyScroll": 390,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 37,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 768,
"viewport": 768,
"layoutWidth": 753,
"documentScroll": 753,
"bodyScroll": 753,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 37,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 1024,
"viewport": 1024,
"layoutWidth": 1009,
"documentScroll": 1009,
"bodyScroll": 1009,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 37,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
},
{
"requestedWidth": 1440,
"viewport": 1440,
"layoutWidth": 1425,
"documentScroll": 1425,
"bodyScroll": 1425,
"unnamedControls": [],
"unnamedButtons": 0,
"unnamedLinks": 0,
"visibleControls": 37,
"overflowElements": [],
"unnamedAxControls": [],
"passed": true
}
],
"passed": true
}
],
"expectedArithmeticValue": "50",
"title": "Simulador Fiscal - Laravel",
"resultText": [
"IRPS",
"INSS",
"IVA",
"IRPC",
"ISPC",
"Retenções",
"50.000000000000000000000000000000000000"
],
"completed": true,
"taxDisclaimer": true,
"visibleAlerts": [],
"anonymousIdentityNotice": true,
"calculationRequests": [
{
"path": "/api/v1/simulations",
"status": 202,
"qaTarget": "investmoz_test:55441"
}
],
"apiResponses": [
{
"path": "/api/v1/simulation-drafts/current",
"status": 200,
"qaTarget": "investmoz_test:55441"
},
{
"path": "/api/v1/simulation-drafts/current",
"status": 200,
"qaTarget": "investmoz_test:55441"
},
{
"path": "/api/v1/simulation-drafts",
"status": 201,
"qaTarget": "investmoz_test:55441"
},
{
"path": "/api/v1/simulations",
"status": 202,
"qaTarget": "investmoz_test:55441"
},
{
"path": "/api/v1/simulation-drafts/8286b973-eecb-44ac-8579-2413f5ade5bc",
"status": 200,
"qaTarget": "investmoz_test:55441"
},
{
"path": "/api/v1/simulations/dfe148c6-4cca-42ec-9ff3-b2128e300876",
"status": 200,
"qaTarget": "investmoz_test:55441"
}
],
"simulationResponseShapes": [
{
"httpStatus": 202,
"outerKeys": ["access_token", "data", "replayed"],
"replayedType": "boolean",
"replayed": false,
"accessTokenLength": 64,
"data": {
"keys": [
"anonymous_token_hash",
"calculation_snapshot",
"created_at",
"id",
"input_snapshot",
"organization_id",
"owner_user_id",
"questionnaire_version_id",
"reports",
"scenarios",
"status",
"updated_at",
"version_no"
],
"idType": "string",
"status": "queued",
"versionNoType": "number",
"resultSnapshotType": "undefined"
}
}
],
"failedResponses": [],
"javascriptExceptions": [],
"passed": true
}