We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a985f9 commit 5b0c8fcCopy full SHA for 5b0c8fc
packages/table/src/Table.Interactions.stories.tsx
@@ -230,10 +230,10 @@ export const DynamicData = {
230
const { getRowByIndex } = getTestUtils();
231
const cell = getRowByIndex(0)?.getAllCells()[3];
232
233
- expect(cell).toHaveTextContent(expect.stringContaining('with 🥬'));
+ expect(cell).toHaveTextContent(/^.+ with 🥬$/);
234
235
- userEvent.click(button);
+ await userEvent.click(button);
236
237
- expect(cell).not.toHaveTextContent(expect.stringContaining('with 🥬'));
+ expect(cell).not.toHaveTextContent(/^.+ with 🥬$/);
238
},
239
};
0 commit comments