fix: abort connection on error preventing infinite build (#6050)

* fix: abort connection on build errors

* fix: streamline error message formatting in ErrorMessage class

* test: remove timeout from waitForSelector in generalBugs-shard-10.spec.ts

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
anovazzi1 2025-02-03 12:56:26 -03:00 • committed by GitHub
commit d24e989a91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 643 additions and 32 deletions

View file

@ -58,7 +58,7 @@ test(
await page.getByTestId("button_run_chat output").click();
await page.waitForSelector("text=built successfully", { timeout: 30000 });
await page.waitForSelector("text=built successfully");
await page.getByTestId("playground-btn-flow-io").click();