Skip to content

Commit fd17371

Browse files
committed
[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 84d7bb0 commit fd17371

File tree

19 files changed

+400
-381
lines changed

19 files changed

+400
-381
lines changed

CHANGELOG.adoc

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

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

318319

319320
=== Bug fixes

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ test.describe('edge on edge', () => {
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('edge on edge', () => {
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/edge.spec.ts

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

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

4447
await playwrightEdge.click();
4548
await playwrightEdge.isSelected();
@@ -63,7 +66,7 @@ test.describe('edge', () => {
6366
}) => {
6467
const playwrightNode = new PlaywrightNode(page, 'CompositeProcessor1');
6568
await playwrightNode.click();
66-
await playwrightNode.move({ x: 200, y: 50 });
69+
await playwrightNode.move({ x: 200, y: 150 });
6770

6871
const playwrightEdge = new PlaywrightEdge(page);
6972

@@ -144,7 +147,7 @@ test.describe('edge', () => {
144147
const dataSource = new PlaywrightNode(page, 'DataSource1');
145148
const edge = new PlaywrightEdge(page);
146149
await compositeProcessor.click();
147-
await compositeProcessor.move({ x: 150, y: 50 });
150+
await compositeProcessor.move({ x: 150, y: 150 });
148151

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

0 commit comments

Comments
 (0)