From 5923ba44f0cac1dcc5a94b5f160f26fb886a4dc8 Mon Sep 17 00:00:00 2001 From: Atharva Rane <41084525+atharvar28@users.noreply.github.com> Date: Tue, 18 Jun 2024 10:03:57 -0400 Subject: [PATCH] Update the index in beforesuite - guppyTest --- suites/guppy/guppyTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suites/guppy/guppyTest.js b/suites/guppy/guppyTest.js index c9169ce47..e8458b670 100644 --- a/suites/guppy/guppyTest.js +++ b/suites/guppy/guppyTest.js @@ -23,7 +23,7 @@ Before(async ({ I, users, fence }) => { users.mainAcct.accessTokenHeader, ); if (guppyStatusCheckResp.status === 200 - && (Object.prototype.hasOwnProperty.call(guppyStatusCheckResp.data.indices, 'jenkins_subject_1') + && (Object.prototype.hasOwnProperty.call(guppyStatusCheckResp.data.indices, 'jenkins_subject_new') && Object.prototype.hasOwnProperty.call(guppyStatusCheckResp.data.indices, 'jenkins_file_1'))) { console.log(`${new Date()}: all good, proceed with the test...`); break;