Commit graph

3867 commits

Author SHA1 Message Date
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
Chase King
7d1ecb01b8 Reverted dockerfile 2025-03-05 16:45:48 -05:00
Chase King
a2316132b1 Added jira writeback script 2025-03-05 12:21:28 -05:00
Chase King
b3856aebb8 Added more logging 2025-03-05 12:10:15 -05:00
Chase King
563dabc0e9 Added more logging and removed comments 2025-03-05 11:51:17 -05:00
Chase King
745d7322cd Attempting to grab source branch name 2025-03-05 10:57:27 -05:00
Chase King
057727e9ac Fixed quote escaping 2025-03-05 10:38:59 -05:00
Chase King
b1cbed58f8 Moved grabbing branch name out of container 2025-03-05 10:26:47 -05:00
Chase King
1bea6b2aa5 Fixed pipeline 2025-03-05 10:08:12 -05:00
Chase King
c73029763c Merge branch 'develop' of https://github.com/Safelite/DigitalConsumer.ISS into feature/INSR-2140 2025-03-05 10:05:00 -05:00
Chase King
132c58db22 Changed the way we grab source branch name 2025-03-05 10:00:10 -05:00
Chase King
e59efb543a Added logging 2025-03-05 09:35:13 -05:00
Siraj
f324ca1eb1
Merge pull request #926 from Safelite/sshaik/develop
Sshaik/develop
2025-03-05 09:22:58 -05:00
Chase King
9d6f582be6 Fixed unescaped quotes 2025-03-05 09:20:09 -05:00
Chase King
0728b81d06 Added timeout for tasks that run even when canceled 2025-03-05 09:03:12 -05:00
Chase King
bce8824f31 Escaped quotes 2025-03-04 17:35:23 -05:00
Chase King
ef921f2d5d Changed the way we get source branch name 2025-03-04 16:55:17 -05:00
Chase King
2bd2ffcabb Extract Jira Card Number from SourceBranchName 2025-03-04 16:38:01 -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
Chase King
853c6743b4 Temporarily changed number of shards for testing 2025-03-04 16:21:32 -05:00
Siraj Shaik
f664515c46 Scenario 0024a is added 2025-03-04 16:21:08 -05:00
Chase King
188cafce16 Changed what variable is accessed 2025-03-04 16:20:43 -05:00
Chase King
e8f5b8946e Updated to have timeout Jeremy suggested 2025-03-04 15:33:48 -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
4aa67e43db Moved changes to main pipeline 2025-02-28 15:13:24 -05:00
Chase King
f246351b83 Fixed to work the previous way 2025-02-28 14:52:37 -05:00
Chase King
7e64e0eee4 Updated reporter config 2025-02-27 16:05:14 -05:00