style(web): close control-system gaps found in the deep sweep
This commit is contained in:
@@ -148,7 +148,8 @@ describe('Phase 6.3 Device Network read module', () => {
|
||||
within(screen.getByRole('region', { name: '接口与地址' })).queryByRole('button'),
|
||||
).toBeNull();
|
||||
// Actions come from the pinned catalog; without a reachable API the card stays honest.
|
||||
const actions = await screen.findByRole('region', { name: '设备操作' });
|
||||
await screen.findByText('无法读取该模块的可用操作,请稍后重试。');
|
||||
const actions = screen.getByRole('region', { name: '设备操作' });
|
||||
expect(actions.textContent).toContain('无法读取该模块的可用操作');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user