refactor: Design tweaks canvas actions and templates based on uplift feedback (#4418)
* uplift sweep for canvas actions and templates * [autofix.ci] apply automated fixes * test fix * test fix 2 * one more fix --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: anovazzi1 <otavio2204@gmail.com> Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
This commit is contained in:
parent
de7b23ea93
commit
16924958da
7 changed files with 20 additions and 18 deletions
|
|
@ -21,7 +21,7 @@ test("user must be able to interact with starter projects", async ({
|
|||
modalCount = await page.getByTestId("modal-title")?.count();
|
||||
}
|
||||
|
||||
expect(page.getByText("Start from scratch")).toBeVisible();
|
||||
expect(page.getByText("Start from scratch", { exact: true })).toBeVisible();
|
||||
expect(page.getByRole("button", { name: "Blank Flow" })).toBeVisible();
|
||||
|
||||
await page.getByTestId("side_nav_options_all-templates").click();
|
||||
|
|
@ -48,9 +48,9 @@ test("user must be able to interact with starter projects", async ({
|
|||
|
||||
await page.waitForTimeout(500);
|
||||
|
||||
await page.getByTestId(`side_nav_options_chatbots`).click();
|
||||
await page.getByTestId(`side_nav_options_prompting`).click();
|
||||
await page.waitForTimeout(500);
|
||||
expect(page.getByTestId(`category_title_chatbots`)).toBeVisible();
|
||||
expect(page.getByTestId(`category_title_prompting`)).toBeVisible();
|
||||
|
||||
await page.getByTestId(`side_nav_options_rag`).click();
|
||||
await page.waitForTimeout(500);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ test("user should be able to see multiple edges and interact with them", async (
|
|||
}
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.getByText("Vector RAG", { exact: true }).last().click();
|
||||
await page.getByText("Vector Store RAG", { exact: true }).last().click();
|
||||
await page.waitForTimeout(3000);
|
||||
await page.getByText("Retriever", { exact: true }).first().isVisible();
|
||||
await page.getByText("Search Results", { exact: true }).first().isVisible();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue