test: update workflow configuration and Financial Agent JSON structure (nightly fix) (#7112)

* ✅ (test_apply_json_filter.py): update test data generation to exclude whitespace characters and control characters in dictionary keys to improve data quality and reliability

* fix tests
This commit is contained in:
Cristhian Zanforlin Lousa 2025-03-17 17:54:21 -03:00 • committed by GitHub
commit 9f331d67e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 167 additions and 148 deletions

View file

@ -25,6 +25,8 @@ withEventDeliveryModes(
await page.getByRole("heading", { name: "Simple Agent" }).first().click();
await initialGPTsetup(page);
await page.getByTestId("textarea_str_input_value").first().fill("Hello");
await page.getByTestId("button_run_chat output").last().click();
await page.waitForSelector("text=built successfully", {
@ -39,7 +41,7 @@ withEventDeliveryModes(
const concatAllText = textContents.join(" ").toLowerCase();
expect(concatAllText).toContain("hello! how can i assist you today?");
expect(concatAllText.length).toBeGreaterThan(20);
expect(concatAllText).toContain("how can i assist you today?");
expect(concatAllText.length).toBeGreaterThan(10);
},
);