fix: keep mobile filter resets intentional
This commit is contained in:
@@ -219,6 +219,8 @@ test('uses one focused Semi bottom SideSheet for the complete mobile history que
|
||||
expect(within(dialog).getByLabelText('结束时间')).toBeInTheDocument();
|
||||
expect(within(dialog).getByRole('combobox', { name: '数据类型' })).toBeInTheDocument();
|
||||
expect(within(dialog).getByRole('combobox', { name: '数据来源' })).toBeInTheDocument();
|
||||
fireEvent.click(within(dialog).getByRole('button', { name: '重置条件' }));
|
||||
expect(screen.getByRole('dialog', { name: '历史查询范围' })).toBeInTheDocument();
|
||||
fireEvent.change(within(dialog).getByPlaceholderText('车牌 / VIN,多台用逗号分隔'), { target: { value: 'MOBILEVIN' } });
|
||||
fireEvent.click(within(dialog).getByRole('button', { name: '应用并查询' }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user