Commit graph

3743 commits

Author SHA1 Message Date
Siraj Shaik
058cd6b5df few corrections. 2025-03-12 11:54:13 -04:00
Siraj Shaik
cd65cee9cf Merge remote-tracking branch 'origin/develop' into sshaik/develop 2025-03-12 11:34:39 -04:00
AHumphriesSL
7a4757b385
Merge pull request #928 from Safelite/feature/INSR-2126
Playwright URL validation
2025-03-12 11:32:36 -04:00
michaela-brydon-safelite
ff1ac22cbc
Merge pull request #930 from Safelite/feature/digital/INSR-2210
Feature/digital/insr 2210
2025-03-12 11:16:58 -04:00
Michaela Brydon
86a50c10d1 Replacing Roboto styling with AvertaRegular in the hop 2025-03-12 11:00:52 -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
2ce22e33f9 Merge remote-tracking branch 'origin/develop' into sshaik/develop 2025-03-11 15:46:10 -04:00
Michaela Brydon
5c503d947b Updating general font to AvertaRegular 2025-03-11 15:16:23 -04:00
Michaela Brydon
50aa6072c7 Importing Averta font 2025-03-11 14:57:14 -04:00
Siraj
c158c781d8
Merge pull request #929 from Safelite/feature/INSR-2178
Only run Playwright test cases connected to linked JIRA card at PR time
2025-03-11 14:56:47 -04:00
Michaela Brydon
862ea85f5a Adding averta font files 2025-03-11 14:55:43 -04:00
Chase King
f925d54224 Removed unnecessary jira tag 2025-03-11 14:42:05 -04:00
Chase King
e29d5d0d7b Moved changes to main pipeline 2025-03-11 14:41:00 -04:00
Chase King
4172688205 Commented out unit tests temporarily 2025-03-11 14:24:09 -04:00
Chase King
c82ee470f8 Removed tags from test cases 2025-03-11 14:22:27 -04:00
Chase King
bb1df18dac Reduced shards to 2 2025-03-11 14:21:34 -04:00
Chase King
61750f5f00 Removed docker exec 2025-03-11 14:19:43 -04:00
Chase King
f6de29e9fd New strategy 2025-03-11 13:46:39 -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
Chase King
5f0da0eb86 attempt #3 2025-03-11 10:38:04 -04:00
Chase King
875fc2eaca Attempt #2 2025-03-11 10:29:46 -04:00
Alex Humphries
4059bd4a88 Add special validation for order confirmation 2025-03-11 10:29:12 -04:00
Chase King
1fa22cceef Fixed calculation of number of tests 2025-03-11 10:23:49 -04:00
Chase King
35f216207c Made it so there are fewer than 4 tests 2025-03-11 10:05:09 -04:00
Chase King
da4e992985 Added tolerance for test num < 4 2025-03-11 10:04:48 -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
Chase King
ed4e2ea33c Created dir for test results 2025-03-07 10:09:12 -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
Chase King
af63c7a297 Fixed test-results path 2025-03-07 08:55:01 -05:00
Chase King
5ef75ad148 JUnit reporting attempt #2 2025-03-06 16:20:36 -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
Chase King
4fe9570dfb Fixed spacing 2025-03-06 16:00:53 -05:00
Chase King
50c6d8e5ba Changed selected tests to advanced 2025-03-06 15:59:59 -05:00
Chase King
2ea0a61529 Added publish Junit test results 2025-03-06 15:59:43 -05:00
Chase King
ac6afbefdf Merge branch 'develop' of https://github.com/Safelite/DigitalConsumer.ISS into feature/INSR-2178 2025-03-06 15:28:37 -05:00
chase-safelite
26d421e224
Jira Writeback Integration for Playwright tests (#927)
* Updated to have timeout Jeremy suggested

* Changed what variable is accessed

* Temporarily changed number of shards for testing

* Extract Jira Card Number from SourceBranchName

* Changed the way we get source branch name

* Escaped quotes

* Added timeout for tasks that run even when canceled

* Fixed unescaped quotes

* Added logging

* Changed the way we grab source branch name

* Fixed pipeline

* Moved grabbing branch name out of container

* Fixed quote escaping

* Attempting to grab source branch name

* Added more logging and removed comments

* Added more logging

* Added jira writeback script

* Reverted dockerfile

* Changed number of shards back to 4
2025-03-06 15:28:06 -05:00
Chase King
c16a4d823a Changes to test functionality 2025-03-06 14:23:16 -05:00
Chase King
6dba628d5a Changes to run test suite by jira card number 2025-03-06 14:20:35 -05:00
Chase King
7c301dff87 Changed number of shards back to 4 2025-03-05 16:57:16 -05:00