mudler-agent and Ettore Di Giacinto
8f9a0b281d
test: update stale tests after the add-on owner and Sandbox skill changes ( #13045 )
...
* test(e2e): use a core built-in skill in the agent journeys
#13038 moved the docx, pdf, pptx and xlsx skills into the Sandbox
add-on, so core no longer embeds them. Three journeys still named docx
and xlsx as built-in skills. The backend e2e suite then failed: reading
/builtin/docx answered 404, and the system prompt had no docx entry.
The journeys now use localai-apps and localai-workspace, which core
still embeds. They keep their intent: an agent lists only the skills it
names, a plain chat lists all of them, and built-in skills are readable
but cannot be deleted.
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
* test(ui): serve owner host settings in the add-on e2e fixtures
#13033 moved the network policy and the skill provider pins to the
add-on owner. The add-on Settings tab and the skills switch now read
and write them with the host-settings-read and host-settings-update
dispatch actions. The specs still mocked only /api/settings, so the
owner read failed and the network block never rendered. Six specs
failed on master.
mockAddons now answers both actions from a revisioned policy, checks
the expected revision, applies patches like hostsettings.Patch and logs
each patch. The specs assert the owner patch instead of the
/api/settings POST. They also follow two other changes of #13033 : the
audit retention stays on the Settings page, and *.example.com is a
valid host pattern.
The document skill wording follows #13038 : an add-on provides docx and
xlsx, it does not replace a built-in.
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
* test(routes): port the UI capability tests to Ginkgo
The capability tests from #13024 used t.Fatal and t.Errorf, which the
forbidigo lint rule rejects. The routes package already runs a Ginkgo
suite, so the two tests are now specs in it, with the same models and
the same assertions.
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
---------
Signed-off-by: Ettore Di Giacinto <mudler@localai.io >
Co-authored-by: Ettore Di Giacinto <mudler@localai.io >
2026-11-02 22:09:45 +01:00
..
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-22 17:57:19 +02:00
2026-11-02 22:09:45 +01:00
2026-10-24 15:56:39 +02:00
2026-11-02 22:09:45 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-23 15:25:37 +02:00
2026-11-01 12:08:23 +01:00
2026-10-23 12:35:44 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 00:52:44 +01:00
2026-11-02 21:03:50 +01:00
2026-11-02 21:03:50 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 00:52:44 +01:00
2026-08-16 11:57:31 +02:00
2026-11-01 12:08:23 +01:00
2026-10-22 17:57:19 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 22:09:45 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 21:03:50 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-05-28 13:43:15 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-24 10:05:30 +02:00
2026-10-25 19:13:41 +01:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-09-27 07:42:21 +00:00
2026-09-27 07:42:21 +00:00
2026-10-08 22:03:07 +02:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:29:48 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-11-01 12:08:23 +01:00
2026-08-16 11:57:31 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 18:48:39 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-05-26 22:06:10 +02:00
2026-11-01 12:08:23 +01:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-07-28 19:33:48 +02:00
2026-06-22 18:26:19 +02:00
2026-08-16 11:57:31 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-07-28 19:33:48 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-04 09:34:21 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 22:09:45 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-02 21:03:50 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-20 18:08:37 +02:00
2026-08-19 08:45:59 +02:00
2026-11-01 12:08:23 +01:00
2026-10-24 22:46:09 +02:00
2026-10-22 17:57:19 +02:00
2026-10-22 17:57:19 +02:00
2026-10-22 17:57:19 +02:00
2026-10-22 17:57:19 +02:00
2026-10-23 12:35:44 +02:00
2026-10-10 08:30:02 +02:00
2026-10-22 17:57:19 +02:00
2026-10-23 12:35:44 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-29 22:06:41 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-08-03 00:16:08 +02:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-07-22 22:51:25 +02:00
2026-07-22 22:51:25 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-05-28 13:43:15 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00