summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-22 11:19:56 +0300
committerAndrew Dolgov <[email protected]>2023-10-22 11:19:56 +0300
commit382d01e8db053023d4e461e535d6cc49c7ecc76f (patch)
tree07d23a387ebebae837c1e6eec129653525d8897b
parent487635ca28952e8cc4f5be26d34be198ff0348ea (diff)
update test filename
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--tests/selenium/test.py (renamed from tests/selenium.py)2
2 files changed, 2 insertions, 4 deletions
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
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
)