test: add basic E2E tests for CurveEditor widget

This commit is contained in:
Terry Jia
2026-03-29 21:34:27 -04:00
parent c289640e99
commit f6925806c1
2 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
{
"last_node_id": 1,
"last_link_id": 0,
"nodes": [
{
"id": 1,
"type": "CurveEditor",
"pos": [50, 50],
"size": [400, 400],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "histogram",
"type": "HISTOGRAM",
"link": null
}
],
"outputs": [
{
"name": "curve",
"type": "CURVE",
"links": null
}
],
"properties": {
"Node name for S&R": "CurveEditor"
},
"widgets_values": [
{
"points": [
[0, 0],
[1, 1]
],
"interpolation": "monotone_cubic"
}
]
}
],
"links": [],
"groups": [],
"config": {},
"extra": {
"ds": {
"offset": [0, 0],
"scale": 1
}
},
"version": 0.4
}