diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-22 14:41:19 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-22 14:44:54 +0300 |
| commit | 0a3bec7201b12e36ba97df56904722af7a7a80bc (patch) | |
| tree | cdf22b599e27d24bdc7ef6168030f118d9e25d5c /tests/integration | |
| parent | 91ed6e6f6250a4fb5269d7c6315c15536d940abc (diff) | |
switch selenium to services
Diffstat (limited to 'tests/integration')
| -rw-r--r-- | tests/integration/selenium_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/selenium_test.py b/tests/integration/selenium_test.py index de25afad5..2bb0cae54 100644 --- a/tests/integration/selenium_test.py +++ b/tests/integration/selenium_test.py @@ -13,10 +13,10 @@ class SeleniumTest(unittest.TestCase): def setUp(self): CI_COMMIT_SHORT_SHA = os.getenv("CI_COMMIT_SHORT_SHA") SELENIUM_GRID_ENDPOINT = os.getenv("SELENIUM_GRID_ENDPOINT") - K8S_NAMESPACE = os.getenv("K8S_NAMESPACE") + APP_URL = os.getenv("APP_URL") self.driver = webdriver.Remote(command_executor=SELENIUM_GRID_ENDPOINT, options=webdriver.ChromeOptions()) - self.base_url = f"http://tt-rss-{CI_COMMIT_SHORT_SHA}-app.{K8S_NAMESPACE}.svc.cluster.local/tt-rss" + self.base_url = APP_URL self.driver.implicitly_wait(5) |