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.
Updates the Playwright Dockerfile to streamline the build process.
This change improves the Dockerfile by:
- Using `npm ci` for faster and more reliable dependency installation
- Copying the .npmrc file before copying the code.
- Installing Playwright browsers within the playwright-tests directory.
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.
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
Renamed from playwright-tests/Dockerfile.playwright (Browse further)