Files
pw/config/jobs/templates/qa-hw6-playwright-tests.yaml
T

36 lines
971 B
YAML

---
- job:
name: qa-playwright-tests
description: "Playwright UI тесты."
project-type: pipeline
concurrent: true
sandbox: true
properties:
- build-discarder:
num-to-keep: 50
parameters:
- string:
name: PLAYWRIGHT_REPO_URL
default: https://git.kovbasa.ru/otus-autotests/homework_6.git
- string:
name: PLAYWRIGHT_REPO_REF
default: master
- choice:
name: PLAYWRIGHT_BROWSER
choices:
- chromium
- firefox
- webkit
- choice:
name: PLAYWRIGHT_HEADLESS
choices:
- "true"
- "false"
- string:
name: PLAYWRIGHT_BASE_URL
default: https://otus.ru
- string:
name: PLAYWRIGHT_DOCKER_IMAGE
default: mcr.microsoft.com/playwright/java:v1.58.0-jammy
dsl: !include-raw-verbatim: ../scripts/qa-hw6-playwright-tests.groovy