Commit graph

168 commits

Author SHA1 Message Date
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
Scott Kiener
32c55fd762 Revert "Merge pull request #2405 from Safelite/feature/CASH-480"
This reverts commit b2d0038e45, reversing
changes made to d509215643.
2025-04-30 10:03:16 -04:00
maguire-arman
c25ec11f92 Configures test result output directory
Configures the test result output directory to 'artifacts/test-results'.
This change centralizes test artifacts for easier access and management.
2025-04-08 15:43:50 -04:00
maguire-arman
6f50085aa5 Updates test results directory path
Updates the path for storing test results in the Azure Pipelines configuration.
This ensures that test reports and JUnit results are correctly located
and copied during the automated testing process.
2025-04-08 15:06:52 -04:00
maguire-arman
4aa48a1995 Closes the modal popup
Adds a wait time to ensure the modal popup opens before attempting to close it.
2025-04-08 14:41:45 -04:00
maguire-arman
817f81734d Moves Jira writeback script
Moves the Jira writeback script to a more appropriate location.

Updates the Azure Pipelines configuration to reflect the new path.
2025-04-08 13:46:32 -04:00
maguire-arman
d77f5f314f changed path of jira writeback reporter in pipeline 2025-04-08 13:26:03 -04:00
maguire-arman
9f2607005e Adds installation option with dependencies
Suggests an alternative installation command that includes chromium and its dependencies.
This ensures users have a complete and functional environment for running Playwright tests.
2025-04-08 13:22:31 -04:00
maguire-arman
888c235b27 Updates Dockerfile path in pipeline config
Updates the Azure pipeline configuration to reference the relocated Dockerfile.

This ensures the pipeline correctly identifies and builds the Docker image, preventing build failures.
2025-04-08 13:04:26 -04:00
maguire-arman
6a2f23b87a updated location of dockerfile in pipeline 2025-04-08 12:59:35 -04:00
maguire-arman
2e69f741c0 Updates artifacts folder path
Updates the path to the artifacts folder in the Playwright config.

This ensures that test results are stored in the correct location
within the project structure.
2025-04-08 11:29:47 -04:00
maguire-arman
8a0127156f Handles modal popup on content page
Adds functionality to automatically close a modal popup
that appears on the homepage, ensuring a smoother user
experience.
2025-04-08 11:18:14 -04:00
maguire-arman
b5102ce229 Adds script to run Playwright tests
Adds a script to the `package.json` file for running Playwright tests.

Updates the `.env.dev` file to set the base URL for the QA environment.
2025-04-08 10:56:03 -04:00
maguire-arman
dacacda7a6 Updates session storage key for order number
changed from submittedOrder to submittedState
2025-04-08 10:47:19 -04:00
maguire-arman
0853d55233 Adds Playwright installation instruction
Adds the instruction to install Playwright dependencies.

This ensures that the necessary browser drivers are available for running Playwright tests.
2025-04-08 09:49:44 -04:00
maguire-arman
d8c934fd6c Normalizes environment variable files
Updates .env files to use a consistent comment style for base URLs.

This change improves readability and maintainability of the
environment configuration files.
2025-04-08 09:49:31 -04:00
maguire-arman
07fe97165e Loads env vars only when not in CI
Ensures environment variables are loaded from `.env` files only when not running in a CI environment.

This prevents overwriting variables already present in the CI environment.

Adds an example env file for local development.
2025-04-08 09:26:27 -04:00
maguire-arman
404dda6556 Adds Playwright test framework for FMG
Initial commit of the Playwright test framework, including:
- Configuration files for Playwright, Docker, and Sauce Labs
- Test case structure and page object models
- CI/CD pipeline configuration
- Utilities and business logic implementations

This framework will be used for end-to-end testing of the FMG application.
2025-04-07 15:40:31 -04:00