You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
477 B
14 lines
477 B
import { describe, expect, it } from "vitest";
|
|
import type { Page } from "playwright";
|
|
import { runQuoteCapturePipeline } from "@/workers/rpa/quote-capture/pipeline";
|
|
|
|
describe("runQuoteCapturePipeline gate", () => {
|
|
it("未带 widgetFallbackAfterDirectFailure 时拒绝启动 Widget", async () => {
|
|
await expect(
|
|
runQuoteCapturePipeline({} as Page),
|
|
).rejects.toMatchObject({
|
|
message: expect.stringContaining("Direct 明确失败后"),
|
|
});
|
|
});
|
|
});
|