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
|
|
@ -31,8 +31,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();
|
||||
|
|
|
|||
|
|
@ -98,13 +98,7 @@ test(
|
|||
timeout: 3000,
|
||||
});
|
||||
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
|
||||
await page.waitForSelector('[data-testid="freeze-path-button"]', {
|
||||
timeout: 3000,
|
||||
});
|
||||
|
||||
await page.getByTestId("freeze-path-button").click();
|
||||
await page.getByText("Freeze").first().click();
|
||||
|
||||
await page.waitForTimeout(2000);
|
||||
|
||||
|
|
|
|||
|
|
@ -262,17 +262,7 @@ test(
|
|||
|
||||
await page.getByText("Split Text", { exact: true }).click();
|
||||
|
||||
await page.waitForSelector('[data-testid="more-options-modal"]', {
|
||||
timeout: 1000,
|
||||
});
|
||||
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
|
||||
await page.waitForSelector('[data-testid="icon-Snowflake"]', {
|
||||
timeout: 1000,
|
||||
});
|
||||
|
||||
await page.getByText("Freeze", { exact: true }).first().click();
|
||||
await page.getByText("Freeze").first().click();
|
||||
|
||||
await page.waitForTimeout(3000);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue