mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
radios&list单测修改
This commit is contained in:
parent
5d3b1da5d6
commit
c896e39504
@ -91,6 +91,7 @@ test('Renderer:list:multiple clearable', async () => {
|
|||||||
fireEvent.click(getByText(/Option A/));
|
fireEvent.click(getByText(/Option A/));
|
||||||
await wait(100);
|
await wait(100);
|
||||||
fireEvent.click(getByText(/Option B/));
|
fireEvent.click(getByText(/Option B/));
|
||||||
|
await wait(100);
|
||||||
expect(container).toMatchSnapshot();
|
expect(container).toMatchSnapshot();
|
||||||
await wait(100);
|
await wait(100);
|
||||||
fireEvent.click(getByText(/Option B/));
|
fireEvent.click(getByText(/Option B/));
|
||||||
|
@ -56,5 +56,6 @@ test('Renderer:radios', async () => {
|
|||||||
);
|
);
|
||||||
expect(container).toMatchSnapshot();
|
expect(container).toMatchSnapshot();
|
||||||
fireEvent.click(getByText(/Option A/));
|
fireEvent.click(getByText(/Option A/));
|
||||||
|
await wait(100);
|
||||||
expect(container).toMatchSnapshot();
|
expect(container).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user