Commit graph

39 commits

Author SHA1 Message Date
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