Skip to content

Commit

Permalink
Fix save components test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaseduoli committed Feb 14, 2025
1 parent 17ca609 commit 0ebdc83
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/frontend/tests/core/features/saveComponents.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,12 @@ test.describe("save component tests", () => {
expect(true).toBeTruthy();
}

await page
.locator('//*[@id="react-flow-id"]/div[1]/div[2]/button[3]')
.click();

await page.getByTestId("title-ChatOpenAI").click({
modifiers: ["Control"],
modifiers: ["ControlOrMeta"],
});

await page.getByTestId("title-Agent Initializer").click({
modifiers: ["Control"],
modifiers: ["ControlOrMeta"],
});

await page.getByRole("button", { name: "Group" }).click();
Expand Down

0 comments on commit 0ebdc83

Please sign in to comment.