Commit graph

9307 commits

Author SHA1 Message Date
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
maguire-arman
36fa8fb3f3 Executes Playwright commands within a bash shell
The previous implementation encountered issues with command execution within the docker container. This change wraps the Playwright commands in a bash shell, ensuring proper execution and resolving potential errors during the report merging and related processes.
2025-07-10 14:03:53 -04:00
maguire-arman
9e121c906c Ensures environment variables are correctly passed
Specifies that environment variables are exported to ensure
they are accessible within the Docker container context. Also
wraps the execution command in `bash -c` to ensure proper
command execution within the container.
2025-07-10 13:55:01 -04:00
maguire-arman
998ccfb287 Fixes shell command syntax error
Corrects a syntax error in the shell command used to move Playwright reports, ensuring the command executes as intended.
2025-07-10 13:49:24 -04:00
maguire-arman
ac92600b28 Fixes shell command execution in Docker
Ensures the shell command is properly executed within the Docker container by wrapping it in quotes. This resolves issues where the command was being misinterpreted or failing to execute as intended.
2025-07-10 13:45:35 -04:00
maguire-arman
0b71f997ca Streamlines Playwright report merging in Docker
Removes unnecessary directory listing commands from the Docker container execution within the Playwright test job.

This change simplifies the execution and reduces the noise in the job logs, focusing on the core report merging process. The execution also uses semicolons instead of newlines to separate commands.
2025-07-10 13:39:19 -04:00
maguire-arman
6626e7dc58 Improves debug output in CI workflow
Enhances debugging capabilities in the CI workflow by adding `ls -al` command to print the contents of the playwright-tests directory.
Also, corrects the path for listing test results to use a relative path instead of an absolute path, ensuring it works correctly regardless of the environment.
2025-07-10 12:07:00 -04:00
maguire-arman
99abc2ec7b Adds JUnit reporter
Adds the JUnit reporter to the Playwright configuration.

This allows for generating JUnit-compatible XML reports, which can be useful for integrating with CI/CD systems and other tools that consume JUnit reports.
2025-07-10 11:53:27 -04:00
Michaela Brydon
b20e742531 Adding test:unit script for pipeline run 2025-07-10 11:46:02 -04:00
Michaela Brydon
d61bda3863 Step 1 fixing code coverage for FMG with sonarqube 2025-07-10 10:54:47 -04:00
maguire-arman
91d0ebd63f Updates test results directory path.
Updates the path to the test results directory in the workflow file to reflect the new location.

This ensures the workflow correctly accesses and reports test results.
2025-07-10 10:46:18 -04:00
maguire-arman
6b410c432c Adds debug logging for test execution
Enhances debugging capabilities during test execution by adding logging to capture directory contents. This helps diagnose potential issues related to file access or environment setup within the test environment.
2025-07-10 10:27:10 -04:00
maguire-arman
db8efa267d Adds Ortoni reporter
Adds the Ortoni reporter to the Playwright configuration.

This change ensures that Ortoni reports are generated both in CI and local environments, providing comprehensive test result analysis.
2025-07-10 10:09:10 -04:00
AdamCaouetteSafelite
749c5cc466
Merge pull request #2630 from Safelite/feature/CASH-845-stage-3
Feature/cash 845 stage 3
2025-07-10 09:44:39 -04:00
maguire-arman
43027f6d7b Fixes: Removes extra comma from path
Removes an extraneous comma in the path definition, resolving an issue caused by the incorrect path formatting.
2025-07-10 09:43:00 -04:00
maguire-arman
8e4f303ba8 Merge remote-tracking branch 'origin/feature/CASH-836' into feature/CASH-836 2025-07-10 09:40:34 -04:00
maguire-arman
e4b2433816 Updates test case tags for issue tracking
Moves the CASH-836 tag from the HeavyTruck test to the RepairOnly test.

This change ensures that the correct test case is associated with the corresponding issue in the issue tracking system.
2025-07-10 09:40:21 -04:00
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