Removes the explicit URL declaration from the page classes.
The URL validation and navigation are now handled directly within the tests, providing greater flexibility and control over test execution and removing the need to manage URLs within each page object.
Reverts the hardcoded disabling of Jira ticket creation and enables it based on the `IS_REGRESSION` environment variable. This allows test subtasks and bug tickets to be created automatically when tests are not run in regression mode.
Adds the JUnit reporter to the Playwright configuration.
This allows for generating JUnit-compatible XML reports, which can be useful for integrating with CI/CD systems and other tools that consume JUnit reports.
Adds the Ortoni reporter to the Playwright configuration.
This change ensures that Ortoni reports are generated both in CI and local environments, providing comprehensive test result analysis.
Moves the CASH-836 tag from the HeavyTruck test to the RepairOnly test.
This change ensures that the correct test case is associated with the corresponding issue in the issue tracking system.
Updates the tags for CashRepairInShopPayPal and CashRepairMobileCreditCard test cases to include the '@CASH-836' tag.
Removes the '@CASH-836' tag from the CashReplaceSplitWindshield test case.
Adds the `@CASH-836` tag to `CashRepairInShopAfterPay` and `CashReplaceSplitWindshield` tests.
This addition presumably links these tests to a specific issue or requirement tracked under CASH-836.
Removes unused variables from playwright-test.yml.
Updates the folder path for test reports to be 'ortoni-report' in CI environments, otherwise defaults to 'test-results'.
The conditional logic ensures that test results are stored in a dedicated 'ortoni-report' folder during CI runs, enabling more manageable reports.
The changes related to jiraCreationPermissions are commented out as TODOs and will be changed back in the future.
Adds the `Managed` flow type to the insurance test data.
Specifies an empty payment details object for the insurance flow
to skip the payment method page.
Updates the safelite-playwright-core dependency to version 1.0.26.
This change also imports missing modules from the updated safelite-playwright-core package in relevant files.
Adds a new environment variable to skip content site checks, improving test environment flexibility.
Improves the "nextPage" function in BasePage to handle loader elements and button states more reliably.
Adds support for selecting loss location in CCPolicyInfoPage to reflect claim details accurately.
Updates assertion methods to use Soft assertions for smoother test execution.
Adds a new test case "InsuranceMeemicNearSchoolVerified" to expand test coverage.
Refactors the vehicle lookup test data structure to improve data handling and flexibility.
Consolidates license plate information into a dedicated object within vehicle details.
Updates the safelite-playwright-core dependency to the latest version.
This update likely includes bug fixes, performance improvements, or new features.
Removes unused promoCode variable from OrderConfirmationPage.ts
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.