From 20724b8f50c246307af5460d1b01ae15df29f462 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Tue, 11 Jun 2024 12:06:05 -0300 Subject: [PATCH] fix actions mains --- poetry.lock | 4 ++-- src/frontend/tests/end-to-end/actionsMainPage.spec.ts | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 4910299cf..75d6e85ef 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiohttp" @@ -10469,4 +10469,4 @@ local = ["ctransformers", "llama-cpp-python", "sentence-transformers"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "0ee3f3bef82d57be2ab4ae7b70215ebca67b5bd5223e6a9322ee1837516a3cc6" +content-hash = "1bb2c31cf0c53a2931a5aa72db3aa06036bc54610f938a733d697e770079957d" diff --git a/src/frontend/tests/end-to-end/actionsMainPage.spec.ts b/src/frontend/tests/end-to-end/actionsMainPage.spec.ts index e2635cf57..9ebc39753 100644 --- a/src/frontend/tests/end-to-end/actionsMainPage.spec.ts +++ b/src/frontend/tests/end-to-end/actionsMainPage.spec.ts @@ -153,6 +153,8 @@ test("user should be able to download a flow or a component", async ({ await page.getByRole("heading", { name: "Basic Prompting" }).click(); await page.getByText("Chat Input", { exact: true }).click(); + await page.getByTestId("more-options-modal").click(); + await page.getByTestId("icon-SaveAll").first().click(); await page.waitForTimeout(3000); @@ -223,6 +225,8 @@ test("user should be able to duplicate a flow or a component", async ({ await page.getByRole("heading", { name: "Basic Prompting" }).click(); await page.getByText("Chat Input", { exact: true }).click(); + await page.getByTestId("more-options-modal").click(); + await page.getByTestId("icon-SaveAll").first().click(); await page.waitForTimeout(3000);