Commit graph

9066 commits

Author SHA1 Message Date
maguire-arman
8da9b21539 Updates with 631 changes
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.
2025-06-23 14:17:34 -04:00
maguire-arman
eb9a5bffe2 Temporarily disables heavy truck tests
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.
2025-06-23 10:02:48 -04:00
maguire-arman
89274929cb Adds test and support for split windshield replacements
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`.
2025-06-23 09:59:47 -04:00
maguire-arman
54a8036a0d Adds split windshield support and alert test
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.
2025-06-19 13:01:56 -04:00
maguire-arman
e4e49ac529 Merge remote-tracking branch 'origin/CASH-631' into CASH-631 2025-06-19 12:59:07 -04:00
maguire-arman
58ae246a41
Merge pull request #2594 from JennyNou/CASH-642-latest
Cash 642 latest into Cash 631
2025-06-19 12:58:39 -04:00
maguire-arman
f3fe504caa
Merge branch 'CASH-631' into CASH-642-latest 2025-06-19 12:58:28 -04:00
JennyNou
92b3e34d4b Add test to cover no comp insurance scenario 2025-06-19 11:13:39 -04:00
JennyNou
c3c8b48129 Add no comp test to master test 2025-06-19 11:12:51 -04:00
JennyNou
037d8ec01f Add no comp locator to logic 2025-06-19 11:12:39 -04:00
maguire-arman
c781ccec80 New Heavy truck zip to keep error 2025-06-19 10:28:28 -04:00
maguire-arman
d7566e5d60 Renames isCashToInsurance to isCashInsuranceFlow
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.
2025-06-19 09:20:09 -04:00
maguire-arman
bb6f2b3cdc
Merge pull request #2592 from Safelite/CASH-768
Cash-768
2025-06-19 09:15:33 -04:00
gc-carlin
26e3f9c61f cashToInsurance final logic for after ins flow 2025-06-18 16:05:54 -04:00
gc-carlin
e94246a871 Merge remote-tracking branch 'origin/CASH-631' into CASH-768 2025-06-18 13:56:11 -04:00
gc-carlin
cf4b9539ef adding test to master 2025-06-18 13:48:02 -04:00
maguire-arman
2909016a60
Merge pull request #2590 from JennyNou/CASH-642-latest
Cash 642 latest (Jenny Big truck tests)
2025-06-18 13:21:56 -04:00
maguire-arman
8d51f51201 Updates safelite-playwright-core to version 1.0.21
Updates the safelite-playwright-core dependency to the latest version.
This likely includes bug fixes, performance improvements, or new features.
2025-06-18 12:43:21 -04:00
maguire-arman
e3d2373409 Sets payment method to self-pay for cash clients
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.
2025-06-18 10:08:02 -04:00
Chase King
626dc854e7 Implemented playwright core 2025-06-17 12:15:04 -04:00
JennyNou
a7936496f6 Merge branch 'CASH-631' into CASH-642-latest 2025-06-16 13:35:17 -04:00
maguire-arman
f77064efb2 Merge remote-tracking branch 'origin/develop' into CASH-631 2025-06-16 09:34:30 -04:00
bmauger
3447331433
Merge pull request #2585 from Safelite/CASH-926-donation-updates
CASH-926 update donation cart styles.
2025-06-13 11:12:57 -04:00
Scott Kiener
58df1d5b75 CASH-926 | Prettier fix 2025-06-13 11:04:00 -04:00
Bryan Mauger
ca4b3e5cd3 Small change to trigger build. 2025-06-13 10:54:26 -04:00
Bryan Mauger
cad23ad9eb Formate code. 2025-06-13 10:37:35 -04:00
Bryan Mauger
552119a04b CASH-926 update donation cart styles. 2025-06-13 10:22:12 -04:00
bmauger
bc3d1ca0be
Merge pull request #2581 from Safelite/CASH-926-move-charitable-donation-in-cart
CASH-926 move FL donation to other location in cart.
2025-06-11 08:24:21 -04:00
maguire-arman
380994e076 Removes unused isRecalNotification flag
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.
2025-06-10 14:34:00 -04:00
Bryan Mauger
31976f132b CASH-926 move FL donation to other location in cart. 2025-06-10 13:41:18 -04:00
maguire-arman
2da134bbb1 removes recalinfo boolean and uses isRecalVehicle for handling page in ins
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.
2025-06-10 12:48:44 -04:00
JennyNou
c95772052a Added unverified insurance test to master file 2025-06-09 15:29:06 -04:00
JennyNou
bc591b07bd Added logic for validating unverified flow 2025-06-09 15:28:00 -04:00
JennyNou
514fdca340 Updated locator and logic for unverified policy flow 2025-06-09 15:26:20 -04:00
JennyNou
ca41375b3c Added unverified policy flag 2025-06-09 15:25:23 -04:00
JennyNou
8961740560 Changed policy deductible type to cover unverified coverage text 2025-06-09 15:24:58 -04:00
JennyNou
3e7d251244 Added new test to cover unverified insurance flow 2025-06-09 15:23:54 -04:00
maguire-arman
20fb39ed48 Adds Jira reporter and configures reports
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.
2025-06-06 10:06:36 -04:00
maguire-arman
f30049315c Adds custom node packages
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.
2025-06-05 16:40:49 -04:00
maguire-arman
0756390830 Removes Playwright testing setup from core project
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.
2025-06-05 16:22:34 -04:00
chloeherdsafelite
9edb362934
Merge pull request #2578 from Safelite/rlsmerge/2025.06.19-to-develop
Rlsmerge/2025.06.19 to develop
2025-06-05 16:09:33 -04:00
Chloe Herd
19ebedbb2f Merge branch 'release/2025.06.19' into rlsmerge/2025.06.19-to-develop 2025-06-05 15:55:01 -04:00
chloeherdsafelite
37650eb50a
Merge pull request #2577 from Safelite/feature/CASH-916
Remove premature consumption of zip query
2025-06-05 14:18:35 -04:00
Chloe Herd
b3fd46350f Remove premature consumption of zip query 2025-06-05 14:04:44 -04:00
maguire-arman
fa93335cc6 Removes unused network cleanup step
Removes the network pruning step from the automated testing pipeline. This step is deemed unnecessary and removing it simplifies the process.
2025-06-05 09:34:45 -04:00
maguire-arman
636ad2bbd0 Adds Docker cleanup step to pipeline
Adds a Docker cleanup script to the pipeline to remove stopped containers, dangling images, unused networks, and unused volumes. This helps to free up disk space and prevent potential resource exhaustion during automated testing.
2025-06-05 09:23:45 -04:00
mvalaiyapathi
03ecb2743f
Merge pull request #2576 from Safelite/feature/CASH-804
CASH-804 - prevent First Available Appointment Date from Resetting
2025-06-04 14:14:45 -04:00
Minojhini Valaiyapathi
50a900afeb CASH-804 - Re arranged the order of export and private functions 2025-06-04 14:08:13 -04:00
Minojhini Valaiyapathi
8c167a4d47 CASH-804 - prevent First Available Appointment Date from Resetting 2025-06-04 12:47:21 -04:00
JennyNou
c2abf5d7aa Updated heavy truck naming 2025-06-04 11:30:00 -04:00