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
Clone the public repository.
Create the .env.production file from the template.
Edit secrets, database password and public URL.
Launch PostgreSQL and Redis.
Initialize the admin user.
Launch backend, engine and frontend.
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.
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
Choose a local installation, Windows with Docker Desktop or a Linux server over SSH.
Run the matching official installer.
Let it generate secrets, prepare Compose and run migrations.
Save the temporary administrator password.
Open the reported URL and change the password on first login.
Verify health checks and containers.
Configure backup and update policy.
Local installation
scripts/install_local_treseko.sh --http-port 9095
# Windows PowerShell:
.\scripts\install_local_treseko.ps1 -HttpPort 9095
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
Create organization or solution.
Create project and component.
Create or activate a build.
Group test cases into suites.
Run manual, automated, external or with AI.
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
Automation workers
How to connect workers, declare capabilities and handle uncommon language runtimes.
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
Install worker dependencies on the machine that will run tests.
Configure QA_API_BASE, QA_ORGANIZACION_ID, name, tags and headless mode.
Start the worker and copy the temporary code WK-xxxxxx.
Approve the code from Automation > Workers.
Confirm the worker is active, with recent heartbeat and visible capabilities.
Create or edit an automated test case with compatible framework and language.
Run the test case and review status, logs, artifacts and associated evidence.
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
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.
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
Choose internal mode if the script lives and runs from Treseko.
Choose external API if the script lives in another repository or pipeline.
Create or review short codes for solution, project, component, build and test case.
Create an API key from the profile of the user who will report results.
Run the tests in the external framework.
Send results to POST /external/executions/report.
Use external_run_id to deduplicate pipeline retries.
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."}]}'
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
Access the server where Treseko runs.
Verify that the backend container exists and can connect to the database.
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
Start backend, frontend and engine.
Open Configuration > AI Testing.
Define provider, LLM endpoint and model.
Run auto-scan of models if applicable.
Save configuration.
Test AI Engine status.
Create or choose a test case with clear steps.
Launch AI execution and review logs, screenshots and result.
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
Enter the correct project and component.
Open AI Engine or the AI execution flow.
Search and select the test cases.
Give the execution a clear name.
Choose date and time.
Confirm the schedule.
Keep the session open if the current flow requires it.
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.
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
Open Dashboard.
Select project, component and build.
Enable edit mode if available.
Move or resize widgets.
Hide widgets that do not contribute to your role.
Save useful filters.
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
Daily use
Customize reports and metrics
How to read metrics by build and adjust the view before exporting or sharing.
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
Open Reports and Metrics.
Select project, component and build.
Review coverage, passed, failed, blocked and pending.
Filter by date range if applicable.
Compare with previous build.
Review open bugs and severities.
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
Daily use
Share reports
How to choose the right report type and share it without overexposing.
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
Confirm project, component and build.
Choose report type: executive, development or internal.
Review included metrics, bugs and evidence.
Define expiration or shared link scope if applicable.
Add brief context for the recipient.
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.
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
Create or select the solution.
Create project.
Create component with name and description.
Create build for that component and mark it active.
Create suites by functional area.
Create test cases with steps and expected results.
Assign test cases to the build scope.
Run a first manual or AI test.
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
Licensing
Editions and licenses
How the four editions differ and what Treseko validates before enabling a capability.
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
Install Treseko Community.
Choose Premium Team, Premium Pro or Enterprise based on team operations.
Request the corresponding license.
Install the .treseko file from Configuration > License.
Verify plan, expiration, heartbeat and grace period.
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
Operations
Update system
How available versions are reported by channel and how rollback is protected.
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
Check update availability.
Show next immediate version and release notes.
Generate pre-update backup.
Apply signed package.
Run migrations and smoke checks.
Confirm success or execute rollback.
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.
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
Open Configuration → Preferences and scroll to Active Directory.
Enable the integration and choose Direct LDAP or OIDC / SSO.
Configure the LDAP/AD server and base DN, or the OIDC issuer and client.
Save and use Test configuration to review the setup.
Search for a user by email, UPN or name.
Validate existence, create the link and assign the Treseko role.
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
Daily use
Reports and evidence
Snapshots, build metrics, bugs and evidence for stakeholders.
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
Run test cases or import external results.
Review build metrics.
Create bugs with evidence.
Generate executive, development or internal report.
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
Administration
Security, RBAC and audit
Roles, capabilities, sessions, notifications and operational traceability.
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
Define roles by actual responsibility.
Assign minimum necessary permissions.
Configure session duration.
Activate relevant notification rules.
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
Daily use
Run manual tests
The short flow to test a build, leave evidence and create bugs without losing context.
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
Select project, component and build from the top bar.
Open Run Tests.
Choose suite or test cases to execute.
Start the manual execution.
Mark each step as passed, failed, blocked or not applicable.
Attach screenshots, files or comments when they add context.
Create bug from the failed step if applicable.
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.
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
Create or choose a suite with a concrete scope.
Create the test case with name, code and brief description.
Add preconditions if the test case depends on data or permissions.
Write steps in executable order.
Define expected result per step or per test case.
Configure execution type: manual, automated or external.
Save and assign the test case to the corresponding build.
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.
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
Confirm the selected project in the top bar.
Confirm the selected component.
Confirm that an active build exists.
Open the project and check if the test case is inside a suite.
Check if the test case was assigned to the build scope.
Clear search or status filters in Run Tests.
Verify the user has access to the project.
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
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
Create environments with simple names: QA, Staging, Demo or Controlled Production.
Define common variables like base_url, tenant, test_user or feature_flag.
Separate sensitive data from public test case data.
Associate datasets to project, build or suite as appropriate.
Use variables in automated steps or worker scripts.
Run a short test to confirm value substitution.
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.
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
Create bug from a failure or from Bug Tracker.
Complete title, description, severity and priority.
Attach evidence or link the execution.
Assign responsible person or team.
Mark as duplicate if it already exists.
Change to ready for retest when a fix is available.
Run retest and close or reopen.
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.
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
Open Configuration > Email.
Complete host, port, user, sender and TLS mode.
Save SMTP and send a test email.
Open the email rules modal.
Activate events that actually require notification.
Confirm whether the channel will be in_app, email or both.
Check the notification bell in the top bar.
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.
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.
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
If you cannot log in, check Reset administrator or Active Directory.
If you cannot see test cases, check I cannot see my test cases in Run.
If a manual test fails, check Run manual tests.
If the worker does not pick up jobs, check Automation Workers.
If an external API fails, check API keys and Internal automated tests/External API.
If emails do not arrive, check Notifications and email.
If an update fails, check Update system.
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.
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
Open Portability within the project.
To export, choose test cases or suites in the tree and download .tcases.
To import, select the component and the source file.
Choose the tool profile and version.
Review tree, warnings, ignored fields and detected attachments.
Select the test cases to persist.
Confirm and review the auditable batch.
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.
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
Create or select a project requirement.
Complete context and acceptance criteria.
Request estimation and review assumptions.
Run the story generation workflow.
Edit and only apply the selected stories.
Open a story and review structured criteria.
Generate test case proposals and review steps, data and expected results.
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.
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
Grant mcp.usar at read or edit level according to the task; the tool must not bypass functional RBAC.
Enable MCP manually from Settings. It does not need to be enabled from deployment configuration.
Create an MCP credential with only scopes the user can use and keep the secret out of source code.
Run discovery before calling: read each tool name, description, parameters, scopes and required level.
Start with a read-only query against an authorized project and retain the returned evidence/correlation_id.
For mutations, request explicit confirmation, use the confirmation required by the tool and always send a unique idempotency_key.
Validate the result in Treseko and review the audit entry. Revoke the credential or disable MCP when it is no longer needed.
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.