Commit graph

9007 commits

Author SHA1 Message Date
maguire-arman
5c7a15da60 Skips content site deployment
Adds a variable to skip content site deployment during pipeline runs.

This allows for faster and more focused runs when content site changes are not relevant.
2025-05-12 10:58:44 -04:00
maguire-arman
70b41a4f17 Format Pipelines
Ensures consistent formatting across YAML files by standardizing quotes.
This improves readability and maintainability of the configuration files.
2025-05-12 10:51:55 -04:00
maguire-arman
7e5de7da3f Adds playwright test command
Adds a new npm script for running Playwright tests.

This allows for easier execution of end-to-end tests using Playwright.
2025-05-12 10:04:32 -04:00
maguire-arman
ecf3533bca changed the wait on to the correct url 2025-05-12 09:48:58 -04:00
maguire-arman
683d56aa38 Added qutoes to -e command as a safeguard 2025-05-12 09:43:00 -04:00
maguire-arman
c2154f9019 Fixed Grep Command for FMG 2025-05-12 09:30:50 -04:00
mvalaiyapathi
59a55efd2e
Merge pull request #2500 from Safelite/feature/CASH-535
CASH-535 - Moved saving the vuex code functionality from order helper…
2025-05-11 08:03:02 -04:00
hiteshkumar87
743a06bfae
Merge branch 'release/2025.05.22' into feature/Digital/CASH-502 2025-05-11 12:09:52 +05:30
hiteshkumar87
911a1f0e12 CASH-502
open mobile address when click on mobile option
2025-05-11 12:08:24 +05:30
Minojhini Valaiyapathi
be94c4cee5 Merge branch 'release/2025.05.22' into feature/CASH-535 2025-05-10 18:59:52 -04:00
Minojhini Valaiyapathi
ffe4c73044 CASH-535 - Fixed unit test 2025-05-10 18:51:34 -04:00
chloeherdsafelite
221abcc45e
Merge pull request #2498 from Safelite/feature/CASH-45
Feature/cash 45 - Router Rewrite
2025-05-09 16:40:12 -04:00
maguire-arman
998706c440 Removes output directory configuration
Removes the explicit `outputDir` configuration from the Playwright config.

The default output directory is sufficient and allows for more flexibility in test execution and reporting.
2025-05-09 15:49:22 -04:00
maguire-arman
cd5ddf946a Updates report configuration and project name
Updates the report configuration to adjust folder paths, logo locations, and the project name, ensuring correct paths and the proper project is referenced in reports.
2025-05-09 15:34:12 -04:00
maguire-arman
e90bea161d Updates test report output path
Updates the default folder path for generated test reports.
This ensures that test results are consistently saved in the
"artifacts/test-results" directory.
2025-05-09 15:22:45 -04:00
maguire-arman
8f88c84555 Adds Playwright Dockerfile
Creates a Dockerfile to run Playwright tests in a containerized environment.

This Dockerfile:
- Uses a Playwright base image.
- Installs dependencies.
- Installs Playwright browsers.
- Installs jq.
- Copies application code.

This ensures consistent and reproducible test execution across different environments.
2025-05-09 15:11:43 -04:00
maguire-arman
0e8ab72a4e Removes Playwright Dockerfile
Removes the dedicated Playwright Dockerfile.
The Playwright setup is now integrated into the primary Dockerfile.
2025-05-09 15:11:16 -04:00
maguire-arman
a5cae0fe42 Moves CI and Docker configuration files.
Relocates CI and Docker configuration files to the root directory.

This change simplifies the project structure by placing these essential configuration files at the top level, making them more accessible and easier to manage.
2025-05-09 15:06:32 -04:00
maguire-arman
bf44f1a59c Moves Dockerfile to playwright-tests directory
Moves the Playwright Dockerfile to the playwright-tests directory
to improve project organization and maintainability.
2025-05-09 15:04:34 -04:00
maguire-arman
86db1bf616 Adds dockerfile 2025-05-09 14:58:55 -04:00
maguire-arman
f29937700c Adds Automated Regression Pipeline&Jira writeback reporter to playwright
Implements a custom Playwright reporter to integrate with Jira.

This reporter automatically creates/updates test case and bug subtasks in Jira based on Playwright test results. It also uploads the ortoni HTML report to the parent Jira card.

Key features:
- Creates a regression card if none are found
- Transitions test subtasks based on test results.
- Creates bug subtasks for failed tests.
- Uploads the Ortoni HTML report as an attachment to the Jira card.
- Configurable through environment variables (Jira server, username, API key, project key, etc.).

Also adds axios-retry to handle rate limiting errors from Jira API
2025-05-09 14:51:29 -04:00
maguire-arman
75e6a8a86f added PR Gate Pipeline to Cash 631 2025-05-09 14:22:54 -04:00
mvalaiyapathi
a082dc00f5
Merge branch 'release/2025.05.22' into feature/CASH-535 2025-05-09 10:52:01 -04:00
Minojhini Valaiyapathi
8bf64643ca CASH-535 - Moved saving the vuex code functionality from order helper to quote page for cashPriceSubTotal. 2025-05-09 10:48:09 -04:00
hiteshkumar87
565c122a31
Merge branch 'release/2025.05.22' into feature/Digital/CASH-502 2025-05-09 16:49:43 +05:30
Chloe Herd
ed8aefd675 prettier 2025-05-08 16:54:18 -04:00
maguire-arman
35e804e979 Updates environment config and test grep
Updates the environment configuration to correctly resolve the .env files path.
Also updates the test grep in README to use Alert tag.
2025-05-08 16:31:43 -04:00
Chloe Herd
9f35810aee Merge branch 'release/2025.05.22' into feature/CASH-45 2025-05-08 16:20:09 -04:00
Chloe Herd
ef34d64305 Unit tests 2025-05-08 16:18:21 -04:00
maguire-arman
4047af0e96 Removes the data history SQLite file.
Deletes the ortoni-data-history.sqlite file. This file is no longer needed, potentially due to changes in how test results are handled or stored.
2025-05-08 16:10:10 -04:00
maguire-arman
2bec90f3c6 Adds test dependencies and reporting
Adds Faker.js, Playwright, dotenv-safe, Luxon, and ortoni-report as dev dependencies.

These additions enhance testing capabilities and provide tools for data generation, end-to-end testing, environment variable management, date/time manipulation, and report generation.
2025-05-08 15:49:05 -04:00
maguire-arman
a2ca9134d1 Initializes Playwright test framework
Sets up the core infrastructure for Playwright-based automated testing, including:
- Docker support for consistent environments
- Azure Pipelines configuration for CI/CD
- Page Object Model structure for maintainable tests
- Test data, validation, and rule engine implementation
- Test configuration for alerts and other scenarios
2025-05-08 15:45:05 -04:00
hiteshkumar87
5dcd3e5847
Merge pull request #2497 from Safelite/feature/Digital/CASH-602
CASH-602
2025-05-08 23:16:58 +05:30
hiteshkumar87
8136dfa5ae
Merge pull request #2496 from Safelite/rls-merge-2025.05.08-to-develop
Rls merge 2025.05.08 to develop
2025-05-08 23:16:33 +05:30
hiteshkumar87
8ddc94a885 CASH-602
This is the edge case when we have only inshop service and change the zip for another inshop only services. appointment-type-question is not triggering because no changes were made to the serviceability-details that is causing Inshop service type to get auto select.
2025-05-08 21:41:35 +05:30
hiteshkumar87
b8a7c6a08e
Merge branch 'develop' into rls-merge-2025.05.08-to-develop 2025-05-08 21:25:07 +05:30
hiteshkumar87
189100c4ab
Merge pull request #2494 from Safelite/rls-merge-2025.05.08-to-2025.05.22
Rls merge 2025.05.08 to 2025.05.22
2025-05-08 21:18:11 +05:30
hiteshkumar87
b84048504b
Merge branch 'release/2025.05.22' into rls-merge-2025.05.08-to-2025.05.22 2025-05-08 21:07:16 +05:30
Matt Caimi
b78369c292
Merge pull request #2495 from Safelite/feature/CASH-376
CASH-376 disable forward nav button when modal is open
2025-05-08 11:37:02 -04:00
Matt Caimi
a93f0ad40e
Merge branch 'release/2025.05.22' into feature/CASH-376 2025-05-08 11:31:45 -04:00
hiteshkumar87
ffbc156327
Merge branch 'release/2025.05.22' into rls-merge-2025.05.08-to-2025.05.22 2025-05-08 21:01:44 +05:30
Matt Caimi
afd3c2ff92
Merge pull request #2493 from Safelite/feature/Digital/CASH-593
CASH-593 pass mobile provider number to MSR fees check
2025-05-08 11:31:31 -04:00
Matt Caimi
69543c0cd3 CASH-376 disable forward nav button when modal is open 2025-05-08 11:24:24 -04:00
hiteshkumar87
ff6a1b0b80
Merge branch 'release/2025.05.22' into rls-merge-2025.05.08-to-2025.05.22 2025-05-08 20:46:22 +05:30
Matt Caimi
b564f25786 CASH-593 pass mobile provider number to MSR fees check 2025-05-08 09:24:08 -04:00
mvalaiyapathi
ad542a5538
Merge pull request #2492 from Safelite/feature/CASH-535
CASH-535 - updated 'cashSubTotal' to be 'cashPriceSubTotal' and to ma…
2025-05-07 13:14:22 -04:00
mvalaiyapathi
e09e490fe5
Merge branch 'release/2025.05.22' into feature/CASH-535 2025-05-07 13:06:29 -04:00
Minojhini Valaiyapathi
5aacb6ec2a CASH-535 - updated 'cashSubTotal' to be 'cashPriceSubTotal' and to match the logic of 'priceSubTotal' 2025-05-07 12:57:30 -04:00
Chloe Herd
572f8de5bb Unplug Legacy Router 2025-05-07 11:44:55 -04:00
Matt Caimi
78e7774261
Merge pull request #2491 from Safelite/feature/CASH-376
CASH-376 fix for error message appearing when address modal is open
2025-05-07 10:26:13 -04:00