pipeline: e2e-tests: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npx playwright install --with-deps firefox - npx playwright install --with-deps webkit - npm run test:ci when: event: - push - pull_request branch: - main - develop e2e-tests-smoke: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:smoke when: event: - push - pull_request e2e-tests-regression: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:regression when: event: - push branch: - main e2e-tests-performance: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:performance when: event: - push branch: - main e2e-tests-responsive: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:responsive when: event: - push branch: - main e2e-tests-visual: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:visual when: event: - push branch: - main e2e-tests-a11y: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:a11y when: event: - push branch: - main e2e-tests-report: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium - npm run test:report when: event: - push branch: - main e2e-tests-all-browsers: image: node:18-alpine environment: NODE_ENV: test CI: true commands: - cd e2e - npm ci - npx playwright install --with-deps chromium firefox webkit - npm run test:all-browsers when: event: - push branch: - main - develop