summaryrefslogtreecommitdiff
path: root/tests/selenium/test.py
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-22 13:35:01 +0300
committerAndrew Dolgov <[email protected]>2023-10-22 13:35:01 +0300
commitce3eb320768e8f960708ca8aab28d304bed33f50 (patch)
tree10419845245410f12bfba9cfea508376b4b34e4f /tests/selenium/test.py
parent752c692170a828a4ca6dd6c16070940670da6c8e (diff)
un-mock test, use SELENIUM_IMAGE
Diffstat (limited to 'tests/selenium/test.py')
-rw-r--r--tests/selenium/test.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/selenium/test.py b/tests/selenium/test.py
deleted file mode 100644
index 6280b58b8..000000000
--- a/tests/selenium/test.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python3
-
-import os
-from selenium import webdriver
-
-CI_COMMIT_SHORT_SHA = os.getenv("CI_COMMIT_SHORT_SHA")
-
-if not CI_COMMIT_SHORT_SHA:
- print("CI_COMMIT_SHORT_SHA env var should be defined")
- exit(1)
-
-options = webdriver.ChromeOptions()
-
-driver = webdriver.Remote(
- command_executor='http://selenium-hub.selenium-grid.svc.cluster.local:4444/wd/hub',
- options=options
-)
-
-app_url = f"http://tt-rss-{CI_COMMIT_SHORT_SHA}-app.gitlab-fakecake.svc.cluster.local/tt-rss"
-
-print(f"base url = {app_url}")
-
-driver.get(app_url)
-print(driver.page_source)
-driver.quit()