penpot/frontend/playwright/data/tokens/update-file-13302.json
Belén Albeza d8249cc3db
Add regression test for token highlight bug (13302) (#8573)
*  Add aria role to token pill

*  Clean up unused vars, imports and unneeded intercepts in tokens tests

*  Add regression test for bug 13302 (highlight token)
2026-03-11 14:17:57 +01:00

338 lines
10 KiB
JSON

{
"~:revn": 11,
"~:lagged": [
{
"~:id": "~u6886b62b-1979-8195-8007-8d12e2ccd0f1",
"~:revn": 11,
"~:file-id": "~u6886b62b-1979-8195-8007-8d0b92d3116a",
"~:session-id": "~u488d46ff-4717-808d-8007-8d0c3dac344e",
"~:changes": [
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:width",
"~:val": 100.00000353902578,
"~:ignore-geometry": false,
"~:ignore-touched": false
},
{
"~:type": "~:set",
"~:attr": "~:points",
"~:val": [
{
"~#point": {
"~:x": 0,
"~:y": 79.00000333786011
}
},
{
"~#point": {
"~:x": 100.00000353902578,
"~:y": 79.00000333786011
}
},
{
"~#point": {
"~:x": 100.00000353902578,
"~:y": 335.00001430511475
}
},
{
"~#point": {
"~:x": 0,
"~:y": 335.00001430511475
}
}
],
"~:ignore-geometry": false,
"~:ignore-touched": false
},
{
"~:type": "~:set",
"~:attr": "~:selrect",
"~:val": {
"~#rect": {
"~:x": 0,
"~:y": 79.00000333786011,
"~:width": 100.00000353902578,
"~:height": 256.00001096725464,
"~:x1": 0,
"~:y1": 79.00000333786011,
"~:x2": 100.00000353902578,
"~:y2": 335.00001430511475
}
},
"~:ignore-geometry": false,
"~:ignore-touched": false
}
]
},
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:applied-tokens",
"~:val": {
"~:height": "any-dimensions-token"
},
"~:ignore-geometry": false,
"~:ignore-touched": false
}
]
},
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:y",
"~:val": 79.00000276416532,
"~:ignore-geometry": false,
"~:ignore-touched": false
},
{
"~:type": "~:set",
"~:attr": "~:points",
"~:val": [
{
"~#point": {
"~:x": 0,
"~:y": 79.0000027641653
}
},
{
"~#point": {
"~:x": 100.00000353902578,
"~:y": 79.0000027641653
}
},
{
"~#point": {
"~:x": 100.00000353902578,
"~:y": 178.9999994188543
}
},
{
"~#point": {
"~:x": 0,
"~:y": 178.9999994188543
}
}
],
"~:ignore-geometry": false,
"~:ignore-touched": false
},
{
"~:type": "~:set",
"~:attr": "~:selrect",
"~:val": {
"~#rect": {
"~:x": 0,
"~:y": 79.00000276416532,
"~:width": 100.00000353902578,
"~:height": 99.99999665468899,
"~:x1": 0,
"~:y1": 79.00000276416532,
"~:x2": 100.00000353902578,
"~:y2": 178.99999941885432
}
},
"~:ignore-geometry": false,
"~:ignore-touched": false
},
{
"~:type": "~:set",
"~:attr": "~:height",
"~:val": 99.99999665468899,
"~:ignore-geometry": false,
"~:ignore-touched": false
}
]
},
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:applied-tokens",
"~:val": {},
"~:ignore-geometry": false,
"~:ignore-touched": false
}
]
}
]
},
{
"~:id": "~u6886b62b-1979-8195-8007-8d12e996895c",
"~:revn": 12,
"~:file-id": "~u6886b62b-1979-8195-8007-8d0b92d3116a",
"~:session-id": "~u488d46ff-4717-808d-8007-8d0c3dac344e",
"~:changes": [
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:applied-tokens",
"~:val": {
"~:width": "any-dimensions-token",
"~:height": "any-dimensions-token"
},
"~:ignore-geometry": false,
"~:ignore-touched": false
}
]
},
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:width",
"~:val": 256.0000033378599,
"~:ignore-geometry": false,
"~:ignore-touched": true
},
{
"~:type": "~:set",
"~:attr": "~:points",
"~:val": [
{
"~#point": {
"~:x": 0,
"~:y": 79.0000027641653
}
},
{
"~#point": {
"~:x": 256.0000033378599,
"~:y": 79.0000027641653
}
},
{
"~#point": {
"~:x": 256.0000033378599,
"~:y": 178.9999994188543
}
},
{
"~#point": {
"~:x": 0,
"~:y": 178.9999994188543
}
}
],
"~:ignore-geometry": false,
"~:ignore-touched": true
},
{
"~:type": "~:set",
"~:attr": "~:selrect",
"~:val": {
"~#rect": {
"~:x": 0,
"~:y": 79.00000276416532,
"~:width": 256.0000033378599,
"~:height": 99.99999665468899,
"~:x1": 0,
"~:y1": 79.00000276416532,
"~:x2": 256.0000033378599,
"~:y2": 178.99999941885432
}
},
"~:ignore-geometry": false,
"~:ignore-touched": true
}
]
},
{
"~:type": "~:mod-obj",
"~:id": "~ud601cd4c-f774-802c-8007-8d0c13228bba",
"~:page-id": "~u6886b62b-1979-8195-8007-8d0b92d3116b",
"~:operations": [
{
"~:type": "~:set",
"~:attr": "~:y",
"~:val": 79.00000826835657,
"~:ignore-geometry": false,
"~:ignore-touched": true
},
{
"~:type": "~:set",
"~:attr": "~:points",
"~:val": [
{
"~#point": {
"~:x": 0,
"~:y": 79.00000826835657
}
},
{
"~#point": {
"~:x": 256.0000033378599,
"~:y": 79.00000826835657
}
},
{
"~#point": {
"~:x": 256.0000033378599,
"~:y": 335.0000178241718
}
},
{
"~#point": {
"~:x": 0,
"~:y": 335.0000178241718
}
}
],
"~:ignore-geometry": false,
"~:ignore-touched": true
},
{
"~:type": "~:set",
"~:attr": "~:selrect",
"~:val": {
"~#rect": {
"~:x": 0,
"~:y": 79.00000826835657,
"~:width": 256.0000033378599,
"~:height": 256.0000095558152,
"~:x1": 0,
"~:y1": 79.00000826835657,
"~:x2": 256.0000033378599,
"~:y2": 335.0000178241718
}
},
"~:ignore-geometry": false,
"~:ignore-touched": true
},
{
"~:type": "~:set",
"~:attr": "~:height",
"~:val": 256.0000095558152,
"~:ignore-geometry": false,
"~:ignore-touched": true
}
]
}
]
}
]
}