Corrects deductible validation on order confirmation
Ensures the order confirmation page accurately displays the policy deductible amount for insurance users. Previously, it incorrectly validated the service package amount against a hardcoded value instead of the policy deductible.
This commit is contained in:
parent
5925f07653
commit
2b16a6b2fd
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ export class OrderConfirmationPage extends BasePage {
|
|||
} else {
|
||||
// Price validations for insurance users
|
||||
if (servicePackage === ServicePackage.GlassOnly) {
|
||||
expect.soft(servicePackageAmt).toEqual(0);
|
||||
expect.soft(servicePackageAmt).toEqual(claimDetails?.policyDeductible);
|
||||
} else {
|
||||
expect.soft(servicePackageAmt).toBeGreaterThan(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue