Skip to content

Commit 8353ec1

Browse files
mcharfadifrouene
authored andcommitted
[releng] Bump to @xyflow/react 12.10.0
Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com> Signed-off-by: Florian ROUËNÉ <florian.rouene@obeosoft.com>
1 parent 92916a3 commit 8353ec1

File tree

22 files changed

+420
-399
lines changed

22 files changed

+420
-399
lines changed

CHANGELOG.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ Note that the namespace of published libraries from studios still matches the `p
254254

255255
- [releng] Switch to https://github.com/spring-projects/spring-boot/releases/tag/v3.5.9[Spring Boot 3.5.9]
256256
- [releng] Switch to https://eclipse.dev/elk/downloads/releasenotes/release-0.11.0.html[elkjs 0.11.0]
257+
- [releng] Switch to https://github.com/xyflow/xyflow/releases/tag/%40xyflow%2Freact%4012.10.0[xyflow 12.10.0]
257258

258259

259260
=== Bug fixes

integration-tests-playwright/playwright/e2e/diagrams/edge.spec.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ test.describe('edge', () => {
4141

4242
test('when a bend point is moved, then the edge path is changed', async ({ page }) => {
4343
const playwrightEdge = new PlaywrightEdge(page);
44+
const playwrightNode = new PlaywrightNode(page, 'CompositeProcessor1');
45+
await playwrightNode.click();
46+
await playwrightNode.move({ x: 200, y: 50 });
4447

4548
await playwrightEdge.click();
4649
await playwrightEdge.isSelected();
@@ -64,7 +67,7 @@ test.describe('edge', () => {
6467
}) => {
6568
const playwrightNode = new PlaywrightNode(page, 'CompositeProcessor1');
6669
await playwrightNode.click();
67-
await playwrightNode.move({ x: 200, y: 50 });
70+
await playwrightNode.move({ x: 200, y: 150 });
6871

6972
const playwrightEdge = new PlaywrightEdge(page);
7073

@@ -145,7 +148,7 @@ test.describe('edge', () => {
145148
const dataSource = new PlaywrightNode(page, 'DataSource1');
146149
const edge = new PlaywrightEdge(page);
147150
await compositeProcessor.click();
148-
await compositeProcessor.move({ x: 150, y: 50 });
151+
await compositeProcessor.move({ x: 150, y: 150 });
149152

150153
await expect(edge.edgeLocator).toBeAttached();
151154

integration-tests-playwright/playwright/e2e/diagrams/edgeOnEdges.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ test.describe('edgeOnEdge', () => {
6060
await page.getByTestId('creationhandle-right').hover();
6161
await page.mouse.down();
6262
const playwrightNode2a = new PlaywrightNode(page, 'Entity2a');
63-
await playwrightNode2a.nodeLocator.hover();
63+
await playwrightNode2a.nodeLocator.hover({ position: { x: 10, y: 10 } });
64+
await playwrightNode2a.nodeLocator.hover({ position: { x: 50, y: 50 } });
6465
await page.mouse.up();
6566
await page.getByTestId('connectorContextualMenu-E1toE2A').click();
6667
await expect(edges).toHaveCount(1);
@@ -70,7 +71,8 @@ test.describe('edgeOnEdge', () => {
7071
await page.getByTestId('creationhandle-bottom').hover();
7172
await page.mouse.down();
7273
const playwrightNode2b = new PlaywrightNode(page, 'Entity2b');
73-
await playwrightNode2b.nodeLocator.hover();
74+
await playwrightNode2b.nodeLocator.hover({ position: { x: 10, y: 10 } });
75+
await playwrightNode2b.nodeLocator.hover({ position: { x: 50, y: 50 } });
7476
await page.mouse.up();
7577
await expect(edges).toHaveCount(2);
7678
//Create node to edge

integration-tests-playwright/playwright/e2e/diagrams/node-creation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ test.describe('diagram - node creation', () => {
7070
expect(reactFlowXYPositionEntity4First.x).toBe(nodePadding);
7171

7272
// When creating a second one, it should place next to the first one
73-
await page.getByTestId('Label content - Parent').click({ button: 'right', position: { x: 1, y: 1 } }); // we use the label to click on the parent
73+
await listParentNode.nodeLocator.click({ button: 'right', position: { x: 1, y: 1 } }); // we use the label to click on the parent
7474
await expect(page.getByTestId('Palette')).toBeAttached();
7575
await page.getByTestId('tool-createEntity4').first().click();
7676
const entity4SecondNode = new PlaywrightNode(page, 'Entity4', 'FreeForm', 1);

0 commit comments

Comments
 (0)