mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:10:45 +00:00
fix(test): skip Open WebUI in no-live Docker plans
This commit is contained in:
@@ -482,16 +482,26 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
expect(plan.lanes).toEqual([
|
||||
expect.objectContaining({
|
||||
imageKind: "functional",
|
||||
live: false,
|
||||
live: true,
|
||||
name: "openwebui",
|
||||
resources: expect.arrayContaining(["docker", "live", "live:openai", "service"]),
|
||||
}),
|
||||
]);
|
||||
expect(plan.needs).toMatchObject({
|
||||
functionalImage: true,
|
||||
liveImage: true,
|
||||
package: true,
|
||||
});
|
||||
});
|
||||
|
||||
it("excludes Open WebUI from skip-live Docker all plans", () => {
|
||||
const plan = planFor({
|
||||
liveMode: "skip",
|
||||
});
|
||||
|
||||
expect(plan.lanes.map((lane) => lane.name)).not.toContain("openwebui");
|
||||
});
|
||||
|
||||
it("surfaces Docker lane test-state scenarios in plan JSON", () => {
|
||||
const plan = planFor({
|
||||
selectedLaneNames: [
|
||||
|
||||
Reference in New Issue
Block a user