Update MkAd.stories.impl.ts

This commit is contained in:
Kagami Sascha Rosylight 2023-07-13 00:46:12 +02:00
parent 698fa84b5a
commit bb2eb57a35
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const common = {
const i = buttons[0];
await expect(i).toBeInTheDocument();
await userEvent.click(i);
await waitFor(() => expect(canvas).toHaveTextContent(i18n.ts._ad.back));
await waitFor(() => expect(canvasElement).toHaveTextContent(i18n.ts._ad.back));
await expect(a).not.toBeInTheDocument();
await expect(i).not.toBeInTheDocument();
buttons = canvas.getAllByRole<HTMLButtonElement>('button');