From 382d01e8db053023d4e461e535d6cc49c7ecc76f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 22 Oct 2023 11:19:56 +0300 Subject: [PATCH] update test filename --- .gitlab-ci.yml | 4 +--- tests/{selenium.py => selenium/test.py} | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) rename tests/{selenium.py => selenium/test.py} (74%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 314791358..0c9bd93a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,9 +66,7 @@ integration-test: script: - apk add py3-pip - pip3 install selenium - - python3 tests/selenium.py - - sleep 5 - - curl -fs http://tt-rss-${CI_COMMIT_SHORT_SHA}-app/tt-rss/index.php | grep -q Login + - python3 tests/selenium/test.py rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH diff --git a/tests/selenium.py b/tests/selenium/test.py similarity index 74% rename from tests/selenium.py rename to tests/selenium/test.py index 3b101cd40..b1576cac1 100644 --- a/tests/selenium.py +++ b/tests/selenium/test.py @@ -5,7 +5,7 @@ from selenium import webdriver options = webdriver.ChromeOptions() driver = webdriver.Remote( - command_executor='http://selenium-hub.selenium-grid.svc.cluster.local/wd/hub', + command_executor='http://selenium-hub.selenium-grid.svc.cluster.local:4444/wd/hub', options=options )