Commit graph

9325 commits

Author SHA1 Message Date
maguire-arman
4d38768554 Updates npm registry configuration
Updates the npm registry configuration.

Removes authentication token from .npmrc.
2025-07-16 12:43:24 -04:00
maguire-arman
1689088fdf Adds CASH-1187 tag and comment for test.
Adds a tag to the heavy truck test case and a comment to App.vue.
The tag is for tracking purposes.
The comment is for testing.

Relates to CASH-1187
2025-07-16 09:30:17 -04:00
maguire-arman
9687529d5e Tag test cases to test pr gate pipeline
Updates test case tags to reflect the correct issue IDs
and removes outdated references. This ensures accurate
test reporting and traceability.
2025-07-15 15:08:49 -04:00
maguire-arman
7b69612dff
Merge pull request #2648 from Safelite/feature/CASH-836
Merging Playwright Tests and pipelines into Develop
2025-07-15 14:15:12 -04:00
maguire-arman
e1692d94ca Revert "final Pipeline test"
This reverts commit 77b8a66380.
2025-07-15 13:47:21 -04:00
maguire-arman
77b8a66380 final Pipeline test 2025-07-15 13:28:23 -04:00
maguire-arman
795995c16b Revert "Rerun"
This reverts commit 9f7596edb5.
2025-07-15 12:57:20 -04:00
maguire-arman
9f7596edb5 Rerun
Rerun
2025-07-15 12:39:28 -04:00
maguire-arman
67fe58577f Rerun after agent disk space failure 2025-07-15 12:22:46 -04:00
maguire-arman
897b3a8a90 Rerun 2025-07-15 12:13:06 -04:00
maguire-arman
d7d7112c5b Streamlines credit card payment flow
Removes an unnecessary navigation step after populating credit card details, improving the user experience.

Adds CI environment variable to docker create commands.
2025-07-15 11:53:03 -04:00
maguire-arman
07efa18134 Loads environment variables in Docker containers
Ensures environment variables defined in the env file are loaded
into the Docker containers used for Playwright tests. This is
achieved by sourcing the env file within the `docker create` command.

Removes the unnecessary CI=true environment variable setting.
2025-07-15 11:29:49 -04:00
maguire-arman
1f96ce255b Sets CI environment variable for Docker container
Ensures the `CI` environment variable is set to `true` when creating the Docker container.

This ensures proper behavior for Playwright tests running in continuous integration environments.
2025-07-15 11:14:13 -04:00
maguire-arman
4a045c6847 Adds CI environment variable to Docker containers
Ensures that the CI environment variable is set to true within the Docker containers.
This enables proper detection of the CI environment in the running tests.
2025-07-15 10:44:23 -04:00
maguire-arman
0bebce1d92 Uses function call for shard number assignment.
Replaces direct matrix value access with a function call to obtain the shard number.
This approach enhances flexibility and maintainability by abstracting the source of the shard number.
2025-07-15 10:08:40 -04:00
maguire-arman
7240720572 Uses matrix for shard number in Playwright tests
Uses the matrix context for the shard number in the Playwright test workflow.

This change ensures the correct shard number is used when running Playwright tests in parallel.
2025-07-15 10:00:29 -04:00
maguire-arman
7b396a62d1 Updates variable for accessing branch name
Updates the variable used to access the source branch name in pull requests.

The previous variable was deprecated or no longer functioning as expected.
This change ensures the workflow can reliably retrieve the branch name for
extracting JIRA card numbers.
2025-07-15 09:27:42 -04:00
maguire-arman
7e9d471d26 Cleans up environment files
Removes the unnecessary .env.example file and consolidates configurations.

Simplifies environment management and reduces potential confusion.
2025-07-15 09:24:01 -04:00
maguire-arman
458e552d6b Removes URL declaration from page classes
Removes the explicit URL declaration from the page classes.

The URL validation and navigation are now handled directly within the tests, providing greater flexibility and control over test execution and removing the need to manage URLs within each page object.
2025-07-14 16:13:56 -04:00
maguire-arman
60c6a1cdc7 Merge branch 'develop' into feature/CASH-836 2025-07-14 14:36:26 -04:00
maguire-arman
e2556b07bb Wrapped up testing and now ready for merge
Configures the pipelines to utilize regression testing, increases the total shards for automated testing, and corrects the logic for retrieving the branch name to extract the JIRA card number.
2025-07-14 14:32:10 -04:00
maguire-arman
a9682c960d Enables Jira ticket creation based on regression status
Reverts the hardcoded disabling of Jira ticket creation and enables it based on the `IS_REGRESSION` environment variable. This allows test subtasks and bug tickets to be created automatically when tests are not run in regression mode.
2025-07-14 14:03:34 -04:00
maguire-arman
d053a49f41 Passes JIRA card number to merge-reports
Ensures the JIRA card number is available as an environment variable during the playwright merge-reports process. This allows the reports to be tagged with the correct JIRA ticket.
2025-07-14 13:40:22 -04:00
maguire-arman
d82e1780cd turn regression off for testing 2025-07-14 11:17:37 -04:00
maguire-arman
e413b3267c turned regression on for a run 2025-07-14 09:44:27 -04:00
maguire-arman
69eec56056 Configures Playwright blob report output directory
Configures the Playwright blob report output directory to '/app/blob-report' within the test job definitions.

This ensures that the blob reports are consistently stored in a designated location within the container,
facilitating easier access and management of test artifacts.
2025-07-14 09:27:41 -04:00
CarlNation
c1db9eaa2a
Merge pull request #2634 from Safelite/rlsmerge/2025.07.10-to-dev
Rlsmerge/2025.07.10 to dev
2025-07-11 14:53:29 -04:00
CarlNation
28766ece98 Merge branch 'release/2025.07.10' into rlsmerge/2025.07.10-to-dev 2025-07-11 13:38:17 -04:00
CarlNation
5d972acca7 Merge branch 'develop' into rlsmerge/2025.07.10-to-dev 2025-07-11 13:37:37 -04:00
maguire-arman
59a7dc12ef Specifies playwright config file path
Ensures that the playwright config file path is explicitly set during test execution.

This change resolves potential issues where the config file might not be correctly located, especially in environments with non-standard project structures.
2025-07-11 10:11:29 -04:00
maguire-arman
cf18265057 Removes debug logging in Playwright tests
Removes temporary debugging statements from the Playwright test workflow. These logs were used to diagnose issues with report merging but are no longer needed, reducing noise in the CI output.
2025-07-11 10:03:49 -04:00
maguire-arman
2cd746766c testing pr gate again 2025-07-11 10:03:33 -04:00
Johnny Shultz
1bb2cf86fc
Merge pull request #2632 from Safelite/feature/CASH-1077
CASH-816
2025-07-11 09:54:10 -04:00
Johnny shultz
72ae9ae2ab CASH-818
removing unused data property not being used for this PR
2025-07-11 09:26:57 -04:00
Johnny shultz
5ca35375a1 Merge remote-tracking branch 'origin/feature/CASH-1077' into feature/CASH-1077 2025-07-11 09:24:18 -04:00
Johnny shultz
835cfb01ac CASH-818
defect fixes for CASH-1149 and CASH-1154
2025-07-11 09:23:55 -04:00
maguire-arman
f11a6a0249 turning on regression pipeline for the night 2025-07-10 16:14:41 -04:00
Johnny Shultz
50d4658bea
Merge branch 'release/2025.07.10' into feature/CASH-1077 2025-07-10 16:08:35 -04:00
AdamCaouetteSafelite
f1f95bb353
Merge pull request #2633 from Safelite/feature/CASH-845-stage-4
Feature/cash 845 stage 4
2025-07-10 16:06:23 -04:00
AdamCaouetteSafelite
bec8b3d873 CASH-845 UI updates, content and CSS 2025-07-10 15:45:05 -04:00
maguire-arman
08deb5b5e2 Updates Playwright merge-reports command
Updates the Playwright merge-reports command to explicitly specify the configuration file.

Removes unnecessary Playwright command.
2025-07-10 15:41:57 -04:00
Johnny shultz
f604f3c961 Merge remote-tracking branch 'origin/feature/CASH-1077' into feature/CASH-1077 2025-07-10 15:18:26 -04:00
Johnny shultz
2c1bbff8af CASH-816
formatting
2025-07-10 15:17:55 -04:00
maguire-arman
7a71b623f8 Reruns Playwright to ensure report generation
Executes Playwright after merging reports to guarantee the generation of final reports.

This ensures that the JUnit and other reports are generated correctly after the merging process, leading to more reliable test reporting.
2025-07-10 15:09:54 -04:00
Johnny Shultz
90655e76d3
Merge branch 'release/2025.07.10' into feature/CASH-1077 2025-07-10 15:09:31 -04:00
Johnny shultz
b5562ee714 CASH-816
CASH-816 fix for issues with 816,updating watcher for now, but can try to use a different approach for refactoring. added in css from before
2025-07-10 15:06:50 -04:00
AdamCaouetteSafelite
7471c537c1 CASH-845: add duration text block for date-picker 2025-07-10 14:36:30 -04:00
AdamCaouetteSafelite
995c2da5a1 CASH-845: move duration text block from time-slot-question to date-picker 2025-07-10 14:34:44 -04:00
maguire-arman
99ddab867f Adds debugging logs to Playwright test execution
Adds debugging logs to the Playwright test execution within the Docker container to aid in diagnosing issues with report generation and merging. These logs provide insights into directory contents and the state of the environment.
2025-07-10 14:22:15 -04:00
michaela-brydon-safelite
e56278ff53
Merge pull request #2631 from Safelite/feature/brydon/DTECH-533
Step 1 fixing code coverage for FMG with sonarqube
2025-07-10 14:05:29 -04:00