Commit graph

9868 commits

Author SHA1 Message Date
maguire-arman
a3c8f8eab3 Using parameterized variables and testing non regression 2025-07-10 09:28:28 -04:00
AdamCaouetteSafelite
26035ab37d CASH-845 prettier fixes 2025-07-10 09:28:25 -04:00
AdamCaouetteSafelite
03b588bcd9 Merge branch 'release/2025.07.10' into feature/CASH-845-stage-3 2025-07-10 09:27:16 -04:00
Bryan Mauger
fe441d8ba0 CASH-1042 WIP modal updates. 2025-07-10 09:22:30 -04:00
AdamCaouetteSafelite
c2aed7e25a CASH-845 add zipCode to mobile call payload 2025-07-10 06:46:56 -04:00
AdamCaouetteSafelite
66248db361 CASH-845 restore temp testing code 2025-07-10 06:32:52 -04:00
AdamCaouetteSafelite
fb03af0533 CASH-845 update api call method structure for new zipCode param to be passed 2025-07-10 06:32:02 -04:00
AdamCaouetteSafelite
b6178ead44 CASH-845 update getMobileTimeSlots call in store to take optional zipCode param 2025-07-10 06:09:24 -04:00
maguire-arman
67c8f995d0 Updates test case tags
Updates the tags for CashRepairInShopPayPal and CashRepairMobileCreditCard test cases to include the '@CASH-836' tag.
Removes the '@CASH-836' tag from the CashReplaceSplitWindshield test case.
2025-07-09 20:24:43 -04:00
maguire-arman
617b076ef2 Setting up regression run for the night 2025-07-09 20:13:04 -04:00
maguire-arman
9faa3a77fb Revert
Ensures the Playwright test command receives the path
to the test files, which is necessary for proper execution
within the Docker environment.
2025-07-09 17:16:03 -04:00
maguire-arman
d9afd1142d Simplifies Playwright test command
Removes redundant path specification in the Playwright test command within the CI configuration.

This change streamlines the test execution process by eliminating unnecessary repetition of the Playwright path, improving readability and maintainability of the CI pipeline definition.
2025-07-09 16:27:59 -04:00
maguire-arman
5b23242647 Reduces the number of test shards.
Reduces the total number of shards used for parallel test execution from 4 to 2.

This change aims to optimize resource utilization and potentially improve test execution speed, considering factors such as the number of available agents and the characteristics of the test suite.
2025-07-09 16:00:22 -04:00
AdamCaouetteSafelite
b7ac78aaca
Merge pull request #2629 from Safelite/feature/CASH-845-stage-3
Feature/cash 845 stage 3
2025-07-09 15:50:08 -04:00
AdamCaouetteSafelite
f7351ca5be CASH-845 prettier fixes 2025-07-09 15:37:48 -04:00
AdamCaouetteSafelite
3ba3f8a4fc CASH-845 quick fixes to get JS changes working again 2025-07-09 15:35:24 -04:00
maguire-arman
17b917cac6 Adds CASH-836 tag to specific tests
Adds the `@CASH-836` tag to `CashRepairInShopAfterPay` and `CashReplaceSplitWindshield` tests.
This addition presumably links these tests to a specific issue or requirement tracked under CASH-836.

Removes unused variables from playwright-test.yml.
2025-07-09 15:31:16 -04:00
Bryan Mauger
4327efef6f CASH-1042 WIP steps updates. 2025-07-09 15:28:16 -04:00
maguire-arman
09ee59a583 debug 2025-07-09 15:00:48 -04:00
maguire-arman
9464bc44d7 debug 2025-07-09 14:48:54 -04:00
maguire-arman
d0e8cd4c57 Adds filter value to workflow output
Adds the filter value to the workflow output, providing more visibility into the test selection process during CI runs.
This helps in debugging and verifying the correct test subset is being executed.
2025-07-09 14:43:18 -04:00
maguire-arman
eb64c5105e Adds "@" prefix to Jira card number grep filter.
Updates the grep filter for Jira card numbers to include the "@" prefix, ensuring accurate filtering by test case tag. This ensures that only tests specifically tagged with the Jira card number are executed.
2025-07-09 14:32:31 -04:00
maguire-arman
6e068785a8 added tags to tests 2025-07-09 14:24:38 -04:00
maguire-arman
30aec0a3a3 Disables regression testing
The automated test pipeline now runs without the regression flag enabled.

This change ensures that tests are executed as standard tests, rather than being treated as regression tests.
2025-07-09 14:21:28 -04:00
maguire-arman
53ed7383c4 Adds Playwright test stage for pull requests
Introduces a new stage in the pipeline to run Playwright tests specifically for pull requests.
This ensures that UI tests are executed and pass before merging pull requests, preventing regressions.

The automated testing is now configured to run regression tests.

Uses the source branch from the build context to extract the JIRA card number.
2025-07-09 14:20:17 -04:00
maguire-arman
cd02d42da1 Refactors environment variable handling
Moves environment variable definitions to ensure they are available
before the docker container is created, resolving issues related to
undefined variables during container execution. Also, simplifies the
playwright report merging process by streamlining the execution of
commands within the docker container.
2025-07-09 14:07:50 -04:00
chloeherdsafelite
435f33bf49
Merge pull request #2627 from Safelite/feature/CASH-365-update
Correct page data model for interfacing with save-session
2025-07-09 14:01:26 -04:00
Bryan Mauger
9d511d0b6f CASH-1042 WIP add steps to button. 2025-07-09 13:50:30 -04:00
chloeherdsafelite
0940b9c11a
Merge branch 'release/2025.07.10' into feature/CASH-365-update 2025-07-09 13:49:38 -04:00
maguire-arman
44541ba00c Refactors automated testing pipelines with template
Migrates automated testing configurations to new pipeline structure.

This change streamlines the test execution process by leveraging templates and parameters for increased flexibility and maintainability. It introduces a dedicated template for Playwright tests, enabling easier configuration and reuse across different testing scenarios.

The previous monolithic pipelines are replaced with modular components, improving readability and reducing redundancy. This also allows for better control over test execution, including shard management and result aggregation.
2025-07-09 13:40:52 -04:00
maguire-arman
2e514c8671 Updates test report folder path
Updates the folder path for test reports to be 'ortoni-report' in CI environments, otherwise defaults to 'test-results'.

The conditional logic ensures that test results are stored in a dedicated 'ortoni-report' folder during CI runs, enabling more manageable reports.

The changes related to jiraCreationPermissions are commented out as TODOs and will be changed back in the future.
2025-07-09 13:09:15 -04:00
Johnny Shultz
24ea55fd60
Merge pull request #2628 from Safelite/feature/CASH-816v2
CASH-816
2025-07-09 13:06:36 -04:00
maguire-arman
ca4c50f01a Refactors Playwright Dockerfile
Updates the Playwright Dockerfile to streamline the build process.

This change improves the Dockerfile by:

- Using `npm ci` for faster and more reliable dependency installation
- Copying the .npmrc file before copying the code.
- Installing Playwright browsers within the playwright-tests directory.
2025-07-09 13:02:42 -04:00
Johnny Shultz
a247ac9ae1
Merge branch 'release/2025.07.10' into feature/CASH-816v2 2025-07-09 13:00:05 -04:00
Johnny shultz
cd1d9986e9 CASH-816
CASH-816 settling service-location/scehdule changes from my PR for 816 that didnt get merged in correctly yesterday
2025-07-09 12:58:09 -04:00
AdamCaouetteSafelite
785224c972
Merge pull request #2625 from Safelite/feature/CASH-845-stage-2
CASH-845 more updates & fixes
2025-07-09 12:54:51 -04:00
AdamCaouetteSafelite
e734d94df9 CASH-845: prettier changes 2025-07-09 12:38:40 -04:00
Chloe Herd
e3d474fe9c Prettier 2025-07-09 12:36:41 -04:00
Chloe Herd
d5d0aa289e Correct page data model for interfacing with save-session 2025-07-09 12:34:34 -04:00
AdamCaouetteSafelite
c1220f9d00 CASH-845: more ironing out to ensure appointmentType stays accurate 2025-07-09 12:28:22 -04:00
maguire-arman
6c0947ad32 added managed flow to no comp progressive 2025-07-09 10:51:55 -04:00
Bryan Mauger
f5d67aa9f8 CASH-1042 progress bar updates. WIP 2025-07-09 10:36:56 -04:00
AdamCaouetteSafelite
7193090020 Merge branch 'release/2025.07.10' into feature/CASH-845-stage-2 2025-07-09 10:28:02 -04:00
maguire-arman
dd7d0221aa Adds managed flow to insurance test data
Adds the `Managed` flow type to the insurance test data.

Specifies an empty payment details object for the insurance flow
to skip the payment method page.
2025-07-09 10:27:26 -04:00
AdamCaouetteSafelite
63b9767c58
Merge pull request #2626 from Safelite/feature/Digital/CASH-814
CASH-814 | Refactor and cleanup
2025-07-09 10:13:04 -04:00
Scott Kiener
7ab6c46eff CASH-814 | Refactor and bug fix 2025-07-09 10:07:29 -04:00
maguire-arman
a515fece15 using develops package-lock.json 2025-07-09 09:47:04 -04:00
maguire-arman
6a89e8a262 fixed packagelock.json 2025-07-09 09:44:52 -04:00
AdamCaouetteSafelite
b482cd781f CASH-845 refactor from PR 2025-07-09 09:41:13 -04:00
maguire-arman
f104bd6267 Fixed package-lock.json 2025-07-09 09:39:42 -04:00