fix: removed duplicate controls from node toolbar (#7274)
* Removed duplicate elements from node toolbar * Fixed freeze tests * Replaced advanced button modal with edit button modal in all tests * Fixed freeze test * Fixed tests * Readded freeze when there is tool mode --------- Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
This commit is contained in:
parent
928e2da78e
commit
5e39d3f1e2
16 changed files with 40 additions and 99 deletions
|
|
@ -41,8 +41,7 @@ test(
|
|||
await page.waitForSelector("text=Chat Input", { timeout: 30000 });
|
||||
|
||||
await page.getByText("Chat Input", { exact: true }).click();
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId("advanced-button-modal").click();
|
||||
await page.getByTestId("edit-button-modal").last().click();
|
||||
await page.getByText("Close").last().click();
|
||||
|
||||
await page.getByText("Playground", { exact: true }).last().click();
|
||||
|
|
|
|||
|
|
@ -27,8 +27,7 @@ test(
|
|||
await page.waitForSelector("text=Chat Input", { timeout: 30000 });
|
||||
|
||||
await page.getByText("Chat Input", { exact: true }).click();
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId("advanced-button-modal").click();
|
||||
await page.getByTestId("edit-button-modal").last().click();
|
||||
await page.getByTestId("showfiles").click();
|
||||
await page.getByText("Close").last().click();
|
||||
|
||||
|
|
|
|||
|
|
@ -66,6 +66,9 @@ test(
|
|||
|
||||
await page.getByText("Prompt", { exact: true }).last().click();
|
||||
|
||||
await page.waitForSelector('[data-testid="more-options-modal"]', {
|
||||
timeout: 1000,
|
||||
});
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
|
||||
await page.getByText("Freeze", { exact: true }).first().click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue