新增京喜违规预警页签

This commit is contained in:
苏木 2026-09-21 16:18:41 +08:00
parent 77ef0df98e
commit 4d068382ac
2 changed files with 8 additions and 10 deletions

View File

@ -3,6 +3,7 @@
'taobao' => ['label' => '淘系', 'icon' => 'shopping_bag', 'description' => '集中查看淘宝、天猫店铺的违规和处罚风险。'],
'alibaba' => ['label' => '阿里巴巴', 'icon' => 'inventory_2', 'description' => '集中查看阿里巴巴店铺的违规和处罚风险。'],
'jd' => ['label' => '京东', 'icon' => 'local_mall', 'description' => '集中查看京东店铺的违规和处罚风险。'],
'jingxi' => ['label' => '京喜', 'icon' => 'storefront', 'description' => '集中查看京喜店铺的违规和处罚风险。'],
'pinduoduo' => ['label' => '拼多多', 'icon' => 'grid_view', 'description' => '集中查看拼多多店铺的违规和处罚风险。'],
'douyin' => ['label' => '抖音', 'icon' => 'play_circle', 'description' => '集中查看抖音店铺的违规和处罚风险。'],
];

View File

@ -68,19 +68,16 @@ class NavigationTest extends FeatureTestCase
$this->get(route('business.pages.show', [
'section' => 'financial-risk-control',
'page' => 'store-violation-alert',
]) . '?platform=jd')
]) . '?platform=jingxi')
->assertOk()
->assertSeeText('财务经营风险管控')
->assertSeeText('店铺违规信息预警')
->assertSeeText('淘系')
->assertSeeText('阿里巴巴')
->assertSeeText('京东')
->assertSeeText('拼多多')
->assertSeeText('抖音')
->assertSeeText('京东店铺违规信息预警')
->assertSee('data-active-platform="jd"', false)
->assertSee('id="financial-risk-control-panel-jd"', false)
->assertSee('data-platform-tab="jd"', false)
->assertSeeTextInOrder(['淘系', '阿里巴巴', '京东', '京喜', '拼多多', '抖音'])
->assertSeeText('京喜店铺违规信息预警')
->assertSeeText('暂无京喜风险事项')
->assertSee('data-active-platform="jingxi"', false)
->assertSee('id="financial-risk-control-panel-jingxi"', false)
->assertSee('data-platform-tab="jingxi"', false)
->assertSee('/workspace/financial-risk-control/store-violation-alert', false);
}