补充工具区说明中的快速导航引导
This commit is contained in:
@@ -1197,7 +1197,7 @@
|
|||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<div class="tool-grid" data-role="po-tools-grid" aria-label="平台订单工具区网格">
|
<div class="tool-grid" data-role="po-tools-grid" aria-label="平台订单工具区网格">
|
||||||
<div class="muted muted-xs mb-10" data-role="po-tools-grid-intro" aria-label="平台订单工具区说明">当前工具区承载导出、批量治理与失败标记清理,请先缩小筛选范围再执行动作。</div>
|
<div class="muted muted-xs mb-10" data-role="po-tools-grid-intro" aria-label="平台订单工具区说明">当前工具区承载导出、批量治理与失败标记清理,请先缩小筛选范围再执行动作;也可使用上方快速定位导航直达目标工具组。</div>
|
||||||
<div class="actions gap-10 mb-10" data-role="po-tools-grid-jump-links" aria-label="平台订单工具区快速定位导航">
|
<div class="actions gap-10 mb-10" data-role="po-tools-grid-jump-links" aria-label="平台订单工具区快速定位导航">
|
||||||
<a class="btn btn-secondary btn-sm" data-role="po-tools-jump-export" aria-label="定位到导出工具组" href="#po-tools-export">导出</a>
|
<a class="btn btn-secondary btn-sm" data-role="po-tools-jump-export" aria-label="定位到导出工具组" href="#po-tools-export">导出</a>
|
||||||
<a class="btn btn-secondary btn-sm" data-role="po-tools-jump-batch-activate" aria-label="定位到批量同步订阅工具组" href="#batch-activate-subscriptions">批量同步</a>
|
<a class="btn btn-secondary btn-sm" data-role="po-tools-jump-batch-activate" aria-label="定位到批量同步订阅工具组" href="#batch-activate-subscriptions">批量同步</a>
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\Feature;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class AdminPlatformOrderIndexToolGridIntroShouldMentionJumpLinksTest extends TestCase
|
||||||
|
{
|
||||||
|
use RefreshDatabase;
|
||||||
|
|
||||||
|
protected function loginAsPlatformAdmin(): void
|
||||||
|
{
|
||||||
|
$this->seed();
|
||||||
|
|
||||||
|
$this->post('/admin/login', [
|
||||||
|
'email' => 'platform.admin@demo.local',
|
||||||
|
'password' => 'Platform@123456',
|
||||||
|
])->assertRedirect('/admin');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function test_platform_orders_tool_grid_intro_should_mention_jump_links(): void
|
||||||
|
{
|
||||||
|
$this->loginAsPlatformAdmin();
|
||||||
|
|
||||||
|
$res = $this->get('/admin/platform-orders');
|
||||||
|
$res->assertOk();
|
||||||
|
|
||||||
|
$html = (string) $res->getContent();
|
||||||
|
$this->assertStringContainsString('也可使用上方快速定位导航直达目标工具组。', $html);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user