Improved test

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2022-10-18 20:00:18 -05:00
parent cea2854570
commit 2f754d5883
@@ -31,6 +31,10 @@ describe('ProblemsTable', () => {
<ProblemsTable problems={problems} dynatraceBaseUrl="__dynatrace__" />,
</ApiProvider>,
);
expect(await rendered.findByTitle('Filter')).toBeInTheDocument();
// Checking for Title from mocked problems
expect(
await rendered.findByText('this IS a big problem'),
).toBeInTheDocument();
});
});