fix: removed beta from current date (#4901)

* Removed beta from current date

* [autofix.ci] apply automated fixes

* refactor: improve error message handling in CloudflareWorkersAIEmbeddings

* Fix filter sidebar test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Lucas Oliveira 2024-11-28 14:02:15 -03:00 • committed by GitHub
commit 79e3d3f50d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View file

@ -106,7 +106,9 @@ test(
page.getByTestId("langchain_utilitiesConversationChain"),
).toBeVisible();
await expect(page.getByTestId("helpersCurrent Date")).toBeVisible();
await expect(
page.getByTestId("langchain_utilitiesPrompt Hub"),
).toBeVisible();
await page.getByTestId("sidebar-options-trigger").click();
await page.getByTestId("sidebar-beta-switch").isVisible({ timeout: 5000 });
@ -114,7 +116,9 @@ test(
await expect(page.getByTestId("sidebar-beta-switch")).not.toBeChecked();
await page.getByTestId("sidebar-options-trigger").click();
await expect(page.getByTestId("helpersCurrent Date")).not.toBeVisible();
await expect(
page.getByTestId("langchain_utilitiesPrompt Hub"),
).not.toBeVisible();
await page.getByTestId("sidebar-filter-reset").click();