f6c126a804
- Update backstop configs to test React app at /ru-ru/onlineboard - Generate reference screenshot from Angular version - Run visual test: 47.31% mismatch identified (layout/styling differences) - Identify key differences for design alignment
32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
report({
|
|
"testSuite": "BackstopJS",
|
|
"tests": [
|
|
{
|
|
"pair": {
|
|
"reference": "../bitmaps_reference/aeroflot_flights_Start_Page_0_document_0_desktop.png",
|
|
"test": "../bitmaps_test_react/20260406-021058/aeroflot_flights_Start_Page_0_document_0_desktop.png",
|
|
"selector": "document",
|
|
"fileName": "aeroflot_flights_Start_Page_0_document_0_desktop.png",
|
|
"label": "Start Page",
|
|
"requireSameDimensions": true,
|
|
"misMatchThreshold": 0,
|
|
"url": "http://localhost:3001/ru-ru/onlineboard",
|
|
"expect": 0,
|
|
"viewportLabel": "desktop",
|
|
"diff": {
|
|
"isSameDimensions": true,
|
|
"dimensionDifference": {
|
|
"width": 0,
|
|
"height": 0
|
|
},
|
|
"rawMisMatchPercentage": 47.31180555555555,
|
|
"misMatchPercentage": "47.31",
|
|
"analysisTime": 51
|
|
},
|
|
"diffImage": "../bitmaps_test_react/20260406-021058/failed_diff_aeroflot_flights_Start_Page_0_document_0_desktop.png"
|
|
},
|
|
"status": "fail"
|
|
}
|
|
],
|
|
"id": "aeroflot_flights"
|
|
}); |