Skip to content

Commit 2364b4e

Browse files
committed
[releng] Bump to @xyflow/react 12.10.0
Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com>
1 parent a873eb0 commit 2364b4e

File tree

20 files changed

+473
-447
lines changed

20 files changed

+473
-447
lines changed

CHANGELOG.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ In a similar manner, `InvokeSingleClickOnDiagramElementToolInput` will now ask f
3434

3535
- [releng] Switch to https://github.com/spring-projects/spring-boot/releases/tag/v3.5.8[Spring Boot 3.5.8]
3636
- [releng] Switch to https://eclipse.dev/elk/downloads/releasenotes/release-0.11.0.html[elkjs 0.11.0]
37+
- [releng] Switch to https://github.com/xyflow/xyflow/releases/tag/%40xyflow%2Freact%4012.10.0[xyflow 12.10.0]
3738

3839

3940
=== Bug fixes

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

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

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

4245
await playwrightEdge.click();
4346
await playwrightEdge.isSelected();
@@ -61,7 +64,7 @@ test.describe('edge', () => {
6164
}) => {
6265
const playwrightNode = new PlaywrightNode(page, 'CompositeProcessor1');
6366
await playwrightNode.click();
64-
await playwrightNode.move({ x: 200, y: 50 });
67+
await playwrightNode.move({ x: 200, y: 150 });
6568

6669
const playwrightEdge = new PlaywrightEdge(page);
6770

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

147150
await expect(edge.edgeLocator).toBeAttached();
148151

integration-tests-playwright/playwright/e2e/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/node-creation.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
* Contributors:
1111
* Obeo - initial API and implementation
1212
*******************************************************************************/
13-
import { test, expect } from '@playwright/test';
14-
import { PlaywrightProject } from '../helpers/PlaywrightProject';
13+
import { expect, test } from '@playwright/test';
1514
import { PlaywrightExplorer } from '../helpers/PlaywrightExplorer';
1615
import { PlaywrightNode } from '../helpers/PlaywrightNode';
16+
import { PlaywrightProject } from '../helpers/PlaywrightProject';
1717

1818
test.describe('diagram - node creation', () => {
1919
let projectId;
@@ -53,8 +53,8 @@ test.describe('diagram - node creation', () => {
5353
page,
5454
}) => {
5555
const playwrightExplorer = new PlaywrightExplorer(page);
56-
playwrightExplorer.createNewObject('Root', 'entity3s-Entity3');
5756
await expect(page.getByTestId('rf__wrapper')).toBeAttached();
57+
playwrightExplorer.createNewObject('Root', 'entity3s-Entity3');
5858
await page.getByTestId('Label content - Parent').click({ button: 'right', position: { x: 1, y: 1 } }); // we use the label to click on the parent
5959
await expect(page.getByTestId('Palette')).toBeAttached();
6060
await page.getByTestId('tool-createEntity4').click();

0 commit comments

Comments
 (0)