Commit graph

121 commits

Author SHA1 Message Date
JennyNou
c430ee82ef Add method for non recal TPA flow 2026-03-25 09:50:03 -04:00
JennyNou
81862af867 Fix conditions for cart validation 2026-03-25 09:49:03 -04:00
JennyNou
07a8e2e516 Remove drop off assertion from logic to fix flaky test 2026-03-25 09:48:38 -04:00
JennyNou
8b9ac1ac70 Fix for bailout tests 2026-03-25 09:47:27 -04:00
JennyNou
2c2d709691 Add alternate mobile address method 2026-03-25 09:46:05 -04:00
JennyNou
54c45fddb5 Add logic to select part question responses 2026-03-24 11:21:39 -04:00
JennyNou
caf186d728 Add service location page back in 2026-03-24 11:17:48 -04:00
JennyNou
39cc5fe737 Delete service location page 2026-03-24 11:01:45 -04:00
JennyNou
d232267ba0 Fix for flakiness in validation flow 2026-03-24 11:00:11 -04:00
JennyNou
e44ca49c8c Clean up validations for confirmation page 2026-03-24 10:59:26 -04:00
JennyNou
68d914dd0e Update locator for lookup buttons 2026-03-24 10:59:01 -04:00
JennyNou
c8971ef97d Add flag for unlisted vehicle scenarios 2026-03-24 10:58:14 -04:00
JennyNou
65c88ee04f Update locator 2026-03-22 22:53:25 -04:00
JennyNou
5dc79f8e38 Fix for handling premium package flows 2026-03-22 22:52:43 -04:00
JennyNou
1941bd8eb0 Fix validation for inshop and dropoff 2026-03-22 22:51:35 -04:00
JennyNou
bc5331bd65 Fix for Afterpay flakiness 2026-03-22 22:49:59 -04:00
JennyNou
5682987c06 Wip for order confirmation validations 2026-03-22 22:49:25 -04:00
JennyNou
2dfdbb6d1d Fix flakiness for Afterpay sandbox flow 2026-03-22 22:48:41 -04:00
JennyNou
1192775254 Fix logic for Afterpay payment flow 2026-03-20 16:13:47 -04:00
JennyNou
e537e41c98 Add and fix validation for TPA flow 2026-03-20 10:32:40 -04:00
JennyNou
b2f1d2d23a Fix license plate validation 2026-03-19 10:53:55 -04:00
JennyNou
bd11b53413 Clean up locators and validation 2026-03-19 10:53:31 -04:00
JennyNou
4525ce95ce Add TPA submit button for global continue locator 2026-03-19 10:52:44 -04:00
JennyNou
df9f24aaa3 Update service package logic 2026-03-18 10:44:36 -04:00
JennyNou
303fc24735 Fix logic for scheduling appointments 2026-03-18 10:42:38 -04:00
JennyNou
db55d5cf7d Update continue button locator to be more specific 2026-03-18 10:37:28 -04:00
JennyNou
b1bea6a0e8 Add logic for Afterpay flow when order amount is low 2026-03-12 10:13:22 -04:00
JennyNou
8cca6f5afc Add await so that PW can click on first time slot 2026-03-10 14:46:32 -04:00
JennyNou
7481aff268 Add OEM validation 2026-03-10 14:16:53 -04:00
JennyNou
ce2f640a5f Update locators for policy vehicles page 2026-03-10 13:42:34 -04:00
JennyNou
806f27bbd1 Update flow to cover essential and advanced clients 2026-03-10 13:41:58 -04:00
JennyNou
92f15d5019 Add functions to validate provider preference page flow 2026-03-10 13:41:06 -04:00
JennyNou
80663bea23 Update locators for vehicle damage buttons 2026-03-10 13:39:38 -04:00
JennyNou
7505742467 Add import for Afterpay 2026-03-10 13:38:47 -04:00
JennyNou
dc58951630 Update locators for yes or no buttons 2026-03-10 13:36:48 -04:00
JennyNou
fb6c3ee7fb Update locators and flow for contact details page 2026-03-10 13:34:42 -04:00
JennyNou
31d2d7d5f5 Update validations for various deductible types 2026-03-10 13:32:35 -04:00
JennyNou
ad228f735c Fix flaky global continue button locator 2026-03-10 13:23:45 -04:00
JennyNou
72e4269fd8 Update locator for welcome page 2026-03-10 13:22:19 -04:00
JennyNou
23e9777c18 Update locators and schedule page flow to fix tests 2026-03-10 13:21:50 -04:00
JennyNou
6ffe7e229d Added locators and steps to fix Afterpay flow 2026-03-10 13:20:56 -04:00
JennyNou
c899e367d1 Update locators and flow for each payment option 2026-03-02 14:49:47 -05:00
JennyNou
5908b7b807 Update locators for Paypal flow 2026-03-02 14:35:53 -05:00
JennyNou
75e84452a8 Clean up logic for Afterpay flow 2026-03-02 11:35:37 -05:00
JennyNou
58b497fcc4 Update locators and logic to validate cart behavior for deductible scenarios 2026-02-27 11:23:52 -05:00
JennyNou
ebed4b51d7 Fix referral number method by retrieving value from sessionStorage 2026-02-11 13:50:26 -05:00
Rob Donahey
d539df9550
Feature/insr 7038: Playwright tests for big truck scenarios (#963)
List of commits in this pr:

* Begin essential Playwright test cases for big truck

* Implement non serviceable big truck vin lookup and fix test case tags

* Rename non serviceable vin cases

* Common sense .env.dev example

* Move extraneous stuff to .env.example

* Add playwright environment file to gitignore

* Stop tracking .env.dev

* Specify file ignore

* Ignore .env

* Implement advanced tests for big truck

* Remove duplicate smoke test

* Implement PR feedback

* Add  comments to type definitions for clarity for any future uses

* More descriptive env comment
2025-10-16 16:07:01 -04:00
Siraj Shaik
4a9c3f9cab Removed duplicate locators. 2025-03-13 15:44:09 -04:00
Siraj Shaik
b4d2719c35 git mv for page name change. 2025-03-13 14:09:02 -04:00
Siraj Shaik
08704dfc7e Merge remote-tracking branch 'origin/feature/INSR-2126' into sshaik/develop 2025-03-12 10:54:36 -04:00
Alex Humphries
bfce770b63 Shorten timeout for waiting for page change 2025-03-12 10:52:11 -04:00
Alex Humphries
0300d35f86 Removed extra logging 2025-03-12 10:38:57 -04:00
Siraj Shaik
8c0f5844a1 Scenario-28a is added. 2025-03-11 13:13:23 -04:00
Siraj Shaik
34b7897e03 Merge remote-tracking branch 'origin/feature/INSR-2126' into sshaik/develop 2025-03-11 12:01:26 -04:00
Siraj Shaik
138ab89be8 Scenario-26a is added 2025-03-11 10:48:37 -04:00
Alex Humphries
4059bd4a88 Add special validation for order confirmation 2025-03-11 10:29:12 -04:00
Alex Humphries
f417b331f6 Re-add some logging 2025-03-10 16:21:46 -04:00
Alex Humphries
7b017cc218 Overhaul validation logic
Now, rather than retrying until we get a correct URL or a timeout, we
check once, then, if the URL is wrong, we wait for a URL change and
check again. (Unless, the current page is a bailout, in which case we
know that the page isn't going to change)
2025-03-10 15:43:21 -04:00
Siraj Shaik
394180cfc7 Merge remote-tracking branch 'origin/feature/INSR-2126' into sshaik/develop 2025-03-10 12:14:12 -04:00
Siraj Shaik
df807f9534 Scenario 25 is added. 2025-03-10 10:55:29 -04:00
Alex Humphries
a974e53bc8 Use expect.toPass instead of timeout/while loop 2025-03-10 09:57:55 -04:00
Alex Humphries
e3428b0bf9 Update page value for molding questions, adjust timing of url validation 2025-03-07 14:03:21 -05:00
Alex Humphries
49c951fe25 Update validateURL to account for variations in query string
In scenarios that reach the order confirmation page, the query string
includes more than the issPageValue, whiche was breaking validateURL
2025-03-07 11:47:06 -05:00
Alex Humphries
b935cf0efa Fixed some failing tests, some tweaks to url validation
Extending URL validation timeout and adding some more logging/stepping
to better see what is happening during tests
2025-03-07 11:01:59 -05:00
Alex Humphries
16ce5ad0e4 Update validateURL to account for more scenarios
In some scenarios, the URL will not have already changed by the time
this check is being made, so if the check fails, we wait and recheck
a few times
2025-03-07 09:37:19 -05:00
Alex Humphries
cf4c4d8585 Added url validation
Changed existing validateURL function on BasePage to WaitForURL, and
added a new function for checking the url of the page. Added calls
to this function throughout the workflow, on each page change
2025-03-06 16:15:58 -05:00
Siraj Shaik
bef1122005 Scenario 23a is added. 2025-02-24 15:00:29 -05:00
Siraj Shaik
945befcfea 0001a scenario mocked files and timeout changed 2025-02-19 14:16:36 -05:00
Siraj Shaik
5f22af740b Updates on report, order confirmation 2025-02-18 16:10:11 -05:00
Siraj Shaik
6d5a0524e3 latest updates from QA repo
21 and 22 scenarios were added
Mock responses refactored.
2025-02-18 14:41:05 -05:00
chase-safelite
5d3ab0ef59
Added playwright tests into repo (#923)
* Initial import of playwright tests

* Pipeline changes for automated tests

* Modified pipeline for testing

* Attempt #2

* Attempt #3

* Added missing paren

* Removed debug stuff from pipeline

* Changes from playwright repo

* Changed pipeline for debugging

* Fix for ServiceLocationPage playwright locators

* Change pipeline to run with TEST APIs

* Moved more of Siraj's changes to this repo

* Changed where updating env occurs

* Changed location of env update again

* Escaped double quotes

* Added visible report in Azure

* Moved changes into main pipeline

* Made it so dotenv only runs config in local
2025-02-14 09:54:11 -05:00