Back to Treseko

Technical guides to install, operate and scale Treseko

A practical library to install, operate and explain Treseko without relying on loose notes, old screenshots or tribal memory.

Documentation library

31 guides found

Start

All public release documents

The complete 1.0.6 documentation is available in Spanish and English in the public repository.

Open repository
AI Engine configurationAI Engine providers, profiles and operational configuration.AI_ENGINE_CONFIG.mdAI Engine guideUsing the AI Engine in Treseko.AI_ENGINE_GUIDE.mdAPI specificationPublic API technical contract.API_SPEC.mdAPI usage guideHow to integrate Treseko from external clients.API_USAGE_GUIDE.mdArchitecturePlatform components and boundaries.ARCHITECTURE.mdAttachments and evidenceQA files, screenshots and evidence.ATTACHMENTS_EVIDENCE.mdAuthentication and RBACLogin, roles and permissions.AUTH_RBAC_GUIDE.mdAutomation guideAutomation with workers and executions.AUTOMATION_GUIDE.mdAutomation worker V1Worker installation, pairing and operation.AUTOMATION_WORKER_V1.mdBug TrackerDefect workflow and QA traceability.BUG_TRACKER.mdImport compatibilityImporter profiles and limitations.CASE_IMPORT_COMPATIBILITY.mdTest case portability.tcases format and test case transfer.CASE_PORTABILITY.mdDashboard guideDashboard configuration and reading.DASHBOARD_GUIDE.mdDatabasePostgreSQL persistence and operation.DATABASE.mdDistributed deploymentSeparating services and workers.DISTRIBUTED_DEPLOYMENT_GUIDE.mdDocker guideInstallation and operation with Docker Compose.DOCKER_GUIDE.mdEdition strategyCommunity, Premium and edition capabilities.EDITION_STRATEGY.mdExecution statesExecution states and lifecycle.EXECUTION_STATES.mdExternal automationContract for reporting results from CI.EXTERNAL_AUTOMATION_API.mdInstallationInitial installation and first startup.INSTALLATION.mdIntegrations, plugins and RBACPermissions for extensions and integrations.INTEGRATIONS_PLUGIN_RBAC.mdInventory guideEnvironment and resource inventory.INVENTORY_GUIDE.mdLinux setupLinux host preparation.LINUX_SETUP.mdMCP guideMCP server configuration and usage.MCP_GUIDE.mdNotifications and emailEmail, inbox and notification events.NOTIFICATIONS_EMAIL.mdProjects guideOrganizations, projects and components.PROJECTS_GUIDE.mdProject status restrictionsStatus rules and allowed actions.PROJECT_STATUS_RESTRICTIONS.mdCapability matrixAvailable capabilities and permissions.RBAC_CAPABILITY_MATRIX.mdRBAC matrixRoles and authorized operations.RBAC_MATRIX.mdPublic documentation indexEntry point for the release documentation.README.mdReporting guideExecutive reports and QA metrics.REPORTING_GUIDE.mdRun history guideReviewing and understanding run history.RUN_HISTORY_GUIDE.mdSettings guideSystem preferences and configuration.SETTINGS_GUIDE.mdTest cases guideCreating, editing and versioning test cases.TEST_CASES_GUIDE.mdTest execution guideManual and automated executions.TEST_EXECUTION_GUIDE.mdTraceabilityLinks between requirements, cases, executions and evidence.TRACEABILITY.md

Quick start

The short path to get Treseko Community running and enter the first QA environment.

Open guide
Reading
7 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you want to try Treseko for the first time, or when setting up a clean machine and need to confirm the stack starts end to end.

Expected result

When finished, you should be able to open the login screen, log in with the initial admin and confirm that backend, engine, PostgreSQL and Redis are alive.

QA user
Frontend
Backend API
Engine
PostgreSQL
Redis

Treseko Community is the free self-hosted base for organizing QA projects, builds, suites, test cases, bugs, evidence and reports. The idea is simple: your data stays on your infrastructure.

For the first installation it is best to go step by step. First base services, then the admin user, and only when everything responds, open the console.

If something fails here, do not cover it with a rushed restart. It is better to resolve it before loading real test cases, because later each diagnosis comes mixed with team data.

Recommended flow

  1. Clone the public repository.
  2. Create the .env.production file from the template.
  3. Edit secrets, database password and public URL.
  4. Launch PostgreSQL and Redis.
  5. Initialize the admin user.
  6. Launch backend, engine and frontend.
  7. Log in, change password and create the first organization.

Clone and enter the project

git clone https://github.com/treseko/treseko-platform.git
cd treseko-platform

Launch services

cp .env.production.example .env.production
# edit .env.production before continuing
docker compose -f docker-compose.prod.yml up -d --build

How to verify

  • The login screen loads without 50x errors.
  • The backend responds to health check.
  • The admin user logs in, navigates and can log out.
  • PostgreSQL and Redis show as healthy in Docker.

Common pitfalls

  • Copying the environment template and forgetting to change secrets.
  • Having another service using the same ports.
  • Editing scripts on Windows and leaving CRLF line endings before running them on Linux.
dockercommunityinstallationfirst login

Docker installation

Recommended workflow to run Treseko on Linux, VPS or Windows with Docker Desktop.

Open guide
Reading
10 min
Updated
2026-07-29
Version
1.0.6

When to use this guide

Use it when the installation is not a disposable test: a VPS, a lab machine or a server that someone will maintain.

Expected result

An organized stack, with separate services, persistent data and a reasonable foundation for backups, rebuilds and updates.

The recommended path is to use the official installers. They prepare Docker Compose, generate secrets outside the configuration file, run migrations and create the first administrator without repeating sensitive steps by hand.

In production, Docker Compose handles startup, not the complete operation. You still need to manage secrets, backups, permissions, logs and exposed ports.

On Windows with Docker Desktop, files mounted from the host do not always behave the same as inside Linux. Scripts, permissions and line endings deserve extra review.

Recommended flow

  1. Choose a local installation, Windows with Docker Desktop or a Linux server over SSH.
  2. Run the matching official installer.
  3. Let it generate secrets, prepare Compose and run migrations.
  4. Save the temporary administrator password.
  5. Open the reported URL and change the password on first login.
  6. Verify health checks and containers.
  7. Configure backup and update policy.

Local installation

scripts/install_local_treseko.sh --http-port 9095
# Windows PowerShell:
.\scripts\install_local_treseko.ps1 -HttpPort 9095

Remote installation over SSH

scripts/install_remote_treseko.sh user@server --http-port 9095

Verify the result

curl http://localhost:9095/api/health
docker compose -f docker-compose.prod.yml --env-file compose.production.env ps

How to verify

  • Database volumes are stored in a path that will be backed up.
  • The frontend reaches the backend using the expected public URL.
  • Logs do not print secrets, tokens or passwords.
  • A test backup can be restored on a clean installation.

Common pitfalls

  • Mounting the entire repo from Windows and assuming permissions will be identical to Linux.
  • Editing compose.production.env with plaintext secrets instead of using protected secret files.
  • Exposing PostgreSQL or Redis to the internet when not needed.
docker composelinuxwindowspostgresqlredis

Treseko QA model

How organizations, projects, components, builds, suites, test cases and executions connect.

Open guide
Reading
8 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it before loading real data, especially if the team comes from spreadsheets or folders where builds, suites and test cases were mixed together.

Expected result

A team that knows where to put each item and can explain the status of a delivery without reconstructing it manually.

1Organization
2Project
3Component
4Build
5Suite
6Test case

Treseko uses a hierarchy designed for traceability: organization, project, component, build, suite and test case.

A build represents a delivery cut. A suite groups the functional scope. A test case defines the test. An execution records what happened that day.

The separation may feel formal at first, but it avoids a very common question at the end of a delivery: what exactly was tested and with what evidence.

Recommended flow

  1. Create organization or solution.
  2. Create project and component.
  3. Create or activate a build.
  4. Group test cases into suites.
  5. Run manual, automated, external or with AI.
  6. Review metrics, bugs and evidence.

How to verify

  • Each build has a clear goal.
  • Suites reflect functional scope and not improvised names.
  • Important test cases have steps and expected results.
  • Evidence is linked to the correct step or bug.

Common pitfalls

  • Creating a build for every random test.
  • Using a single huge suite and then being unable to read the scope.
  • Uploading evidence to the bug but leaving no trace of the execution that produced it.
projectsbuildssuitestest casesevidence

Automation workers

How to connect workers, declare capabilities and handle uncommon language runtimes.

Open guide
Reading
11 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you want to run automated tests outside the manual Treseko browser, or when your team uses a runtime not included in the default worker.

Expected result

A worker linked to a solution, visible in Automation > Workers, with active heartbeat and clear capabilities to only take compatible jobs.

Tresekofrozen test casepending jobevidence
pairing WKrunner tokenheartbeat
Worker
Playwright JS/TSCypress JS/TSPuppeteer JS/TSSelenium PythonSpecialized runtime

Treseko keeps the source of truth: test cases, builds, datasets, variables, results and evidence. The worker does not replace that traceability; it only picks up a frozen job, executes it and returns the result.

The default worker covers the common paths: Playwright, Puppeteer and Cypress in JavaScript/TypeScript, and Selenium in Python. For Java, C#, Ruby or other stacks, the correct strategy is to spin up a specialized worker that announces those capabilities or report results via the external API.

The worker identity is not an IP or an open port. The worker communicates by pull against the backend, gets a token after approving the binding code, then sends heartbeat, picks up jobs and reports results with that token.

If the language is unusual, do not force it on a runner that does not support it. Define the runtime on the worker machine, declare it in capabilities and let Treseko only deliver jobs when framework and language match.

Recommended flow

  1. Install worker dependencies on the machine that will run tests.
  2. Configure QA_API_BASE, QA_ORGANIZACION_ID, name, tags and headless mode.
  3. Start the worker and copy the temporary code WK-xxxxxx.
  4. Approve the code from Automation > Workers.
  5. Confirm the worker is active, with recent heartbeat and visible capabilities.
  6. Create or edit an automated test case with compatible framework and language.
  7. Run the test case and review status, logs, artifacts and associated evidence.
  8. For special runtimes, create a dedicated profile and announce framework_languages.

Multi-framework local worker

cd automation-worker
npm install
npm run install:browsers
cp .env.example .env
# editar .env antes de iniciar
npm start

Minimal variables

QA_API_BASE=http://localhost:8000
QA_RUNNER_NAME=Linux Multi-Framework Worker
QA_ORGANIZACION_ID=uuid-de-la-solucion
QA_HEADLESS=true
QA_RUNNER_TAGS=linux,v1,playwright,puppeteer,cypress,selenium

Selenium Python

cd automation-worker
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip selenium
realpath .venv/bin/python
# usar esa ruta en QA_PYTHON_BIN

Optional Docker profile

docker compose -f docker-compose.prod.yml --env-file compose.production.env --profile automation up -d automation-worker

How to verify

  • The UI shows the worker as linked with recent heartbeat.
  • The worker declares real frameworks and languages, not aspirational ones.
  • A compatible Playwright, Cypress, Puppeteer or Selenium job goes from PENDING to CLAIMED and then to PASSED, FAILED or ERROR.
  • Screenshots, logs or files reported by the worker appear as automation evidence.
  • A test case with an unsupported language does not end up half-executed: it must wait for a compatible runner or fail with a clear actionable message.

Common pitfalls

  • Not configuring QA_ORGANIZACION_ID and expecting the worker to be global for the whole instance.
  • Copying a runner token manually across multiple hosts and losing identity control.
  • Announcing Java, C# or Ruby without installing JDK, .NET SDK, Ruby/Bundler or required drivers on the worker machine.
  • Opening incoming ports to the worker even though the operational model is pull from worker to Treseko.
  • Mixing scripts, credentials and test data in worker code instead of using variables, datasets and operational secrets.
workerautomationplaywrightseleniumcypresslenguajes

Internal automated tests and external API

When Treseko runs the test and when an external tool only reports results.

Open guide
Reading
13 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it before integrating automation to decide whether Treseko should execute the script or whether your current pipeline should keep running and only send results.

Expected result

The team clearly distinguishes between AUTOMATED and EXTERNAL modes, configures the correct path and avoids duplicating executions or mixing evidence.

Tresekofrozen test casepending jobevidence
pairing WKrunner tokenheartbeat
Worker
Playwright JS/TSCypress JS/TSPuppeteer JS/TSSelenium PythonSpecialized runtime

Treseko supports two paths that look similar in the final report but are different in operation. In internal mode, Treseko creates the job, a worker picks it up, executes the script and returns results. In external mode, your tool runs outside Treseko and then reports the result via API.

Use internal automation when you want to centralize scripts, variables, datasets, workers, evidence and execution from the Treseko UI. Use external API when you already have Playwright, Selenium, Cypress, Pytest or a CI/CD pipeline working and do not want to migrate execution.

Both paths feed history, metrics, reports and bugs. The key difference is who executes. If Treseko executes, the visible mode is automated. If your pipeline executes and Treseko receives the result, the visible mode is external.

To avoid confusion, external identifiers must be stable: solution_code, project_code, component_code, build_code and case_code. The visible name can change; the code should not break the integration.

Recommended flow

  1. Choose internal mode if the script lives and runs from Treseko.
  2. Choose external API if the script lives in another repository or pipeline.
  3. Create or review short codes for solution, project, component, build and test case.
  4. Create an API key from the profile of the user who will report results.
  5. Run the tests in the external framework.
  6. Send results to POST /external/executions/report.
  7. Use external_run_id to deduplicate pipeline retries.
  8. Review History, Reports and Metrics filtering by External mode.

Minimal external report

curl -X POST "$TRESEKO_API_URL/external/executions/report" \
  -H "Authorization: Bearer $TRESEKO_EXTERNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"solution_code":"SOL-a8f31c22","project_code":"PRJ-b91e02aa","component_code":"CMP-77ac10ff","build_code":"BLD-3f91ad44","external_run_id":"playwright-main-001","overwrite":true,"cases":[{"case_code":"TC-0008","status":"PASO","observations":"Prueba ejecutada desde CI/CD."}]}'

Payload with steps

{
  "solution_code": "SOL-a8f31c22",
  "project_code": "PRJ-b91e02aa",
  "component_code": "CMP-77ac10ff",
  "build_code": "BLD-3f91ad44",
  "external_run_id": "pytest-2026-07-12-001",
  "environment": "qa",
  "overwrite": true,
  "cases": [{
    "case_code": "TC-0005",
    "status": "FALLO",
    "observations": "El boton de login no estuvo visible.",
    "duration_seconds": 18,
    "external_case_run_id": "pytest::test_login_invalid",
    "steps": [
      { "number": 1, "status": "PASO", "observations": "Se abrio login." },
      { "number": 2, "status": "FALLO", "observations": "No aparece el boton.", "evidence_url": "https://ci.example.com/artifacts/step-2.png" }
    ]
  }]
}

How to verify

  • In History, worker executions appear as automated and API-reported ones as external.
  • The API key belongs to an active user with permission to execute or report tests.
  • The specified build exists, belongs to the component and contains the reported test cases.
  • The same external_run_id does not duplicate results if overwrite=true.
  • External evidence appears as a referenced URL. Direct binary upload via external API is not yet available.

Common pitfalls

  • Creating duplicate scripts: one in Treseko and another in CI, and then not knowing which is the source of truth.
  • Using visible names instead of stable codes for project, build or component.
  • Reporting against a build that does not contain the test case.
  • Regenerating external_run_id on each retry and duplicating executions from the same pipeline.
  • Confusing external evidence by URL with artifacts uploaded and persisted inside Treseko.
api externaci cdplaywrightpytestautomation workerexternal api

Reset administrator

How to recover access when the local administrator password is lost.

Open guide
Reading
5 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when no one can log in with the local admin user or when the temporary password from the first login was lost before saving it.

Expected result

The local admin receives a new temporary password, logs in again and Treseko prompts a password change on the next login.

Treseko does not document a fixed password for the administrator. On a clean installation, `admin@qa.local` is created and the installer prints a temporary password only once.

If that password is lost, the correct recovery is to run the reset script inside the backend. The script generates a new temporary password and avoids leaving secrets written in documentation.

After the reset, review open sessions, admin users and audit logs. Recovering access should not become a permanent backdoor without oversight.

Recommended flow

  1. Access the server where Treseko runs.
  2. Verify that the backend container exists and can connect to the database.
  3. Run reset_user_password.py for the admin email.
  4. Save the temporary password in a secure channel.
  5. Log in through the UI and change the password.
  6. Review users with the ADMIN role.

Reset in Docker Compose

docker compose -f docker-compose.prod.yml --env-file compose.production.env run --rm --entrypoint python backend /app/reset_user_password.py --email admin@qa.local

Verify services

docker compose -f docker-compose.prod.yml ps
docker compose -f docker-compose.prod.yml logs --tail=80 backend

How to verify

  • The command prints a new temporary password.
  • Login with admin@qa.local works.
  • The UI requires a password change if applicable.
  • The temporary password was not copied into issues, public chats or versioned files.

Common pitfalls

  • Running the reset against the wrong database and thinking it did not work.
  • Sharing the temporary password through insecure channels.
  • Leaving multiple ADMIN users unnecessarily after recovering access.
adminpasswordrecoverydockersecurity

AI Engine: first use

How to connect AI, validate the engine and launch the first AI-assisted execution.

Open guide
Reading
12 min
Updated
2026-08-02
Version
1.0.6

When to use this guide

Use it when you want Treseko to use an AI model to interpret steps, navigate, record evidence and return the test result.

Expected result

The AI Engine has provider, endpoint, model, viewport and timeout configured, and a simple test can run with visible progress.

Tresekofrozen test casepending jobevidence
pairing WKrunner tokenheartbeat
Worker
Playwright JS/TSCypress JS/TSPuppeteer JS/TSSelenium PythonSpecialized runtime

The AI Engine works with a chat completions compatible endpoint. It can point to a local runtime like LM Studio, to Ollama with its supported format, or to an external provider depending on available configuration.

If you choose an external provider, its account, quotas, costs and terms are independent from Treseko. Before scaling runs, validate consumption and limits with the provider you choose.

The Configuration > AI Testing screen saves functional parameters for new executions: provider, endpoint, model, temperature, headless, viewport, timeout and parallelism.

Secrets and internal deployment URLs should not be edited from the UI. Values like ENGINE_URL, callback tokens or dangerous flags belong to the environment and require a restart.

Recommended flow

  1. Start backend, frontend and engine.
  2. Open Configuration > AI Testing.
  3. Define provider, LLM endpoint and model.
  4. Run auto-scan of models if applicable.
  5. Save configuration.
  6. Test AI Engine status.
  7. Create or choose a test case with clear steps.
  8. Launch AI execution and review logs, screenshots and result.

Recommended values

viewport_width=1920
viewport_height=1080
headless=true
temperature=0.1
max_parallel_ai_runs=1
timeout_seconds=900

Deployment variables

ENGINE_URL=http://engine:3010
AI_ENGINE_CALLBACK_TOKEN=usar-un-token-operativo
# cambiar estas variables requiere recrear/reiniciar servicios

How to verify

  • The AI Engine health shows no connection error.
  • The selected model exists in the configured provider.
  • A small test generates logs and finishes with a readable result.
  • Sensitive data does not appear in full logs.

Common pitfalls

  • Configuring an endpoint that responds to /models but does not support chat completions.
  • Using high temperature for tests that need repeatability.
  • Running many AI test cases in parallel before validating cost, memory and stability.
  • Enabling full traces in production and capturing credentials or sensitive data.
ai enginellmcostsautomationlm studioollama

Schedule AI executions

How to prepare an AI execution for a specific time and what conditions to check.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when you want to run AI test cases outside the exact moment you select them, for example at the start of a testing window.

Expected result

The AI execution is set up with a name, test cases and a date and time. In the current version, it only starts while the session that scheduled it remains open; scheduling is not persistent.

Treseko allows selecting test cases and setting a date/time from the AI execution modal. In this intermediate version, the trigger depends on the session staying open: it is not a persistent schedule.

The persistent scheduler and distributed queue are on the roadmap. When available, they will require the Premium automation.scheduler capability. On Community, treat this flow as on-demand execution.

If a test is critical for a release, verify the AI Engine, project, active build and availability of the user and session that will start and monitor the scheduled execution.

Recommended flow

  1. Enter the correct project and component.
  2. Open AI Engine or the AI execution flow.
  3. Search and select the test cases.
  4. Give the execution a clear name.
  5. Choose date and time.
  6. Confirm the schedule.
  7. Keep the session open if the current flow requires it.
  8. Review history and logs after the chosen time.

How to verify

  • The chosen time is in the future and in the expected timezone.
  • The test cases belong to the active build/component.
  • The AI Engine responds before scheduling.
  • The UI shows the status of the scheduled execution.

Common pitfalls

  • Closing the tab expecting an open-session schedule to still run.
  • Scheduling test cases without test data or configured environment.
  • Confusing persistent Premium scheduler with local frontend delay.
aischedulerschedulingpremiumruns

Customize dashboard

How to adapt the board to each user's workflow.

Open guide
Reading
7 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when the dashboard shows correct information but not in the order, focus or density your role needs.

Expected result

Each user keeps their layout and visible widgets without changing the base data of the projects.

The dashboard is personal per user. The layout and visible widgets are saved in profile preferences; data changes according to the selected project, component and build.

Viewing requires dashboard.ver; editing requires dashboard.personalizar with edit permission. Customizing the view does not expand data access.

V1 widgets cover quality summary, my tests today, build executions, latest executions, build window, trend between builds, open bugs, average duration, distribution by type and latest failures.

Customizing should not hide the truth of the build. If a widget is empty, first check filters and scope before assuming there is no data.

Recommended flow

  1. Open Dashboard.
  2. Select project, component and build.
  3. Enable edit mode if available.
  4. Move or resize widgets.
  5. Hide widgets that do not contribute to your role.
  6. Save useful filters.
  7. Restore defaults if the board becomes confusing.

How to verify

  • The layout persists when switching projects.
  • Filters do not accidentally hide important data.
  • Empty widgets show an understandable state.
  • Restoring dashboard returns to the base layout.

Common pitfalls

  • Creating an overloaded board for an executive meeting.
  • Comparing different builds without checking the global selector.
  • Confusing personal preference with global system configuration.
dashboardwidgetsmetricspreferenciasbuild

Customize reports and metrics

How to read metrics by build and adjust the view before exporting or sharing.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when you need to answer specific questions: how much was tested, what failed, what is still pending and how it evolved compared to the previous build.

Expected result

The reports screen shows metrics filtered by actual scope and ready for a quality decision.

Execution
Step
Screenshot
Bug
Report

Project metrics are calculated from executions and build scope. If no build is specified, Treseko uses the active build of the selected component.

Reports can compare against the previous build using deltas for pass rate, passed, failed and blocked test cases.

Export is available according to permissions. Snapshots and shared links require the Premium reports.snapshots capability.

Before exporting or sharing, review scope, dates, execution type and bug data. A good report is not the one with more charts, but the one that avoids debating definitions in the meeting.

Recommended flow

  1. Open Reports and Metrics.
  2. Select project, component and build.
  3. Review coverage, passed, failed, blocked and pending.
  4. Filter by date range if applicable.
  5. Compare with previous build.
  6. Review open bugs and severities.
  7. Export or prepare a shareable snapshot.

How to verify

  • The total assigned test cases match the build scope.
  • Coverage is calculated over test cases executed at least once.
  • History does not mix different components.
  • Charts support a decision, not decoration.

Common pitfalls

  • Looking at metrics without confirming the active build.
  • Sharing a filtered report without clarifying the scope.
  • Comparing percentages when the number of assigned test cases changed significantly.
reportsmetricsbuildbugstendencias

Share reports

How to choose the right report type and share it without overexposing.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when someone outside day-to-day operations needs to understand the state of a build without navigating all of Treseko.

Expected result

The recipient receives a report with a clear scope, sufficient data and access limited to what they actually need to see.

Execution
Step
Screenshot
Bug
Report

Not all reports answer the same question. An executive needs status, risk and trend. Development needs reproducible failures. Internal use can include more operational detail.

Shareable snapshots freeze a state per build and avoid explaining live changes while someone reviews the report. This option requires the Premium reports.snapshots capability.

If there is sensitive evidence, review expiration, recipients and detail level before sharing. Traceability is valuable, but not all evidence should leave the team.

Recommended flow

  1. Confirm project, component and build.
  2. Choose report type: executive, development or internal.
  3. Review included metrics, bugs and evidence.
  4. Define expiration or shared link scope if applicable.
  5. Add brief context for the recipient.
  6. Send and log the delivery when relevant.

How to verify

  • The report indicates the evaluated build.
  • Critical bugs have evidence or clear steps.
  • The recipient does not see unnecessary information.
  • The shared link expires if it contains sensitive information.

Common pitfalls

  • Sending a technical report to an executive audience.
  • Sharing evidence with sensitive data without reviewing access.
  • Using an old report after the active build changed.
executive reportdevelopmentinternalsnapshotevidence

Users and solutions

How to invite people to the solution without handing out global permissions.

Open guide
Reading
8 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you are building a new team or when a consulting firm/department needs access to Treseko with limited permissions.

Expected result

The user exists, has a clear authentication provider, appropriate global role and access only to the correct solution.

AD / LDAPIdentityPassword
TresekoLinked userRole and permissions

Treseko distinguishes identity, global role and operational membership. A user can exist without having broad access to everything in the instance.

Local users use email and password managed by Treseko. AD/LDAP users are validated against the directory, but roles are still managed by Treseko.

To operate well, avoid using ADMIN as a quick invitation. Most people need QA_LEAD, TESTER or VIEWER, and then project-level permissions.

Recommended flow

  1. Open Configuration > User Management.
  2. Create local user or search for AD/LDAP user.
  3. Complete name, email and status.
  4. Assign base global role or custom role.
  5. Save the user.
  6. Verify they appear as active with the correct provider.
  7. Assign them to specific projects later if applicable.

How to verify

  • The user cannot self-assign an elevated role.
  • A non-existent AD user should not be saved as linked.
  • The visible role matches the actual responsibility.
  • Audit logs record sensitive changes.

Common pitfalls

  • Creating duplicate users with similar emails.
  • Giving ADMIN to solve a one-time access issue.
  • Assuming belonging to an AD group makes the user a Treseko administrator.
userssolutionsrolesadrbac

Project teams

How to control who works on each project and with what responsibility.

Open guide
Reading
7 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when a solution has multiple projects and you need each person to see or edit only what is relevant.

Expected result

The project shows correct members, understandable roles and removed access when a person stops participating.

Adding a user to Treseko does not always mean adding them to all projects. Project membership helps separate clients, teams and scopes.

Treseko exposes endpoints and UI to list project members, assign or update roles and remove users from the team.

Best practice is to review members at the start and end of each release, especially when there are consultants or temporary teams.

Recommended flow

  1. Open the project.
  2. Go to team or project members.
  3. Search for the existing user.
  4. Assign an operational role for that project.
  5. Save changes.
  6. Confirm the user sees the expected project.
  7. Remove members who no longer participate.

How to verify

  • The user appears in the project member list.
  • The project role does not contradict the global role.
  • A removed user stops seeing or modifying that project.
  • Changes are audited if sensitive.

Common pitfalls

  • Confusing global role with role within the project.
  • Leaving old users on closed projects.
  • Assigning people before creating the component and build properly, then losing context.
projectsmembersusersrolesaccess

Project, build, suite and test cases

The complete journey from an empty installation to a build ready for testing.

Open guide
Reading
12 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it after the first login, when the installation works but does not have real QA data yet.

Expected result

A consistent initial structure: project created, component defined, active build, organized suite and test cases ready to execute.

1Organization
2Project
3Component
4Build
5Suite
6Test case

Treseko works best when the structure is loaded in order. First solution and project; then component; then build; only then suites, test cases and executions.

The build defines the executable and reportable scope. Reports for a build should be calculated over the test cases assigned to that build, not over the entire project history.

If the team comes from spreadsheets, start with a few clear suites. There is always time to refine; the expensive mistake is starting with such a broad structure that nobody can read it.

Recommended flow

  1. Create or select the solution.
  2. Create project.
  3. Create component with name and description.
  4. Create build for that component and mark it active.
  5. Create suites by functional area.
  6. Create test cases with steps and expected results.
  7. Assign test cases to the build scope.
  8. Run a first manual or AI test.
  9. Review dashboard and reports for that build.

How to verify

  • The active build belongs to the correct component.
  • Test cases have code, steps and expected result.
  • The suite does not mix unrelated modules.
  • Metrics recalculate when changing the global build.

Common pitfalls

  • Creating test cases before defining component and build.
  • Using a single giant suite for the entire product.
  • Reporting metrics without assigning test cases to the evaluated build.
projectcomponentbuildsuitetest cases

Editions and licenses

How the four editions differ and what Treseko validates before enabling a capability.

Open guide
Reading
9 min
Updated
2026-07-22
Version
1.0.6

When to use this guide

Use it to choose between Community, Premium Team, Premium Pro and Enterprise, or to understand why a capability appears blocked.

Expected result

The license screen shows plan, expiration, capabilities, limits, last verification and grace period clearly.

.treseko file
Ed25519 signaturepublic keyringfeatures and limits
Premium active

Community is the free self-hosted base for QA management. Premium Team expands limits and collaboration for small teams; Premium Pro adds the full AI Engine, automation and advanced reports; Enterprise adds SSO, custom limits, assisted installation and SLA.

All four editions use the same product. Changing plans does not require reinstalling or moving data to another platform.

Treseko does not enable features by the commercial plan name, but by features and limits signed inside the license. This keeps authorization verifiable.

Premium licenses are validated with embedded public keys. If there is connectivity, they can also heartbeat against the verification server.

Recommended flow

  1. Install Treseko Community.
  2. Choose Premium Team, Premium Pro or Enterprise based on team operations.
  3. Request the corresponding license.
  4. Install the .treseko file from Configuration > License.
  5. Verify plan, expiration, heartbeat and grace period.
  6. Review enabled features and applied limits.

How to verify

  • The key_id of the license matches a known public key.
  • The Ed25519 signature validates before saving the license.
  • The visible plan matches the signed plan_id and plan_name.
  • The user also has the required RBAC permission for the action.
  • The heartbeat records instance_id and respects the grace period.

Common pitfalls

  • Sending a trial license through public channels and exposing the activation_token.
  • Looking only at the plan name and not the signed features.
  • Treating a custom Enterprise agreement as a fifth public edition.
  • Running a production installation depending on dev variables.
communitypremium teampremium proenterpriselicense

Update system

How available versions are reported by channel and how rollback is protected.

Open guide
Reading
10 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it before publishing a release or when the administrator wants to know what happens before, during and after an update.

Expected result

Treseko reports if there is a next immediate version, shows release notes, records live states and keeps a rollback path if the update does not finish successfully.

Check
Manifest
Backup
Migration
Smoke check
Rollback if it fails

Treseko checks if an update is available by sending its version, edition and configured channel. The server responds with the next immediate version when applicable.

Updates are applied in order. The platform reports; the administrator decides when to execute.

The flow includes logs, live states, code/database backup and rollback if a migration or verification fails.

Recommended flow

  1. Check update availability.
  2. Show next immediate version and release notes.
  3. Generate pre-update backup.
  4. Apply signed package.
  5. Run migrations and smoke checks.
  6. Confirm success or execute rollback.
  7. Record logs and final state.

How to verify

  • The proposed version is exactly the next one in the channel.
  • The manifest is signed with the updates public key.
  • The backup exists before migrating the database.
  • Rollback restores code, database and visible version.

Common pitfalls

  • Skipping versions and discovering too late that a migration expected an intermediate state.
  • Updating with little free space and running out of room for backup.
  • Not saving logs of a failed migration and losing the data that explained the problem.
updatesrollbackcommunity-stablepremium-stablesmoke

Active Directory, LDAP and OIDC

Corporate authentication with external users and internal Treseko roles.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when the company wants to authenticate against AD, LDAP or OIDC, but keep QA permissions inside Treseko.

Expected result

The user logs in with their corporate credentials and Treseko applies an internal role, visible to administrators and auditable.

AD / LDAPIdentityPassword
TresekoLinked userRole and permissions

Treseko can authenticate against AD/LDAP or OIDC and link existing directory users. The provider supplies identity; Treseko decides platform permissions. This integration requires the Premium auth.sso capability.

Roles are assigned inside Treseko to avoid surprises. Someone existing in the directory does not mean they can administer QA projects.

AD user search validates existence before saving links, and the UI differentiates local users from linked AD users.

Recommended flow

  1. Open Configuration → Preferences and scroll to Active Directory.
  2. Enable the integration and choose Direct LDAP or OIDC / SSO.
  3. Configure the LDAP/AD server and base DN, or the OIDC issuer and client.
  4. Save and use Test configuration to review the setup.
  5. Search for a user by email, UPN or name.
  6. Validate existence, create the link and assign the Treseko role.
  7. Sign out and test login with corporate AD credentials.

How to verify

  • A non-existent user cannot be saved as linked AD.
  • A valid AD user can log in with their corporate password.
  • Changing the role in Treseko changes permissions without touching AD.
  • The table differentiates Local and Linked AD.

Common pitfalls

  • Assuming an AD group equals a Treseko role.
  • Saving AD users without validating they exist in the directory.
  • Not logging login failures and then being unable to distinguish invalid credentials from LDAP issues.
active directoryldapoidcusersrolessecurity

Reports and evidence

Snapshots, build metrics, bugs and evidence for stakeholders.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when the team needs to stop explaining status by chat and start sharing reports with traceable evidence.

Expected result

Management sees status and trend; the technical team keeps steps, bugs, files and context to investigate.

Execution
Step
Screenshot
Bug
Report

Treseko reports take execution data and turn it into a different reading depending on the audience: business, development or internal operations.

Each piece of evidence is linked to the correct point: test case, step, screenshot, execution or bug. The difference shows when someone asks why a delivery was blocked.

Snapshots allow sharing a frozen state per build without opening the entire installation. Shared links require the Premium reports.snapshots capability.

Recommended flow

  1. Run test cases or import external results.
  2. Review build metrics.
  3. Create bugs with evidence.
  4. Generate executive, development or internal report.
  5. Share snapshot with expiration when applicable.

How to verify

  • Every important bug has associated evidence.
  • The report shows status by build, not a historical mix that is hard to defend.
  • Shared links expire when appropriate.
  • Large evidence files respect configured limits.

Common pitfalls

  • Sharing reports without expiration when they contain sensitive information.
  • Uploading heavy files without a storage and cleanup policy.
  • Asking an executive report to explain details that belong in the technical report.
reportsevidencebugsstakeholderssnapshots

Security, RBAC and audit

Roles, capabilities, sessions, notifications and operational traceability.

Open guide
Reading
9 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it before inviting the entire team, especially if there are clients, consulting firms or departments with separate responsibilities.

Expected result

Each person has the right access, sessions are understood in hours, and sensitive changes leave a trace.

Treseko uses roles and capabilities to control what each user can see or modify. Base roles cover administration, QA leadership, testers and read-only.

Sessions are configured in hours because that is the unit administrators usually discuss with real users.

Critical events can generate internal notifications and email when SMTP is configured.

Recommended flow

  1. Define roles by actual responsibility.
  2. Assign minimum necessary permissions.
  3. Configure session duration.
  4. Activate relevant notification rules.
  5. Review audit logs for sensitive changes.

How to verify

  • A TESTER cannot administer users.
  • A VIEWER cannot modify test cases or builds.
  • Role changes generate audit and notification if the rule is active.
  • Closing session invalidates the active token.

Common pitfalls

  • Assigning ADMIN as a quick fix and forgetting to downgrade it later.
  • Setting very long sessions without reviewing operational risk.
  • Enabling email without testing SMTP and without checking the internal mailbox.
rbacsesionesauditpermissionsnotifications

Run manual tests

The short flow to test a build, leave evidence and create bugs without losing context.

Open guide
Reading
6 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you already have project, component, build and test cases loaded, and want to record a real execution with traceability.

Expected result

The execution is saved with status per test case and step, attached evidence and bugs created from the exact point where it failed.

Manual testing is the most direct way to record that a build was reviewed. It does not replace automation, but it organizes daily work and avoids reports over chat.

Before starting, confirm you are in the correct project, component and build. If you choose the wrong build, the result may be technically valid but useless for closing the delivery.

When something fails, create the bug from the execution. This way Treseko keeps the test case, step, build, evidence and observation without asking the tester to copy everything manually.

Recommended flow

  1. Select project, component and build from the top bar.
  2. Open Run Tests.
  3. Choose suite or test cases to execute.
  4. Start the manual execution.
  5. Mark each step as passed, failed, blocked or not applicable.
  6. Attach screenshots, files or comments when they add context.
  7. Create bug from the failed step if applicable.
  8. Finish the execution and review the summary.

How to verify

  • History shows the execution with the correct build.
  • Steps have consistent states and useful observations.
  • Evidence opens from the execution or bug detail.
  • The dashboard and reports reflect the new result.

Common pitfalls

  • Running without checking the active build.
  • Attaching evidence to the wrong place and not finding it later.
  • Creating manual bugs disconnected from the execution.
  • Closing a test as passed even with blocked steps.
run testsmanualevidencebugsbuild

Create test cases, steps and versions

How to write useful test cases, maintain versions and avoid the suite becoming unmanageable.

Open guide
Reading
9 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you are going to load new test cases or adjust existing ones before an important build.

Expected result

The suite stays organized, test cases have clear steps and important changes are versioned so old executions are not confused.

A good test case is not a novel. It has an intention, clear preconditions, verifiable steps and an expected result that another person can repeat.

Versions help when the product changes. If an old execution failed against the previous version of the test case, do not erase the trail to make history look cleaner.

Treseko allows combining manual, internal automated and external result test cases. The difference must be clear from the test case type and its automation data.

Recommended flow

  1. Create or choose a suite with a concrete scope.
  2. Create the test case with name, code and brief description.
  3. Add preconditions if the test case depends on data or permissions.
  4. Write steps in executable order.
  5. Define expected result per step or per test case.
  6. Configure execution type: manual, automated or external.
  7. Save and assign the test case to the corresponding build.
  8. Create a new version when the expected behavior changes.

How to verify

  • Another person can execute the test case without asking you over chat.
  • The test case belongs to a suite that explains its scope.
  • Major changes are saved as a new version.
  • The test case code is stable if used via API or CI/CD.

Common pitfalls

  • Putting multiple scenarios into a single giant test case.
  • Changing steps after execution and losing historical comparability.
  • Using vague titles like Test login without expected result.
  • Forgetting to assign the test case to the build to be tested.
test casessuitespasosversionesauthoring

I cannot see my test cases in Run

Checklist to solve the most common issue before execution: the test case exists but does not appear.

Open guide
Reading
4 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when someone says I loaded the test case but I cannot see it in Run Tests.

Expected result

The team identifies whether the issue is missing build selection, unassigned scope, wrong component or incorrect permissions.

In Treseko, Run Tests does not show all history without a filter. It shows what matches the chosen context: project, component, build, suite and user permissions.

This prevents accidentally testing test cases from another delivery, but it also makes a wrong selection look like a loading error.

The solution is usually in the build scope. If the test case does not belong to the active build, it should not enter metrics or executions for that delivery.

Recommended flow

  1. Confirm the selected project in the top bar.
  2. Confirm the selected component.
  3. Confirm that an active build exists.
  4. Open the project and check if the test case is inside a suite.
  5. Check if the test case was assigned to the build scope.
  6. Clear search or status filters in Run Tests.
  7. Verify the user has access to the project.
  8. Reload the view after saving scope changes.

How to verify

  • The test case appears when filtering by its code or name.
  • The active build contains that test case.
  • The user sees the correct project and component.
  • The build scope metric changes when assigning the test case.

Common pitfalls

  • Creating the test case in another component.
  • Having a build selected that is different from the one being prepared.
  • Forgetting that the build limits which test cases are executed and reported.
  • Searching by old name after renaming the test case.
troubleshootinginvisible test casesactive buildscopepermissions

Environments, datasets and variables

How to change data and environments without rewriting every script or test case.

Open guide
Reading
8 min
Updated
2026-07-18
Version
1.0.6

When to use this guide

Use it when the same test case needs to run against QA, staging or another environment, or when data changes per build.

Expected result

Test cases and workers consume clear variables, with values per environment, without credentials hardcoded in scripts.

Environments separate where you test and datasets separate what data you test with. Technical variables are resolved from the component and execution context to avoid hardcoded URLs, users or IDs.

For automated tests, this separation is key. A script that only works on one person's machine is not reliable automation.

Not all values should be visible to everyone. Credentials and tokens need careful handling, appropriate permissions and cautious logging.

Recommended flow

  1. Create environments with simple names: QA, Staging, Demo or Controlled Production.
  2. Define common variables like base_url, tenant, test_user or feature_flag.
  3. Separate sensitive data from public test case data.
  4. Associate datasets to project, build or suite as appropriate.
  5. Use variables in automated steps or worker scripts.
  6. Run a short test to confirm value substitution.
  7. Review logs to ensure they do not print secrets.

How to verify

  • Changing the environment changes URL or data without editing the test case.
  • The worker receives expected variables.
  • Sensitive values do not appear in screenshots or unnecessary logs.
  • The execution records which environment was used.

Common pitfalls

  • Using real production values for destructive tests.
  • Storing passwords in plain text within the test case step.
  • Naming variables differently in each suite.
  • Not recording the environment and then not knowing where it failed.
environmentsdatasetsvariablesautomationtest data

Bug Tracker: daily flow

The practical cycle of a bug from failure to retest.

Open guide
Reading
7 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when the team needs to stop chasing bugs through chat or spreadsheets and wants traceability by build.

Expected result

Each bug has priority, owner, evidence, clear status and a relationship to the test case or execution that generated it.

A useful bug answers three questions: what happened, where it happened and how to verify it. Evidence does not replace that description, it supports it.

Creating bugs from an execution reduces errors because Treseko already knows the build, test case, step, environment and evidence.

The retest must close the cycle. It is not enough to mark it resolved from development if no one confirms the result in the corrected build.

Recommended flow

  1. Create bug from a failure or from Bug Tracker.
  2. Complete title, description, severity and priority.
  3. Attach evidence or link the execution.
  4. Assign responsible person or team.
  5. Mark as duplicate if it already exists.
  6. Change to ready for retest when a fix is available.
  7. Run retest and close or reopen.
  8. Review reports by build to see impact.

How to verify

  • The bug indicates build, component and related test case when applicable.
  • The evidence can be opened without unnecessary extra permissions.
  • The status matches the team's actual conversation.
  • The retest is recorded before closing.

Common pitfalls

  • Creating multiple identical bugs from different executions.
  • Closing without retest.
  • Using priority and severity as if they were the same.
  • Attaching screenshots without explaining the expected result.
bug trackertriageretestevidencedefectos

Notifications and email

How to receive useful alerts without turning Treseko into noise.

Open guide
Reading
9 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you want Treseko to notify about bugs, executions, users, roles, reports or automation incidents.

Expected result

SMTP is tested, active rules are understood, and users can read or mute notifications from the app.

Treseko has two different channels: internal mailbox and email. The internal mailbox works even if SMTP is off; email depends on the mail server configuration.

Rules group possible events, for example bugs created, failed executions, provisioned AD users, role changes, closed builds or generated reports.

Do not activate everything for everyone. The best configuration starts with critical events and then adjusts based on the team's actual noise level.

Recommended flow

  1. Open Configuration > Email.
  2. Complete host, port, user, sender and TLS mode.
  3. Save SMTP and send a test email.
  4. Open the email rules modal.
  5. Activate events that actually require notification.
  6. Confirm whether the channel will be in_app, email or both.
  7. Check the notification bell in the top bar.
  8. Temporarily mute if the user needs focus.

How to verify

  • The test send records success or a clear error.
  • The internal mailbox receives events even if email fails.
  • Muting prevents new notifications until reactivated or the period expires.
  • Critical events appear with understandable text in Spanish.

Common pitfalls

  • Confusing email sent with email delivered to inbox.
  • Using a sender that does not match SPF, DKIM or DMARC.
  • Activating too many rules and making everyone ignore the bell.
  • Not checking SMTP logs when the provider rejects authentication.
notificationssmtpemailbandeja internaeventos

API keys and external access

How to connect integrations without sharing users or passwords.

Open guide
Reading
6 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it before connecting pipelines, external scripts or integrations that report results to Treseko.

Expected result

The integration uses an active API key, with appropriate permissions and the ability to revoke without changing the user account.

An API key identifies an integration. It should not replace human login or be shared across teams without control.

To report external tests, the key must belong to an active user with permissions on the involved solution, project and build.

If a key is leaked, it is revoked. That is the advantage over sharing personal passwords in CI/CD scripts.

Recommended flow

  1. Log in with the user who will be responsible for the integration.
  2. Open My Profile or the API keys section.
  3. Create a key with a descriptive name.
  4. Save the token in the pipeline's secret manager.
  5. Test a minimal external report.
  6. Rotate the key if the responsible person changes or there is suspicion of leakage.
  7. Revoke keys that are no longer used.

Use API key in an external report

curl -X POST "$TRESEKO_API_URL/external/executions/report" \
  -H "Authorization: Bearer $TRESEKO_EXTERNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"solution_code":"SOL-demo","project_code":"PRJ-demo","component_code":"CMP-web","build_code":"BLD-001","external_run_id":"ci-001","cases":[]}'

How to verify

  • The key is not written in repositories or logs.
  • The associated user is still active.
  • The external report returns a 2xx response or an understandable permission error.
  • Revoking the key prevents new reports with that token.

Common pitfalls

  • Using a personal key in a shared pipeline without a clear owner.
  • Pasting tokens in versioned files.
  • Giving broad permissions to solve a one-time error.
  • Not rotating keys after a demo or public test.
api keyintegracionesci cdsecurityexternal api

Monitor, health and logs

How to tell if backend, worker, AI, database, Redis or email failed.

Open guide
Reading
8 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when the app responds strangely, an execution stays pending or someone reports that something stopped working.

Expected result

The administrator identifies the affected service and gathers evidence before restarting or escalating.

The monitor is not just a green or red light. It helps locate the problem: frontend, backend, engine, worker, AI, database, Redis, email or integrations.

Before restarting everything, check the correct service. A global restart can erase useful context and hide the error that needed investigation.

Logs are more valuable when saved with time, affected user, action performed and expected result.

Recommended flow

  1. Open Configuration > Monitor.
  2. Identify the degraded service.
  3. Reproduce the action with a test user if safe.
  4. Review logs of the affected service.
  5. Search for recent errors by timestamp.
  6. Save a minimal extract without secrets.
  7. Apply fix or targeted restart.
  8. Confirm the monitor returns to expected state.

Useful Docker logs

docker compose -f docker-compose.prod.yml ps
docker compose -f docker-compose.prod.yml logs --tail=120 backend
docker compose -f docker-compose.prod.yml logs --tail=120 engine

How to verify

  • The monitor state matches the manual test.
  • The logs show the error or confirm the request never arrived.
  • No tokens, passwords or sensitive data were copied to the ticket.
  • After fixing, the action that failed is repeated.

Common pitfalls

  • Restarting all services without saving logs.
  • Checking frontend when the error comes from backend or Redis.
  • Ignoring disk space before updates or heavy uploads.
  • Confusing expected AI Engine degradation with total system outage.
monitorlogshealth checkdockersoporte

Common problems

A short map to go straight to the correct guide when something does not work.

Open guide
Reading
5 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it when you are not sure if the problem is configuration, permissions, build, integration or infrastructure.

Expected result

The user stops trying random things and follows a brief diagnosis path.

When something fails, the best first step is to name the symptom precisely. I cannot log in, I cannot see test cases, emails do not arrive and the AI does not respond are different problems.

This guide works as a referral board. It does not try to explain everything; it points to the correct runbook for faster resolution.

If the problem affects multiple users, save time, user, project, build, browser and exact message before touching configurations.

Recommended flow

  1. If you cannot log in, check Reset administrator or Active Directory.
  2. If you cannot see test cases, check I cannot see my test cases in Run.
  3. If a manual test fails, check Run manual tests.
  4. If the worker does not pick up jobs, check Automation Workers.
  5. If an external API fails, check API keys and Internal automated tests/External API.
  6. If emails do not arrive, check Notifications and email.
  7. If an update fails, check Update system.
  8. If you do not know which service failed, check Monitor, health and logs.

How to verify

  • The problem was classified into a concrete category.
  • There is minimal evidence: message, time and affected user.
  • A small action was tried before changing large configurations.
  • The follow-up is recorded to avoid repeating the diagnosis.

Common pitfalls

  • Changing several things at once and not knowing which one solved or worsened the problem.
  • Sending screenshots without time or user information.
  • Treating a permission problem as a system outage.
  • Restarting shared services without reviewing impact.
troubleshootingsoporteerrores comunes

Import and export suites and test cases

How to move one or more test cases, complete suites and attachments between projects or installations.

Open guide
Reading
10 min
Updated
2026-07-22
Version
1.0.6

When to use this guide

Use it to back up Treseko test cases, transfer them to another instance or migrate compatible exports from another tool.

Expected result

Before confirming, you see the same suite and test case tree that will be created, along with warnings and fields that cannot be preserved.

Treseko exclusively exports its versioned .tcases package. The package can preserve hierarchy, UUID, versions, steps, data, expected results and supported binary attachments.

To import from another tool you must choose the exact product profile and format. Sharing an XML, JSON or CSV extension does not make two different exports compatible.

The destination component is mandatory. The build is optional because test cases can be imported first and assigned later to a delivery scope.

Recommended flow

  1. Open Portability within the project.
  2. To export, choose test cases or suites in the tree and download .tcases.
  3. To import, select the component and the source file.
  4. Choose the tool profile and version.
  5. Review tree, warnings, ignored fields and detected attachments.
  6. Select the test cases to persist.
  7. Confirm and review the auditable batch.
  8. Revert the batch if post-validation detects a recoverable issue.

How to verify

  • The profile matches the tool that generated the file.
  • The detected suites, test cases and steps have a title.
  • Repeated names do not replace test cases with a different identity.
  • Binary attachments appear only when they traveled inside .tcases.
  • The destination component belongs to the correct project.

Common pitfalls

  • Choosing a parser only because the extension matches.
  • Confirming without reading warnings and ignored_fields.
  • Expecting an external URL to become a binary attachment.
  • Exceeding limits by loading large complete packages into memory.
tcasesimportexportadjuntosmigracion

Requirements, stories and test cases with AI

How to go from a requirement to reviewable stories and test cases without losing coverage or human control.

Open guide
Reading
11 min
Updated
2026-07-22
Version
1.0.6

When to use this guide

Use it when you want to document a need, generate proposals and verify that every criterion has linked test cases.

Expected result

The project keeps the chain requirement, story, test case and latest result, and no AI proposal is persisted without human selection.

Traceability connects Project, Requirement, Story, Test Case, Execution and Evidence. Each important change keeps history and can mark linked test cases for review.

Treseko separates three workflows: story generation, test case generation and test execution. Each selector keeps its own published version and editing one does not replace the others.

AI proposes content; the backend validates permissions, quota, contract and selection before creating stories or test cases within a transaction.

Recommended flow

  1. Create or select a project requirement.
  2. Complete context and acceptance criteria.
  3. Request estimation and review assumptions.
  4. Run the story generation workflow.
  5. Edit and only apply the selected stories.
  6. Open a story and review structured criteria.
  7. Generate test case proposals and review steps, data and expected results.
  8. Apply selected test cases and check the coverage matrix.

How to verify

  • The active workflow matches the correct use.
  • Proposals show the source requirement or story.
  • Criteria without coverage remain visible.
  • A malformed response does not create partial records.
  • Audit identifies user, workflow and version.

Common pitfalls

  • Using the execution workflow to generate stories or test cases.
  • Applying proposals without reviewing assumptions and criteria.
  • Interpreting an AI output as human approval.
  • Storing secrets inside prompts or agents.
requisitoshistoriastest casesaicoverage

Access-controlled MCP

Public guide for connecting an AI to Treseko, discovering its tools and operating with least privilege, auditability and idempotency.

Open guide
Reading
7 min
Updated
2026-09-17
Version
1.0.6

When to use this guide

Use it when connecting an MCP-compatible assistant to Treseko QA context with a controlled scope.

Expected result

The AI understands the catalog through discovery, distinguishes visibility from authorization, and executes only what the credential and RBAC allow.

MCP is the governed interface that lets a compatible assistant query and operate on Treseko QA context. Activation is manual from Settings and remains disabled by default until an authorized person enables it.

The AI must not assume which functions exist: it first reads the tool catalog and contracts. A visible catalog does not imply execution authorization; every call re-checks mcp.usar, the credential scope, the functional capability and project or organization access.

The mcp.usar permission controls the entry point: read allows configuration and discovery; edit allows activation and credential management. Administrators receive edit automatically, while other users remain limited by their functional permissions.

The surface covers test execution and control, evidence, result-derived bugs, cases, environments and datasets, and trends/build comparison. Chat, performance/load testing and arbitrary scripts are outside this contract.

MCP credentials are separate from the browser session. Store them in a secret manager and never put them in repositories, prompts, screenshots, tickets or logs. The downloadable file is an instruction template: it contains no credentials and grants no permissions.

Recommended flow

  1. Grant mcp.usar at read or edit level according to the task; the tool must not bypass functional RBAC.
  2. Enable MCP manually from Settings. It does not need to be enabled from deployment configuration.
  3. Create an MCP credential with only scopes the user can use and keep the secret out of source code.
  4. Run discovery before calling: read each tool name, description, parameters, scopes and required level.
  5. Start with a read-only query against an authorized project and retain the returned evidence/correlation_id.
  6. For mutations, request explicit confirmation, use the confirmation required by the tool and always send a unique idempotency_key.
  7. Validate the result in Treseko and review the audit entry. Revoke the credential or disable MCP when it is no longer needed.

Discover tools before execution

curl -sS https://YOUR_TRESEKO/mcp/tools \
   -H "X-MCP-API-Key: ${TRESEKO_MCP_API_KEY}"

JSON-RPC read call

curl -sS https://YOUR_TRESEKO/mcp \
+  -H "Content-Type: application/json" \
+  -H "X-MCP-API-Key: ${TRESEKO_MCP_API_KEY}" \
+  --data @request.json

Safe case update

POST /mcp
method: tools/call
name: treseko.cases.update
confirmation: UPDATE_CASE
idempotency_key: update-case-<unique-id>

# Include complete steps until partial-update behavior is safe.

How to verify

  • Manual activation is persisted in the installation settings and MCP remains deny-by-default.
  • Discovery returns the available catalog without presenting visibility as execution permission.
  • The credential contains only scopes compatible with the user’s functional capabilities.
  • Successful calls are audited with actor, tool and correlation_id.
  • Mutations reject missing or incorrect confirmation and requests without idempotency_key.

Common pitfalls

  • Using a browser JWT instead of an MCP credential.
  • Storing the API key in a versioned file or prompt.
  • Confusing a visible catalog with authorization to execute every tool.
  • Trying to use a tool without its scope or functional capability.
  • Omitting confirmation or idempotency_key from a mutation.
  • Omitting steps from treseko.cases.update: current behavior may replace existing steps with an empty list.
mcpaiapi keyrbacdiscoverysecurity