mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 02:32:20 +08:00
fix(test): Reduce response length assertions in flaky integration tests (#12057)
This commit is contained in:
committed by
GitHub
parent
6c4f1ddb98
commit
902252ef01
@ -71,6 +71,6 @@ test(
|
||||
|
||||
const textContents = await getAllResponseMessage(page);
|
||||
|
||||
expect(textContents.length).toBeGreaterThan(300);
|
||||
expect(textContents.length).toBeGreaterThan(150);
|
||||
},
|
||||
);
|
||||
|
||||
@ -72,7 +72,7 @@ withEventDeliveryModes(
|
||||
|
||||
const textContents = await getAllResponseMessage(page);
|
||||
|
||||
expect(textContents.length).toBeGreaterThan(300);
|
||||
expect(textContents.length).toBeGreaterThan(100);
|
||||
expect(textContents).toContain("amazon");
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user