信息公开前端
This commit is contained in:
1 parent
1f7603923e
commit
eebc5518c5
14 files changed
+176
-100
No files matched your search
@@ -38,7 +38,7 @@ try {
|
||||
$notice = Invoke-WebRequest -Uri 'http://127.0.0.1:5055/content/notice' -UseBasicParsing -TimeoutSec 5
|
||||
$interactive = Invoke-WebRequest -Uri 'http://127.0.0.1:5055/ballot-preview' -UseBasicParsing -TimeoutSec 5
|
||||
|
||||
if ($homeResponse.Content -notmatch '公开内容以服务端渲染快速交付') { throw 'Home page content check failed.' }
|
||||
if ($homeResponse.Content -notmatch '每一项正式信息') { throw 'Home page content check failed.' }
|
||||
if ($notice.Content -notmatch '公开公告模板') { throw 'Notice page content check failed.' }
|
||||
if ($interactive.Content -notmatch '投票交互预览') { throw 'Interactive component content check failed.' }
|
||||
|
||||
|
||||
Reference in new issue
Block a user