Commit graph

193 commits

Author SHA1 Message Date
JennyNou
8490a6a290 Update flows to fix playwright tests 2026-03-24 11:23:40 -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
580969a399 Update template tag 2026-03-24 10:00:46 -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
e25466cd07 Remove unused bailout code 2026-03-19 11:08:44 -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
623c407357 Remove bailout flag that is no longer valid 2026-03-19 10:52:00 -04:00
JennyNou
9e6fdf4707 Update enums used for validations 2026-03-19 10:51:04 -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
02e0afe4f6 Remove this mock response because its returning a 500 response 2026-03-18 10:40:06 -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
b5a436d2de Add missing header 2026-02-11 13:52:28 -05:00
JennyNou
ebed4b51d7 Fix referral number method by retrieving value from sessionStorage 2026-02-11 13:50:26 -05:00
JennyNou
de580f2e70 Add accessibility exports back in 2026-01-14 14:20:26 -05:00
JennyNou
f43e4545fa Fix boolean value and missing bracket 2026-01-14 11:30:49 -05:00
JennyNou
7a2ad36cde Add else to fix logic 2026-01-13 15:22:32 -05:00
JennyNou
3202f4d933 Update files for Playwright pipeline and reporting 2026-01-12 16:58:05 -05:00
Jeremy-Z
20a39fc155 Fixed issue with rain defense part call .... endpoint method was renamed from rain-defense to rain-repel 2025-12-09 11:53:39 -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
chase-safelite
88bad7cf7f
Made it so excessive bugs are not created from regression runs (#943) 2025-05-21 00:35:35 -04:00
chase-safelite
2791150daf
Set up daily regression run and extended Jira Writeback Reporter to cover all Jira API functionality (#938)
* Initial regression pipeline

* Progress toward Jira API Util changes

* Updated Regression run and Jira Writeback Reporter to work together

* Temporarily disabled cron

* Allow Jira Writeback Reporter to set UAT tester

* Updates to azure-pipelines to avoid using jira command line

* Deleted unused script

* Changed pool to default

* Added back closing quote

* Added missing paren

* Set up cron schedule
2025-05-14 09:22:06 -04:00
chase-safelite
55bb84cca4
Jira writeback reporter to add subtasks with test results (#935)
* Progress toward Jira integration

* Jira Writeback reporter working

* Added correct timeouts

* Added Jira Writeback reporter to pipeline

* Added tag for testing

* Removed unnecessary async

* Fixed rate limit issue

* Moved to only transition existing test case subtasks

* Changing to transition issues by key

* Enabled mocking for scenario 2

* Added better error handling in api util

* Changed workers to 1 to eliminate duplicate test runs

* Streamlined batch creation and retry check

* Modified test data structure to remove undeterministic sort

* Increased workers

* Increased heap size for jira upload

* Cleanup

* Made logs more specific for JiraWritebackReporter
2025-04-09 10:36:30 -04:00
Siraj Shaik
5f515a39ec Scnario-30a is added. 2025-03-17 11:04:00 -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
206c74cdd9 Page name changed to camel case 2025-03-13 13:15:16 -04:00
Siraj Shaik
9214a62361 Scenario-29a is added. 2025-03-13 11:56:27 -04:00
Siraj Shaik
e02e821708 Scenario-29a is added 2025-03-13 11:55:42 -04:00
Siraj Shaik
723334bcc1 fix for scenrio-25 bailout flag . 2025-03-13 10:35:48 -04:00
Siraj Shaik
f5b97a6320 TAGS WERE ADDED 2025-03-12 13:02:45 -04:00
Siraj Shaik
0bc8654754 compilation error fix. 2025-03-12 12:20:31 -04:00
Siraj Shaik
058cd6b5df few corrections. 2025-03-12 11:54:13 -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
9c0ba15883 Revert "Merge remote-tracking branch 'origin/feature/INSR-2140' into sshaik/develop"
This reverts commit b053b53537, reversing
changes made to bef1122005.
2025-03-04 16:27:02 -05:00
Siraj Shaik
f664515c46 Scenario 0024a is added 2025-03-04 16:21:08 -05:00
Siraj Shaik
b053b53537 Merge remote-tracking branch 'origin/feature/INSR-2140' into sshaik/develop 2025-03-04 11:14:00 -05:00
Chase King
7e64e0eee4 Updated reporter config 2025-02-27 16:05:14 -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