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 )