Improves the handling of cash to insurance flows, including adding new test cases and adjusting logic for policy verification and payment methods.
Also, updates UI elements to ensure correct display of deductible information and handles split windshield scenarios.
The `safelite-playwright-core` dependency is updated to version 1.0.22.
Disables heavy truck and split windshield tests in both standard and alert test suites.
These tests are commented out due to ongoing QA processes and will be re-enabled once ready.
Adds a new test case for cash replacements of split windshields.
Normalizes "SPLIT WINDSHIELD" types to "WINDSHIELD" in the parts array to ensure correct part validation during order processing.
Extends the `vehicleDamage` enum to include `DriverSplitWindshield` and `PassengerSplitWindshield`.
Adds support for split windshield damage selection and validation.
Introduces new vehicle damage types and corresponding UI elements on the vehicle damage page.
Also, adds a new alert message to handle the scenario where both single-piece and split windshield options are selected.
The changes enhance the accuracy of vehicle damage assessment.
Updates the `isCashToInsurance` property to `isCashInsuranceFlow`
for improved clarity and consistency in naming conventions.
This change affects test data interfaces and related logic
to accurately reflect the cash-to-insurance flow.
Configures test data to explicitly set the payment method to "SelfPay" for test cases involving cash clients.
This change ensures that the payment process is correctly initiated and handled when customers choose to pay directly.
Removes the `isRecalNotification` flag from the default test data, as it's no longer used in the application's logic or tests.
This simplifies the test data and avoids potential confusion.
Updates the `isRecalNotification` flag to `isRecalVehicle` for better clarity and consistency across the codebase.
This change ensures that the flag's name accurately reflects its purpose: to indicate whether recalibration information for a vehicle is required.
Adds the playwright-jira-reporter to the project.
Configures both ortoni and jira reporters, including setting up
Jira API authentication and project keys.
The ortoni report filename is now dynamically generated with a date
stamp to prevent overwriting.
Updates the reporter configuration to conditionally include Jira reporter
when running in CI.
Adds the playwright-jira-reporter and safelite-playwright-core packages to the project.
This allows the project to integrate with Jira for test reporting.
Also adds a .npmrc file to configure the npm registry to use Azure Artifacts.
Removes Playwright testing setup, configurations, and related dependencies from the core project.
Introduces a dedicated 'playwright-tests' directory to contain the testing framework, isolating test-related dependencies and configurations from the core application.
This change aims to keep the core project lean and focused on application logic while promoting a more modular and maintainable testing approach.
Increases the global test timeout to prevent failures on slower environments.
Updates the address in a test case to use correct formatting and abbreviation
to ensure the test passes consistently.
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.
Adds a new test case for a big truck insurance flow.
This includes updating the test data to include a flag for heavy trucks and the zip code.
Renames `isHeavyTruckVehicle` to `isHeavyTruckVehicleAlert` for clarity.
Adjusts the PayPal purchase completion logic to handle cases where the "Log in with password" option is immediately visible or requires an initial login step with email.
This ensures a more robust and reliable payment process across different PayPal configurations.
Adds username input and "next" button handling to the PayPal login flow.
This update is necessary to support the new PayPal login screen, which requires entering the username before the password.
Adds a commented-out base URL for a local FMG server instance to the development environment configuration.
This allows developers to easily test against a local version of FMG by uncommenting the appropriate line.
Corrects the premium service package description to align with the updated service offering.
The text "Rain Defense™" is replaced with "Rain repel treatment"
for accuracy and consistency.
Corrects an issue where the service location wasn't being selected properly in certain scenarios.
Specifically, it ensures the 'Enter Service Address' button is clicked only when the address text box is not visible. It also removes the unnecessary 'saveAddressButton' click.