mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
59d4398646
* Remove redundant Playwright specs * Increase tolerance in Playwright * Wait for profile pictures to resolve * Ensure scene is loaded before proceeding * Always wait for loaders to disappear * Disable Gravatars in snapshots * Don't wait for loaders in more stories with loaders * Improve resiliency of batch export story * Fix one more loading story * Unskip Playwright tests * Improve inconsistencies * Upgrade Playwright from 1.29.2 to 1.37.1 * Wait for images to load * Unify code editors * Properly wait for images to load * Go back to Playwright 1.29.2 * Wait for loader selector in LemonTable stories * Update UI snapshots for `chromium` (1) * Update UI snapshots for `chromium` (2) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
21 lines
494 B
Docker
21 lines
494 B
Docker
#
|
|
# This Dockerfile is used for locally running Playwright in a Linux environment.
|
|
# We do this to ensure our reference images for visual regression tests are the same during development and in CI.
|
|
#
|
|
|
|
FROM mcr.microsoft.com/playwright:v1.29.2
|
|
|
|
WORKDIR /work
|
|
|
|
RUN npm install -g pnpm
|
|
|
|
COPY package.json pnpm-lock.yaml ./
|
|
|
|
ENV CYPRESS_INSTALL_BINARY=0
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
COPY playwright.config.ts webpack.config.js babel.config.js tsconfig.json ./
|
|
|
|
COPY .storybook/ .storybook/
|