Files
pw/config/jobs/templates/qa-selenium-tests.yaml

49 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
- job:
name: qa-selenium-tests
description: "Selenium/Selenide тесты (homework_4) с выбором браузера."
project-type: pipeline
concurrent: true
sandbox: true
properties:
- build-discarder:
num-to-keep: 50
parameters:
- string:
name: QA_REPO_URL
default: https://git.kovbasa.ru/otus-autotests/homework_4.git
description: "Git URL репозитория с Selenium/API тестами"
- string:
name: QA_REPO_REF
default: master
description: "Git branch/tag/commit для checkout"
- string:
name: ALLURE_ADAPTER_VERSION
default: 2.29.1
description: "Версия allure-junit5 адаптера"
- choice:
name: BROWSER
choices:
- chrome
- firefox
description: "Браузер для запуска UI-тестов"
- string:
name: BASE_URL
default: https://otus.ru
description: "Базовый URL тестируемого сайта"
- string:
name: EXECUTION_MODE
default: selenoid
description: "Режим запуска (local|selenoid)"
- string:
name: SELENOID_URL
default: http://host.docker.internal:4444/wd/hub
description: "URL Selenoid (используется при EXECUTION_MODE=selenoid)"
- choice:
name: HEADLESS
choices:
- "false"
- "true"
description: "Headless режим"
dsl: !include-raw-verbatim: ../scripts/qa-selenium-tests.groovy