From 6a540c7b25fb69c8652ba94aff7b9d74ea693484 Mon Sep 17 00:00:00 2001 From: Ekaterina Zykova Date: Fri, 10 Nov 2023 13:26:02 +0100 Subject: [PATCH] add docker name selenoid --- app/selenium_app.py | 2 +- docker-compose-rc.yaml | 1 + docker-compose-stable.yaml | 1 + docker-compose.dev.yaml | 1 + docker-compose.remote_server.yaml | 1 + docker-compose.remote_server_dev.yaml | 1 + docker-compose.yaml | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/selenium_app.py b/app/selenium_app.py index ecfba475..2a4274e5 100644 --- a/app/selenium_app.py +++ b/app/selenium_app.py @@ -23,7 +23,7 @@ def get_element_id_to_is_displayed_mapping(page_content_str): } driver = webdriver.Remote( - command_executor="http://jdi-qasp-ml-selenoid-1:4444/wd/hub", + command_executor="http://jdi-qasp-ml-selenoid:4444/wd/hub", desired_capabilities=capabilities, options=chrome_options) driver.execute_script("document.body.insertAdjacentHTML('beforeend', arguments[0]);", dom) diff --git a/docker-compose-rc.yaml b/docker-compose-rc.yaml index 454dac30..388200c4 100644 --- a/docker-compose-rc.yaml +++ b/docker-compose-rc.yaml @@ -20,6 +20,7 @@ services: driver: none selenoid: + container_name: "jdi-qasp-ml-selenoid" image: "aerokube/selenoid:latest" ports: - "4445:4444" diff --git a/docker-compose-stable.yaml b/docker-compose-stable.yaml index 0ff29236..3091b494 100644 --- a/docker-compose-stable.yaml +++ b/docker-compose-stable.yaml @@ -18,6 +18,7 @@ services: driver: none selenoid: + container_name: "jdi-qasp-ml-selenoid" image: "aerokube/selenoid:latest" ports: - "4445:4444" diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index 4f5283fe..725a3553 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -22,6 +22,7 @@ services: driver: none selenoid: + container_name: "jdi-qasp-ml-selenoid" image: "aerokube/selenoid:latest" ports: - "4445:4444" diff --git a/docker-compose.remote_server.yaml b/docker-compose.remote_server.yaml index f5aec5d6..b30dfc15 100644 --- a/docker-compose.remote_server.yaml +++ b/docker-compose.remote_server.yaml @@ -24,6 +24,7 @@ services: driver: none selenoid: + container_name: "jdi-qasp-ml-selenoid" image: "aerokube/selenoid:latest" ports: - "4445:4444" diff --git a/docker-compose.remote_server_dev.yaml b/docker-compose.remote_server_dev.yaml index 824bcff0..f91fd7ea 100644 --- a/docker-compose.remote_server_dev.yaml +++ b/docker-compose.remote_server_dev.yaml @@ -24,6 +24,7 @@ services: driver: none selenoid: + container_name: "jdi-qasp-ml-selenoid" image: "aerokube/selenoid:latest" ports: - "4445:4444" diff --git a/docker-compose.yaml b/docker-compose.yaml index 143a23c2..b73c79a4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -20,6 +20,7 @@ services: driver: none selenoid: + container_name: "jdi-qasp-ml-selenoid" image: "aerokube/selenoid:latest" ports: - "4445:4444"