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:
parent
79e3d3f50d
commit
17560245e2
1 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue