Skip to content

Commit

Permalink
make build
Browse files Browse the repository at this point in the history
  • Loading branch information
yurzxw committed Sep 14, 2024
0 parents commit 31fbad3
Show file tree
Hide file tree
Showing 35 changed files with 2,651 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.998834b5.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions index.998834b5.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"><title>Stars</title><link rel="stylesheet" href="index.998834b5.css"></head><body> <div class="star_container"> <div class="stars stars--0"> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> </div> <div class="stars stars--1"> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> </div> <div class="stars stars--2"> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> </div> <div class="stars stars--3"> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> </div> <div class="stars stars--4"> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> </div> <div class="stars stars--5"> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> <div class="stars__star"></div> </div> </div> </body></html>
Binary file added report/bitmaps_reference/Entire_document.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_reference/stars--0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_reference/stars--1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_reference/stars--2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_reference/stars--3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_reference/stars--4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_reference/stars--5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions report/bitmaps_test/20240914-175436/report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"testSuite": "BackstopJS",
"tests": [
{
"pair": {
"reference": "..\\bitmaps_reference\\Entire_document.png",
"test": "..\\bitmaps_test\\20240914-175436\\Entire_document.png",
"selector": "document",
"fileName": "Entire_document.png",
"label": "Entire document",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--0.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--0.png",
"selector": ".stars--0",
"fileName": "stars--0.png",
"label": "stars--0",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--1.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--1.png",
"selector": ".stars--1",
"fileName": "stars--1.png",
"label": "stars--1",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--2.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--2.png",
"selector": ".stars--2",
"fileName": "stars--2.png",
"label": "stars--2",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--3.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--3.png",
"selector": ".stars--3",
"fileName": "stars--3.png",
"label": "stars--3",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--4.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--4.png",
"selector": ".stars--4",
"fileName": "stars--4.png",
"label": "stars--4",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--5.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--5.png",
"selector": ".stars--5",
"fileName": "stars--5.png",
"label": "stars--5",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
}
]
}
Binary file added report/bitmaps_test/20240914-175436/stars--0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_test/20240914-175436/stars--1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_test/20240914-175436/stars--2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_test/20240914-175436/stars--3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_test/20240914-175436/stars--4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/bitmaps_test/20240914-175436/stars--5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added report/html_report/assets/fonts/Lato-Bold.ttf
Binary file not shown.
Binary file added report/html_report/assets/fonts/Lato-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions report/html_report/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
report({
"testSuite": "BackstopJS",
"tests": [
{
"pair": {
"reference": "..\\bitmaps_reference\\Entire_document.png",
"test": "..\\bitmaps_test\\20240914-175436\\Entire_document.png",
"selector": "document",
"fileName": "Entire_document.png",
"label": "Entire document",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--0.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--0.png",
"selector": ".stars--0",
"fileName": "stars--0.png",
"label": "stars--0",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--1.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--1.png",
"selector": ".stars--1",
"fileName": "stars--1.png",
"label": "stars--1",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--2.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--2.png",
"selector": ".stars--2",
"fileName": "stars--2.png",
"label": "stars--2",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--3.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--3.png",
"selector": ".stars--3",
"fileName": "stars--3.png",
"label": "stars--3",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--4.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--4.png",
"selector": ".stars--4",
"fileName": "stars--4.png",
"label": "stars--4",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
},
{
"pair": {
"reference": "..\\bitmaps_reference\\stars--5.png",
"test": "..\\bitmaps_test\\20240914-175436\\stars--5.png",
"selector": ".stars--5",
"fileName": "stars--5.png",
"label": "stars--5",
"requireSameDimensions": false,
"misMatchThreshold": 1,
"url": "http://localhost:3001/index.html",
"referenceUrl": "https://mate-academy.github.io/layout_solutions/stars/",
"expect": 0,
"viewportLabel": "tablet_h",
"diff": {
"isSameDimensions": true,
"dimensionDifference": {
"width": 0,
"height": 0
},
"misMatchPercentage": "0.00"
}
},
"status": "pass"
}
]
});
Loading

0 comments on commit 31fbad3

Please sign in to comment.