Skip to content

Commit

Permalink
Tests screenshots 3
Browse files Browse the repository at this point in the history
  • Loading branch information
danielzhe committed Aug 6, 2024
1 parent f916099 commit 2e9b354
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ test.describe("Move external node - Decision", () => {
await editor.changeTab({ tab: TabName.EDITOR });
await palette.dragNewNode({
type: NodeType.DECISION_SERVICE,
targetPosition: { x: 200, y: 10 },
targetPosition: { x: 250, y: 50 },
thenRenameTo: DefaultNodeName.DECISION_SERVICE + " 1",
});
await palette.dragNewNode({
type: NodeType.DECISION_SERVICE,
targetPosition: { x: 600, y: 10 },
targetPosition: { x: 650, y: 50 },
thenRenameTo: DefaultNodeName.DECISION_SERVICE + " 2",
});

Expand All @@ -128,7 +128,7 @@ test.describe("Move external node - Decision", () => {
nodeName: "Sum",
targetPosition: {
x: 600,
y: 350,
y: 400,
},
});

Expand All @@ -137,16 +137,16 @@ test.describe("Move external node - Decision", () => {
nodeName: "Diff",
targetPosition: {
x: 200,
y: 350,
y: 400,
},
});

// We're hiding the panel now.
await palette.toggleExternalNodesPanel();

await diagram.resetFocus();
await nodes.move({ name: "Sum", targetPosition: { x: 300, y: 110 } });
await nodes.move({ name: "Diff", targetPosition: { x: 300, y: 250 } });
await nodes.move({ name: "Sum", targetPosition: { x: 320, y: 110 } });
await nodes.move({ name: "Diff", targetPosition: { x: 320, y: 250 } });
await nodes.move({ name: DefaultNodeName.DECISION_SERVICE + " 1", targetPosition: { x: 200, y: 300 } });
await nodes.move({ name: DefaultNodeName.DECISION_SERVICE + " 2", targetPosition: { x: 600, y: 300 } });

Expand Down

0 comments on commit 2e9b354

Please sign in to comment.