Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haraprasadj committed Dec 2, 2024
1 parent 22de7cf commit 20e5572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/portal/discovery/discoveryQuestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
const delayInMs = 30000; // Delay between retries in milliseconds

for (let attempt = 1; attempt <= retries; attempt++) {
const visibleElements = I.grabNumberOfVisibleElements(props.studyLocator(studyId));
const visibleElements = await I.grabNumberOfVisibleElements(props.studyLocator(studyId));

if (visibleElements > 0) {
console.log(`Study found on attempt ${attempt}`);
Expand Down

0 comments on commit 20e5572

Please sign in to comment.