|
|
@ -11510,7 +11510,7 @@ exports[`regression tests key d selects diamond tool: [end of test] number of el
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key d selects diamond tool: [end of test] number of renders 1`] = `8`;
|
|
|
|
exports[`regression tests key d selects diamond tool: [end of test] number of renders 1`] = `8`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key e selects ellipse tool: [end of test] appState 1`] = `
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] appState 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|
"collaborators": Map {},
|
|
|
|
"collaborators": Map {},
|
|
|
|
"currentChartType": "bar",
|
|
|
|
"currentChartType": "bar",
|
|
|
@ -11590,35 +11590,50 @@ Object {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key e selects ellipse tool: [end of test] element 0 1`] = `
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] element 0 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|
"angle": 0,
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElements": null,
|
|
|
|
"boundElements": null,
|
|
|
|
|
|
|
|
"endArrowhead": null,
|
|
|
|
|
|
|
|
"endBinding": null,
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 10,
|
|
|
|
"height": 10,
|
|
|
|
"id": "id0",
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"isDeleted": false,
|
|
|
|
|
|
|
|
"lastCommittedPoint": null,
|
|
|
|
"link": null,
|
|
|
|
"link": null,
|
|
|
|
"opacity": 100,
|
|
|
|
"opacity": 100,
|
|
|
|
|
|
|
|
"points": Array [
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
],
|
|
|
|
"roughness": 1,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"seed": 337897,
|
|
|
|
|
|
|
|
"startArrowhead": null,
|
|
|
|
|
|
|
|
"startBinding": null,
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "ellipse",
|
|
|
|
"type": "line",
|
|
|
|
"updated": 1,
|
|
|
|
"updated": 1,
|
|
|
|
"version": 2,
|
|
|
|
"version": 3,
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
"versionNonce": 449462985,
|
|
|
|
"width": 10,
|
|
|
|
"width": 10,
|
|
|
|
"x": 10,
|
|
|
|
"x": 10,
|
|
|
|
"y": 10,
|
|
|
|
"y": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key e selects ellipse tool: [end of test] history 1`] = `
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] history 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|
"recording": false,
|
|
|
|
"recording": false,
|
|
|
|
"redoStack": Array [],
|
|
|
|
"redoStack": Array [],
|
|
|
@ -11650,23 +11665,38 @@ Object {
|
|
|
|
"angle": 0,
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElements": null,
|
|
|
|
"boundElements": null,
|
|
|
|
|
|
|
|
"endArrowhead": null,
|
|
|
|
|
|
|
|
"endBinding": null,
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 10,
|
|
|
|
"height": 10,
|
|
|
|
"id": "id0",
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"isDeleted": false,
|
|
|
|
|
|
|
|
"lastCommittedPoint": null,
|
|
|
|
"link": null,
|
|
|
|
"link": null,
|
|
|
|
"opacity": 100,
|
|
|
|
"opacity": 100,
|
|
|
|
|
|
|
|
"points": Array [
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
],
|
|
|
|
"roughness": 1,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"seed": 337897,
|
|
|
|
|
|
|
|
"startArrowhead": null,
|
|
|
|
|
|
|
|
"startBinding": null,
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "ellipse",
|
|
|
|
"type": "line",
|
|
|
|
"updated": 1,
|
|
|
|
"updated": 1,
|
|
|
|
"version": 2,
|
|
|
|
"version": 3,
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
"versionNonce": 449462985,
|
|
|
|
"width": 10,
|
|
|
|
"width": 10,
|
|
|
|
"x": 10,
|
|
|
|
"x": 10,
|
|
|
|
"y": 10,
|
|
|
|
"y": 10,
|
|
|
@ -11677,11 +11707,11 @@ Object {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key e selects ellipse tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key e selects ellipse tool: [end of test] number of renders 1`] = `8`;
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] number of renders 1`] = `8`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] appState 1`] = `
|
|
|
|
exports[`regression tests key o selects ellipse tool: [end of test] appState 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|
"collaborators": Map {},
|
|
|
|
"collaborators": Map {},
|
|
|
|
"currentChartType": "bar",
|
|
|
|
"currentChartType": "bar",
|
|
|
@ -11761,50 +11791,35 @@ Object {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] element 0 1`] = `
|
|
|
|
exports[`regression tests key o selects ellipse tool: [end of test] element 0 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|
"angle": 0,
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElements": null,
|
|
|
|
"boundElements": null,
|
|
|
|
"endArrowhead": null,
|
|
|
|
|
|
|
|
"endBinding": null,
|
|
|
|
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 10,
|
|
|
|
"height": 10,
|
|
|
|
"id": "id0",
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"isDeleted": false,
|
|
|
|
"lastCommittedPoint": null,
|
|
|
|
|
|
|
|
"link": null,
|
|
|
|
"link": null,
|
|
|
|
"opacity": 100,
|
|
|
|
"opacity": 100,
|
|
|
|
"points": Array [
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"roughness": 1,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"seed": 337897,
|
|
|
|
"startArrowhead": null,
|
|
|
|
|
|
|
|
"startBinding": null,
|
|
|
|
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "line",
|
|
|
|
"type": "ellipse",
|
|
|
|
"updated": 1,
|
|
|
|
"updated": 1,
|
|
|
|
"version": 3,
|
|
|
|
"version": 2,
|
|
|
|
"versionNonce": 449462985,
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
"width": 10,
|
|
|
|
"width": 10,
|
|
|
|
"x": 10,
|
|
|
|
"x": 10,
|
|
|
|
"y": 10,
|
|
|
|
"y": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] history 1`] = `
|
|
|
|
exports[`regression tests key o selects ellipse tool: [end of test] history 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|
"recording": false,
|
|
|
|
"recording": false,
|
|
|
|
"redoStack": Array [],
|
|
|
|
"redoStack": Array [],
|
|
|
@ -11836,38 +11851,23 @@ Object {
|
|
|
|
"angle": 0,
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElements": null,
|
|
|
|
"boundElements": null,
|
|
|
|
"endArrowhead": null,
|
|
|
|
|
|
|
|
"endBinding": null,
|
|
|
|
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 10,
|
|
|
|
"height": 10,
|
|
|
|
"id": "id0",
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"isDeleted": false,
|
|
|
|
"lastCommittedPoint": null,
|
|
|
|
|
|
|
|
"link": null,
|
|
|
|
"link": null,
|
|
|
|
"opacity": 100,
|
|
|
|
"opacity": 100,
|
|
|
|
"points": Array [
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
Array [
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
10,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"roughness": 1,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"seed": 337897,
|
|
|
|
"startArrowhead": null,
|
|
|
|
|
|
|
|
"startBinding": null,
|
|
|
|
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "line",
|
|
|
|
"type": "ellipse",
|
|
|
|
"updated": 1,
|
|
|
|
"updated": 1,
|
|
|
|
"version": 3,
|
|
|
|
"version": 2,
|
|
|
|
"versionNonce": 449462985,
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
"width": 10,
|
|
|
|
"width": 10,
|
|
|
|
"x": 10,
|
|
|
|
"x": 10,
|
|
|
|
"y": 10,
|
|
|
|
"y": 10,
|
|
|
@ -11878,9 +11878,9 @@ Object {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
exports[`regression tests key o selects ellipse tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key l selects line tool: [end of test] number of renders 1`] = `8`;
|
|
|
|
exports[`regression tests key o selects ellipse tool: [end of test] number of renders 1`] = `8`;
|
|
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] appState 1`] = `
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] appState 1`] = `
|
|
|
|
Object {
|
|
|
|
Object {
|
|
|
|