diff --git a/tests/perf-test/ReportScreen.perf-test.js b/tests/perf-test/ReportScreen.perf-test.js index 9172caba913b..b54a7332a178 100644 --- a/tests/perf-test/ReportScreen.perf-test.js +++ b/tests/perf-test/ReportScreen.perf-test.js @@ -149,7 +149,8 @@ test('should render ReportScreen with composer interactions', () => { const hintHeaderText = Localize.translateLocal('common.back'); // Query for the header - await screen.findByLabelText(hintHeaderText); + const header = await screen.findByLabelText(hintHeaderText); + expect(header).toBeDefined(); }; const policy = {