Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Dec 23, 2024
1 parent 7b7e23e commit 0dddf0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/ui/src/builder/builderManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function generateBuilderManager() {
instancePath?: string,
source?: SelectionSource,
) => {
if (!ev.shiftKey && !ev.ctrlKey) {
if (!ev.shiftKey && !ev.ctrlKey && !ev.metaKey) {
return setSelection(componentId, instancePath, source);
}

Expand Down
4 changes: 0 additions & 4 deletions tests/e2e/tests/workflows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ test.describe("Workflows", () => {
await returnValueBlock.click({ modifiers: ["Shift"] });

await expect(page.locator(`.WorkflowsNode.selected`)).toHaveCount(2);

expect(
await page.locator(".BuilderSettings__selectionCount").innerText(),
).toBe("2");
});

test("clear selection", async ({ page }) => {
Expand Down

0 comments on commit 0dddf0c

Please sign in to comment.