mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
test: visual regression tests POC
This commit is contained in:
parent
debf2ad608
commit
733e45f3a9
11 changed files with 795 additions and 9 deletions
101
playwright/fixtures/arrows-one.json
Normal file
101
playwright/fixtures/arrows-one.json
Normal file
|
@ -0,0 +1,101 @@
|
|||
[
|
||||
{
|
||||
"id": "BVwXzIedYWBL09Y2nX0KF",
|
||||
"type": "rectangle",
|
||||
"x": 174.04421378335792,
|
||||
"y": 81.3412567234991,
|
||||
"width": 154.91157243328416,
|
||||
"height": 129.3174865530018,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffec99",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": "a0",
|
||||
"roundness": { "type": 3 },
|
||||
"seed": 992438773,
|
||||
"version": 329,
|
||||
"versionNonce": 440377595,
|
||||
"isDeleted": false,
|
||||
"boundElements": [{ "id": "iNGJMoRFEGfpE_7rpHFXx", "type": "arrow" }],
|
||||
"updated": 1745151365372,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "3lo_9L23HMj6peiZEQRgP",
|
||||
"type": "rectangle",
|
||||
"x": 487.0442137833579,
|
||||
"y": 261.3412567234991,
|
||||
"width": 154.91157243328416,
|
||||
"height": 129.3174865530018,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffec99",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": "a1",
|
||||
"roundness": { "type": 3 },
|
||||
"seed": 2129683285,
|
||||
"version": 346,
|
||||
"versionNonce": 744611387,
|
||||
"isDeleted": false,
|
||||
"boundElements": [{ "id": "iNGJMoRFEGfpE_7rpHFXx", "type": "arrow" }],
|
||||
"updated": 1745151365372,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "iNGJMoRFEGfpE_7rpHFXx",
|
||||
"type": "arrow",
|
||||
"x": 333.9557862166439,
|
||||
"y": 152.5,
|
||||
"width": 148.08842756671586,
|
||||
"height": 173.40000000000146,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffec99",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": "a2",
|
||||
"roundness": null,
|
||||
"seed": 1175662773,
|
||||
"version": 764,
|
||||
"versionNonce": 1518717819,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 1745151365372,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[0, 0],
|
||||
[74.04421378335613, 0],
|
||||
[74.04421378335613, 173.40000000000146],
|
||||
[148.08842756671586, 173.40000000000146]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": { "elementId": "BVwXzIedYWBL09Y2nX0KF", "focus": 0.1005277812500645, "gap": 5.000000000001819, "fixedPoint": [1.032276478260881, 0.550263890625] },
|
||||
"endBinding": { "elementId": "3lo_9L23HMj6peiZEQRgP", "focus": -1.0645529565217953, "gap": 5, "fixedPoint": [-0.032276478260857715, 0.49922670937501124] },
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true,
|
||||
"fixedSegments": null,
|
||||
"startIsSpecial": null,
|
||||
"endIsSpecial": null
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue