DigitalConsumer.FixMyGlass/playwright-tests/Dockerfile.playwright
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

21 lines
No EOL
394 B
Docker

FROM node:20
FROM mcr.microsoft.com/playwright:v1.48.0-noble
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Install Playwright browsers
RUN npx playwright install chromium --with-deps
# Install jq
RUN apt-get install -y jq
# Copy the rest of the application code
COPY . .