From 9b6702c5fbb40a4f518ea236db05e036272f63f8 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 28 Jun 2026 16:15:27 +0200 Subject: [PATCH] fix(api): update logging config test for new response schema API now returns {success, config} instead of flat logging keys. Extract config dict before checking keys level, log_file, max_bytes, backup_count. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Docs/tasks.md | 15 - log.html | 10 +- output.xml | 2470 ++------------------------------- playwright-log.txt | 48 +- report.html | 10 +- tests/robot/api/logging.robot | 3 +- 6 files changed, 132 insertions(+), 2424 deletions(-) diff --git a/Docs/tasks.md b/Docs/tasks.md index 6d67439..5068aca 100644 --- a/Docs/tasks.md +++ b/Docs/tasks.md @@ -1,18 +1,3 @@ -## Task 3: API Health - Detailed Health Check - -**Suite:** `Robot.Api.Health` -**Test:** `Detailed Health Check` -**Result:** FAIL -**Error:** `Dictionary does not contain key 'memory'.` - -**Instructions:** -- Investigate the `GET /api/health` (or `/api/health/detailed`) endpoint response. -- The test expects a `memory` key in the JSON response, but it is missing. -- Check the health check implementation in the backend and add the `memory` field if it was removed or never implemented. -- Alternatively, if the API design changed, update the test in `tests/robot/api/health.robot` to match the new response structure. - ---- - ## Task 4: API Logging - Get Logging Config **Suite:** `Robot.Api.Logging` diff --git a/log.html b/log.html index d87d456..021d816 100644 --- a/log.html +++ b/log.html @@ -2073,25 +2073,25 @@ storage = function () { window.output = {};