mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 12:07:51 +08:00
Refactor: codeAreaModalComponent.spec.ts for improved test readability and maintainability (#4928)
* refactor: Update codeAreaModalComponent.spec.ts to improve test readability and maintainability * [autofix.ci] apply automated fixes
This commit is contained in:
@ -52,10 +52,11 @@ test(
|
||||
await page.waitForSelector('[data-testid="prototypesPython Function"]', {
|
||||
timeout: 3000,
|
||||
});
|
||||
|
||||
await page.getByTestId("prototypesPython Function").hover();
|
||||
await page
|
||||
.getByTestId("prototypesPython Function")
|
||||
.dragTo(page.locator('//*[@id="react-flow-id"]'));
|
||||
.getByTestId("icon-Plus")
|
||||
.click();
|
||||
await page.getByTestId("fit_view").click();
|
||||
await page.getByTestId("zoom_out").click();
|
||||
await page.getByTestId("div-generic-node").click();
|
||||
|
||||
Reference in New Issue
Block a user