Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/advanced/api-access/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Run responses also include when a run was launched and finished, and the test ru

### Testomat.io MCP Server v2.0

The MCP Server speaks the Model Context Protocol, so AI assistants can work with [Public API v2](./public-api-v2.md) directly. It can do the following:
The MCP Server speaks the Model Context Protocol, so AI assistants can work with [Public API v2](https://docs.testomat.io/advanced/api-access/#public-api-v2) directly. It can do the following:

- Full CRUD support for core entities.
- Read-only tags access.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 26 additions & 3 deletions src/content/docs/project/analytics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ By toggling **As widget**, your custom chart will appear as a separate widget on
| --- | --- | --- |
| **Chart type** | Yes | How the data is drawn - bar, donut, pie |
| **Labels** | Yes | What the labels show - short query, title, number, title and % |
| **Percent of** | No | What the percentages are calculated from - the sum of all query results, or all tests in the project. Shown only for the **Tests** data source |
| **As widget** | No | Puts the chart on the Analytics dashboard, next to the other widgets |
| **Timeline period** | No | Tracks how the data changes over a period you pick |
| **Timeline extra line** | No | Adds a second line so you can compare two metrics |
Expand All @@ -138,6 +139,26 @@ During chart creation or in the **Edit** mode, select the **Labels** dropdown to

![Labels view](./images/8-labels-dropdown.png)

### Choose What Percentages Are Based On

By default, a chart adds up the results of all its queries and shows each percentage against that sum. If your queries overlap, the same test is counted more than once, so the percentages come out lower than expected.

To count each query against all tests in the project instead:

1. Open the chart in **Edit** mode.
2. In the **Percent of** dropdown, select **All tests in project**.
3. Click **Save**.

![The Percent of dropdown in Edit Chart with Sum of results and All tests in project](./images/percent-of-dropdown.png)

Each query is now counted on its own. For example, if 245 of your 405 tests match a query, the chart shows 61%.

:::note

**Percent of** is available only for the **Tests** data source. Percentages are rounded to whole numbers.

:::

### Color Customization

Personalize the colors of your queries for better data visualization. Use the color palette to choose your preferred shade. Alternatively, enter RGB, HSL, or HEX values manually for precise color selection.
Expand Down Expand Up @@ -256,8 +277,10 @@ We empowered Testomat.io Run Reports with Overview chart, Flaky and Slowests tes

Overview chart visualizes aggregated tests statuses by suites:

![Analytics In Run Reports](./images/gif3_357.gif)
![Analytics In Run Reports](./images/16-runs-analytics.png)

Flaky and Slowests tests widgets show the latest 5 tests and navigate to dedicated Analytics pages:
## Next Steps

![Flaky and Slowests widgets](./images/att11_357.png)
- [Query Language](https://docs.testomat.io/advanced/tql)
- [Analytics Dashboards (Widgets)](https://docs.testomat.io/advanced/global-analytics/analytics-dashboards)
- [Analytics Board](https://docs.testomat.io/advanced/global-analytics/analytics-board)
Loading