Skip to content

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Mar 22, 2024
2 parents ddb0560 + 72360a4 commit a9a02bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,17 +409,12 @@ private boolean scrollDown(AppiumDriver driver, By element, int numberOfScrollDo

do {
boolean isPresent = driver.findElements(element).size() > 0;
if (isPresent) {
Object elmtObj = driver.findElements(element).get(0);

if (elmtObj != null && ((MobileElement) elmtObj).isDisplayed()) {
return true;
}
if (isPresent && driver.findElement(element).isDisplayed()) {
return true;
} else {
scroll(driver, pressX, bottomY, pressX, topY);
}
i++;

} while (i <= numberOfScrollDown);

return false;
Expand Down
3 changes: 3 additions & 0 deletions source/src/main/resources/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6291,3 +6291,6 @@ INSERT INTO `invariant` (`idname`, `value`, `sort`, `description`)
-- 1767
INSERT INTO `parameter` (`system`, `param`, `value`, `description`)
VALUES ('', 'cerberus_pdfcampaignreportdisplayciresult_boolean', 'true', 'Boolean in order to show or hide the cicd campaign result on pdf campaign execution pdf report.');

-- 1768
ALTER TABLE countryenvparam_log MODIFY Creator VARCHAR(45);

0 comments on commit a9a02bc

Please sign in to comment.