From d3c71280deeddb100715e0563e7b5f318b3e51df Mon Sep 17 00:00:00 2001 From: OlimpiaZurek Date: Thu, 26 Oct 2023 11:16:04 +0200 Subject: [PATCH] changes after cr --- tests/perf-test/ReportScreen.perf-test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = {