From 7d19c7eec1ec1a5957793f474c2ef04b68d444b1 Mon Sep 17 00:00:00 2001 From: Randhir Kumar Singh <97341921+heyrandhir@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:47:11 +0530 Subject: [PATCH] fixes failing test --- __tests__/taskRequests/taskRequestDetails.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/taskRequests/taskRequestDetails.test.js b/__tests__/taskRequests/taskRequestDetails.test.js index db81d44f..ba63141c 100644 --- a/__tests__/taskRequests/taskRequestDetails.test.js +++ b/__tests__/taskRequests/taskRequestDetails.test.js @@ -34,7 +34,9 @@ describe('Tests the User Management User Listing Screen', () => { ); await page.waitForNetworkIdle(); await page.click('.requestors__container__list__userDetails'); - await page.waitForSelector('#requestor_details_modal', { visible: true }); + await page.waitForSelector('#requestor_details_modal_content', { + visible: true, + }); }); afterAll(async () => {