Add the configuration for Drone CI/CD to run E2E tests.
continuous-integration/drone/push Build is failing Details

dev
KKlochko 8 months ago
parent 38e1e03b26
commit 8a3c22dab1

@ -9,6 +9,7 @@ environment:
DATABASE_HOST: postgres
DATABASE_PORT: 5432
SECRET_KEY_BASE: TestSecretKeycRZ1H45gfdAsdf8DIb45df4664mRCruzwVEF68wosddfg324ost
SELENIUM_REMOTE_URL: http://standalone-firefox:4444/wd/hub/
steps:
- name: install dependencies
@ -49,4 +50,6 @@ services:
POSTGRES_DB: link_shortener_dev
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
- name: standalone-firefox
image: selenium/standalone-firefox:129.0

@ -43,5 +43,8 @@ config :wallaby,
otp_app: :link_shortener,
screenshot_on_failure: true,
screenshot_dir: "screenshots",
driver: Wallaby.Selenium
driver: Wallaby.Selenium,
selenium: [
remote_url: System.get_env("SELENIUM_REMOTE_URL", "http://localhost:4444/wd/hub/")
]

Loading…
Cancel
Save