Merge pull request #34370 from ruthra-kumar/fix_flaky_test_in_payment_terms_report

fix(test): flaky test case in Payment terms report