Commit graph

16 commits

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