Commit graph

8696 commits

Author SHA1 Message Date
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
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
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
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
b8a7c6a08e
Merge branch 'develop' into rls-merge-2025.05.08-to-develop 2025-05-08 21:25:07 +05:30
hiteshkumar87
8ef5eb89b4
Merge pull request #2486 from Safelite/feature/Digital/CASH-597
CASH-597
2025-05-06 14:46:53 +05:30
hiteshkumar87
39d1f9f26a CASH-597
Heavy truck service location inshop pagination
2025-05-06 14:32:11 +05:30
Matt Caimi
00edaef136
Merge pull request #2484 from Safelite/rlsmerge/2025.05.08-to-develop
Rlsmerge/2025.05.08 to develop
2025-05-05 12:17:27 -04:00
Matt Caimi
b0a09f8225 Merge remote-tracking branch 'origin/release/2025.05.08' into rlsmerge/2025.05.08-to-develop 2025-05-05 12:09:13 -04:00
Matt Caimi
341b712cf2
Merge pull request #2483 from Safelite/feature/hide-webchat
Hide webchat for 05.08
2025-05-05 12:08:18 -04:00
Matt Caimi
ff1977b81c
Merge branch 'release/2025.05.08' into feature/hide-webchat 2025-05-05 12:00:50 -04:00
Scott Kiener
baae4d647f Hide webchat
bug fix
2025-05-05 11:59:39 -04:00
Matt Caimi
5bdf91117c
Merge pull request #2482 from Safelite/rlsmerge/2025.05.08-to-develop
Rlsmerge/2025.05.08 to develop
2025-05-05 11:07:37 -04:00
Matt Caimi
904f682945 Merge branch 'release/2025.05.08' into rlsmerge/2025.05.08-to-develop 2025-05-05 11:00:31 -04:00
Matt Caimi
6f656d0029
Merge pull request #2481 from Safelite/feature/CASH-376
Feature/cash 376
2025-05-05 10:25:37 -04:00
Matt Caimi
35ccd1ed09 CASH-376 unit test mjs file transform fix 2025-05-05 10:15:50 -04:00
Matt Caimi
df1d98e3b5 CASH-376 form validation fix 2025-05-05 10:09:16 -04:00
Matt Caimi
aefaa3317f CASH-376 unit test fix 2025-05-05 10:08:20 -04:00
Matt Caimi
df892ab32a CASH-376 added mock for isMobileAddressComplete 2025-05-05 10:07:46 -04:00
Matt Caimi
0e3bdd8b60 CASH-376 removing transition prevents rendering CTA on top of modal 2025-05-05 10:05:56 -04:00
Matt Caimi
323dbe8f77 CASH-376 open mobile address modal when mobile address is incomplete 2025-05-05 10:05:21 -04:00
scottkiener-at-safelite
d9d66028c2
Merge pull request #2480 from Safelite/feature/hide-webchat
Hide webchat for 05.08
2025-05-05 09:16:15 -04:00
Scott Kiener
440ff79688 Hide webchat for 05.08 2025-05-05 08:53:31 -04:00
AdamCaouetteSafelite
ce23821245
Merge pull request #2479 from Safelite/feature/bugfix/CASH-556
Feature/bugfix/cash 556
2025-05-02 13:27:13 -04:00
AdamCaouetteSafelite
34f8182773
Merge branch 'release/2025.05.08' into feature/bugfix/CASH-556 2025-05-02 13:21:23 -04:00
Adam Caouette
a7cc70c411 CASH-556: more adjustments 2025-05-02 13:04:16 -04:00
Chris
18b40cee9f
Merge pull request #2478 from Safelite/feature/CASH-187
CASH-187: Less padding for progress bar and header
2025-05-02 08:18:20 -04:00
Adam Caouette
017f1903ec CASH-556: waitlist adjustments 2025-05-01 17:29:09 -04:00
Adam Caouette
caa4243bb1 CASH-556: fix justification 2025-05-01 16:44:41 -04:00
Chris Redelinghuys
8a56c740a3 CASH-187: Less padding for progress bar and header 2025-05-01 16:12:26 -04:00
scottkiener-at-safelite
c6651fd690
Merge pull request #2477 from Safelite/feature/resolve-jest-issue
Jest issues resolution
2025-05-01 14:27:37 -04:00
Scott Kiener
aa496a1462 Merge branch 'release/2025.05.08' into feature/resolve-jest-issue 2025-05-01 14:22:02 -04:00
Scott Kiener
e84eed8394 unit test fix 2025-05-01 14:21:49 -04:00
scottkiener-at-safelite
a2777668ea
Merge pull request #2475 from Safelite/feature/resolve-jest-issue
Jest issues resolution
2025-05-01 13:50:50 -04:00
scottkiener-at-safelite
48f46d6774
Merge branch 'release/2025.05.08' into feature/resolve-jest-issue 2025-05-01 13:46:11 -04:00
Scott Kiener
b48e17b6ed jest-issue | fix unit tests 2025-05-01 13:45:49 -04:00
hiteshkumar87
19f5b1eeb9
Merge pull request #2476 from Safelite/feature/Digital/CASH-433-New
CASH-433
2025-05-01 23:09:40 +05:30
hiteshkumar87
4d8c84013e CASH-433
Hide drop off for heavy truck
2025-05-01 23:02:55 +05:30
Scott Kiener
f4845d4afe Jest Changes 2025-05-01 10:59:42 -04:00
mvalaiyapathi
460aa848f9
Merge pull request #2474 from Safelite/feature/CASH-353
CASH-353 - Made sure that we are not clearing out the zip code for he…
2025-05-01 10:10:22 -04:00
mvalaiyapathi
9465c0df94
Merge branch 'release/2025.05.08' into feature/CASH-353 2025-05-01 10:04:49 -04:00