Skip to content

Commit

Permalink
fix: 修复单测运行时,网站未加载完成
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrove committed Jan 23, 2025
1 parent 4d622db commit 4161c8e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
82 changes: 41 additions & 41 deletions backstop.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/action-sheet",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -27,7 +27,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/alert",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -38,7 +38,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/avatar",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -49,7 +49,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/backdrop",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -60,7 +60,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/badge",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -71,7 +71,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/button",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -82,7 +82,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/calendar",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -93,7 +93,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/card",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -104,7 +104,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/checkbox",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -115,7 +115,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/divider",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -126,7 +126,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/drawer",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -137,7 +137,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/fade",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -148,7 +148,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/icon-button",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -159,7 +159,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/image",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -170,7 +170,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/input",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -181,7 +181,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/list",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -192,7 +192,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/modal",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -203,7 +203,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/portal",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -214,7 +214,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/progress",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -225,7 +225,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/radio",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -236,7 +236,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/rating",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -247,7 +247,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/scroll-view",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -258,7 +258,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/select",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -269,7 +269,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/skeleton",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -280,7 +280,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/slide",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -291,7 +291,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/slider",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -302,7 +302,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/stack",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -313,7 +313,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/steps",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -324,7 +324,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/swiper",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -335,7 +335,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/switch",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -346,7 +346,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/tabs",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -357,7 +357,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/tag",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -368,7 +368,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/text-area",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -379,7 +379,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/transition",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -390,7 +390,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/nav-bar",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -401,7 +401,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/loading",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -412,7 +412,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/tab-bar",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -423,7 +423,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/countdown",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -434,7 +434,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/city-selector",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -445,7 +445,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/cores/picker",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand All @@ -456,7 +456,7 @@
"referenceUrl": "https://bui.taopiaopiao.com/icons",
"readySelector": ".dumi-default-previewer-demo",
"delay": 0,
"readTimeout": 100000,
"readyTimeout": 300000,
"selectorExpansion": true,
"misMatchThreshold": 0.1,
"requireSameDimensions": true
Expand Down
2 changes: 1 addition & 1 deletion scripts/ui-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ while :
break;
fi
fi
sleep 10
sleep 30
done

0 comments on commit 4161c8e

Please sign in to comment.