Fix FeedbackButton test.
This commit is contained in:
parent
57b07a4531
commit
594e06f0f5
|
@ -37,7 +37,7 @@ test('FeedbackButton', async (t) => {
|
||||||
t.snapshot(buttonElement.outerHTML, 'Feedback state');
|
t.snapshot(buttonElement.outerHTML, 'Feedback state');
|
||||||
buttonElement.click();
|
buttonElement.click();
|
||||||
|
|
||||||
await sleep(props.timeout);
|
await sleep(props.timeout * 1.25);
|
||||||
|
|
||||||
t.snapshot(buttonElement.outerHTML, 'Back to default state');
|
t.snapshot(buttonElement.outerHTML, 'Back to default state');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue